Re: X11 server startup BEFORE login
Re: X11 server startup BEFORE login
- Subject: Re: X11 server startup BEFORE login
- From: Jerry Talkington <email@hidden>
- Date: Tue, 19 Aug 2003 10:15:32 -0700
- Mail-followup-to: email@hidden
On Tue, Aug 19, 2003 at 08:24:18AM -0400, Daniel Baumgarten wrote:
> Is it possible to get /usr/X11R6/bin/X to run before any user logs in,
> possibly by making it a startup item? I've tried everything I can think
Why?
> of, but I consistently get the error message that, depending on how I'm
> trying to start it up, looks something like this (this specific one
> comes from logging in via SSH and typing /usr/X11R6/bin/X into the
> command prompt):
>
> kCGErrorIllegalArgument : initCGDisplayState: cannot map display
> interlocks.
> kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
> xp_init: error: not initialized
> can't initialize window system
You're getting that because you are not root. root owns the display
until someone logs in, and when they do, they get a generic document
icon labeled X, which they can promptly kill.
Again, though, why would want to do this? Running the X server doesn't
do anything for you unless you sitting directly in front of the machine,
so it doesn't make any sense to run X without being logged in. I think
that whatever you are trying to do has a more elegant solution, so you
should tell us what you are trying to accomplish to get a meaningful
answer.
--
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.