LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xorg doesn't start with unprivileged user (https://www.linuxquestions.org/questions/slackware-14/xorg-doesnt-start-with-unprivileged-user-4175498888/)

freakTux 03-20-2014 02:20 PM

Xorg doesn't start with unprivileged user
 
Hi all...a strange thing is happened...I usual watch a film from my pc at late night...and I set the:
Code:

shutdown -h +MINUTES
as root to delay the shutdown i case I fall asleep.;)..

but this morning when I startup my pc I noticed that when I do startx as unprivileged user X doesn't start (black screen), and if I kill it with ctrl+alt+backspace I can see in the terminal an error of "protocol not specified" when it try to load glx and nvidia driver...When I startx with root X start normally...I can't explain this...please help me...

smallpond 03-20-2014 04:16 PM

I doubt the shutdown had anything to do with it. More likely a change to your environment like $PATH or .bashrc. Did you change anything in your profile? How about "which startx"?

John VV 03-20-2014 05:18 PM

what dose the " xorg.0.log "and " boot.log" have to say about this
there will be an error listed

j_v 03-20-2014 09:13 PM

Also, what are perms for /usr/bin/Xorg? It should be suid root, so the output of
Code:

ls -l /usr/bin/Xorg
Should be something like
Quote:

-rwsr-xr-x root root 2104048 Oct 9 21:28 /usr/bin/Xorg
That is the permissions on my machine (default from install).

John VV's pointer to check the Xorg logs will probably be more fruitful, but I would check this also if it were my system.

John VV 03-20-2014 09:26 PM

the logs are GREAT
they make FUN reading

so read them and learn what is NORMAL and what is NOT


All times are GMT -5. The time now is 03:47 PM.