LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2014, 02:20 PM   #1
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Rep: Reputation: Disabled
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...
 
Old 03-20-2014, 04:16 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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"?
 
Old 03-20-2014, 05:18 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what dose the " xorg.0.log "and " boot.log" have to say about this
there will be an error listed
 
Old 03-20-2014, 09:13 PM   #4
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
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.
 
Old 03-20-2014, 09:26 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the logs are GREAT
they make FUN reading

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN as an unprivileged user keungz Linux - Software 1 06-27-2013 03:48 PM
Unprivileged user uid gabsik Linux - Security 3 02-19-2009 08:25 AM
change to unprivileged user without sudo? german Linux - Security 2 01-28-2005 01:32 PM
VNC server as unprivileged user CartersAdvocate Slackware 1 12-18-2004 10:51 PM
Start applications automatically on an unprivileged user? DeathGoth Linux - General 3 10-27-2004 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration