Some more research shows multiple ways to set up the Xserver lines
Gentoo: :0 local /usr/X11R6/bin/X Others: :0 local /usr/X11R6/bin/X vt7 More: :0 local /usr/X11R6/bin/X vt7 :0 and again :0 local /usr/X11R6/bin/X :0
What is correct. Supposedly all I have to do is set them up that way. However, it doesn't work and I notice this in Xorg.0.log. Perhaps a permissions problem - or maybe Pam involved! Any ideas.
AUDIT: Sat Feb 26 17:02:18 2005: 9224 X: client 9 rejected from local host Auth name: MIT-MAGIC-COOKIE-1 ID: -1 AUDIT: Sat Feb 26 17:02:33 2005: 9224 X: client 9 rejected from local host Auth name: MIT-MAGIC-COOKIE-1 ID: -1 AUDIT: Sat Feb 26 17:02:48 2005: 9224 X: client 9 rejected from local host Auth name: MIT-MAGIC-COOKIE-1 ID: -1
On Fri, 25 Feb 2005, Brett I. Holcomb wrote:
If I leave the :1 line uncommented and restart the machine I get the grey screen with no login box. I comment the line, then ctl-bkspc and I get a login box.
Also, my Xserver file has no space between the : and the number 0 or 1.
On Fri, 25 Feb 2005, Brett I. Holcomb wrote:
I start up using xdm and get an login window on vt7 from which I can login. However, if I got to another console (say vt5) and run startx I am told that display 0 is in use - well of course it is! I have /etc/X11/xdm/Xservers setup as this:
: 0 local /usr/X11R6/bin/X : 1 local /usr/X11R6/bin/X
I've checked the bug about pam_env.conf messing up things so I commented out the display and Xauth lines but still does not work.
What is the proper way to stop and restart X when running in this mode? I tried /etc/init.d/xdm restart and that simply gives me a grey X screen with a cursor instead of a login box.
Thanks.
--
Brett I. Holcomb [EMAIL PROTECTED] Registered Linux User #188143 Remove R777 to email -- [email protected] mailing list
