Aureliano Vismundo <xrs@mail36.net> (2014-08-16):
> I was connecting my monitor with my laptop to do some writing stuff.
> This is normally fine, well it fails sometimes but then I restart
> my computer. This time
> it failed again and I thought, good time to update debian. So I did.
> libc6-dev, linux-headers, and linux-image were updated. After that
> I restarted and when it came to call "startx" the X server did exit
> gracefully with no error. And here I am with no GUI.
>
> I first checked /var/log/Xorg.0.log but nothing special, no errors
> and no important warnings in my eyes. Then I used strace -ff which
> gave me interesting information about the X server, e.g.:
> * setresuid(-1, 0, -1) = -1 EPERM (Operation not permitted)
> * rename("/var/log/Xorg.0.log", "/var/log/Xorg.0.log.old") = -1 EACCES
> (Permission denied)
> * "Fatal Server error" and "Cannot move old log file /var/log/Xorg.
> 0.log to /var/log/Xorg.0.log.old"
Running something under strace disables the setuid bit.
It would be nice to see stdout/stderr/X log when starting your session
as a regular user. If X exits gracefully, that might just be your
window/session manager returning, leading to X's graceful exit.
Mraw,
KiBi.
Attachment:
signature.asc
Description: Digital signature