Logging out... But can't get back to GUI without rebooting
ArchThis Forum is for the discussion of Arch Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Well, it's actually slim that I'm using - not gdm. However, regardless, the problem lies within Xorg somewhere. Here are some details of the problem:
I log out of the GUI and, instead of bringing up SLIM again, it leaves me to login at the command prompt:
Fatal Error: no screens found
xinit: giving up
xinit: unable to connect to x server: Connection refused
xinit: Server Error
kris@localhost$ sudo rc.d restart slim
Stopping Simple Login Manager [FAILED] (probably because it is already stopped
Starting Simple Login Mangaer [DONE]
startx then fails again (or sudo rc.d start slim as well) and I get the same errors as listed above.
edit /etc/inittab and comment out the line for runlevel 3 and uncomment the line for runlevel 5
and also uncomment the line to start Slim
x:5:respawn:/usr/bin/slim >& /dev/null
Yep. Tried those too. Just tried them again and had no luck. I typically ignore the /etc/inittab file during setup and just ad slim to the DAEMONS array in /etc/rc.conf. I wonder if this could be a bug in X?
Anyway, I have the runlevel 3 option uncommented (and slim commented out below) in the /etc/inittab file. I also have slim listed as the last to load in the daemons array
If you speak of the daemons array in the /etc/rc.conf file, you cannot use together the inittab file and the rc.conf file to start slim at boot. You need to choose one or the other, but not both of them.
Update: I believe this might be an error with the Nvidia drivers. I decided to play with Archbang the other day and had the exact same issue. Even now, with stock Arch on here and no login manager, it still happens. Runlevel 3 is the only thing not commented in the /etc/inittab file and startx is my command for starting x. When I logout, I always have to reboot before I can log back into a GUI environment.