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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.