xorg-server as non-root

Ryan Schmidt ryandesign at macports.org
Sun Nov 24 16:02:44 PST 2013


On Nov 24, 2013, at 16:12, Gino Van Hauwermeiren wrote:

> I installed macports locally as non-root. (when I configured it I gave ./configure these options : --with-applications-dir=<my_app_dir> --with-no-root-privileges --with-shared-directory --with-install-user=<my username>
> I can install most other ports without problem, not using sudo. SO this seems to be ok.
> 
> But when I install xorg-server I get this error:
> MacPorts requires root privileges for this action
> Error: Failed to install xinit
> 
> ( I work on Mavericks OS X 10.9)
> 
> My questions:
> 1) can xinit (and thus xorg-server) be installed as non-root? If yes, what do I do wrong? Is there somewhere more documentation about this?

Doesn’t look like you’re doing anything wrong.

The xinit portfile explicitly requests to be installed as root (it contains the line “install.asroot yes”).

> 2) if this can't be done, can I simply install XQuartz instead of xorg-server?

Yes.

> And will all apps from macports needing X11 server also work? (this apps having a dependency on xorg-server)

No apps depend on xorg-server. xorg-server only provides X11.app, which would only be used by you, not by another port.



More information about the macports-users mailing list