Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I run Debian Squeeze GNOME for some time now. But recently it stopped booting.
I still can login into single user mode as root and see logs, but when I login as usual or run startx from single user, I have black screen with round cursor (like "waiting" one) and nothing happens after that.
I checked logs and the most interesting from my point of view is in /var/log/gdm3 directory. It ends up with message
Code:
The application 'polkit-gnome-authentication-agent-1' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
What can cause this problem? What could be the cure?
If it helps, some other findings:
when systems hangs, I still can switch to parallel tty and try to login as my user in text mode. Response is:
Code:
cannot cd to /home/darkduck
and I am back to login inviation.
I don't have /etc/X11/xorg.conf file, but I have /usr/share/X11/xorg.conf.d which lists evdev, wacom and synaptic files. I only have synaptic in my laptop.
When I follow recommendations from Debian wiki page, create new .conf file and try to start X with this conf, I get absolutely black screen, and only Ctrl-C or Ctrl-Alt-F1 help.
Just to make sure: Did you use the same username in all cases? Was it darkduck? Can you login as root from the other virtual console? What's the output of df in all the cases (single user, before entering "startx", when logged in as root while X login is pending?)
Cheers,
Peter
Last edited by /usr/local; 11-07-2011 at 10:18 AM.
Reason: Undo last edit
"darkduck" is my username in the system.
I think I can login as root from different tty's at the same time. But not as darkduck.
I am not at that laptop at the moment, but I am sure partition has enough space. I'd say about 25% of it is in use.
So if you can login as root, you could check, wether /home/darkduck is really gone. If /home is a separate filesystem, you will see by "df" whether it's still mounted. Therefore I was asking for "df". Could use "mount" as well, but my eyes prefer the output of "df".
Repo is right here - if you don't have permissions to access contents of /home, the ownerschip of /home/darkduck does not matter.
On the other hand, as your system worked before, a change of the permmissions is quite unlikely.
Can you check the messages in /var/log/messages /var/log/syslog and /var/log/auth.log (as far as they do exist on your system) that are written while you where trying to login as "darkduck"?
As it seems your X Server died, a look into /var/log/Xorg.0.log (or similar) would be helpfull as well.
Repo is right here - if you don't have permissions to access contents of /home, the ownerschip of /home/darkduck does not matter.
On the other hand, as your system worked before, a change of the permmissions is quite unlikely.
Can you check the messages in /var/log/messages /var/log/syslog and /var/log/auth.log (as far as they do exist on your system) that are written while you where trying to login as "darkduck"?
As it seems your X Server died, a look into /var/log/Xorg.0.log (or similar) would be helpfull as well.
thanks for the logs. They confirm indeed, that you do have a permission problem ...
As Permissions usually don't change by themselves ... did I get that right, that the system did work before? Do you remember what was changed before it stopped working?
Do you have any security enhancements running? From the logs, it looks like your kernel is SELinux enabled, but you didn't activate it.
Could you please provide the output of
mount
ls -ld / /home /home/darkduck
What happens if you do a login as root and su to darkduck afterwards? Can you please provide any (error) messages that show up, when you do a
Quick reply: the last thing I'd done before the problem occured was installation of Pardus Corporate 2 on separate partition. I guess it broke smth, because Debian is not the only victim, but also a Mageia on another partition. But error looks slightly different there.
I'll do the experiments with su later and reply separately.
thanks for the logs. They confirm indeed, that you do have a permission problem ...
As Permissions usually don't change by themselves ... did I get that right, that the system did work before? Do you remember what was changed before it stopped working?
Do you have any security enhancements running? From the logs, it looks like your kernel is SELinux enabled, but you didn't activate it.
Could you please provide the output of
mount
ls -ld / /home /home/darkduck
ls -ls / /home /home/darkduck returns
drwxrwx--- 26 root disk 4096 Oct 30 07:44 /
drwxr-xr-x 3 root root 4096 Sep 24 22:47 /home
drwxr-xr-x 40 darkduck darkduck 4096 Nov 6 00:11 /home/darkduck
mount returns
/dev/sda8 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda6 on /mageia type ext3 (rw)
/dev/sda7 on /kubuntu type ext3 (rw)
/dev/sda1 on /windows type fuseblk (rw,allow_other,blksize=4096)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
How did you figure out that this is permissions issue? Would appreciate if you show me the place where you found it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.