LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03: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, 05:16 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 1,773

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
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, 06:18 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

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

Rep: Reputation: 32
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, 10:26 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:48 PM
Unprivileged user uid gabsik Linux - Security 3 02-19-2009 09:25 AM
change to unprivileged user without sudo? german Linux - Security 2 01-28-2005 02:32 PM
VNC server as unprivileged user CartersAdvocate Slackware 1 12-18-2004 11:51 PM
Start applications automatically on an unprivileged user? DeathGoth Linux - General 3 10-27-2004 05:29 AM


All times are GMT -5. The time now is 03:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration