LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-17-2004, 08:32 AM   #1
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
unable to startx as non-root user


Hello there

I have been using Slackware 10 for a few months on my IBM a21m ThinkPad and everything was running pretty smooth, until today when I got this error when I typed 'startx' as normally with my account (non-root):


Fatal server error:
Cannot move old log file ("/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"

Please consult the X.org Fundation support at wiki.X.org for help


giving up
xinit: No such file or directory (errno 2): unable to connect to X Server
xinit: No such process (errno 3): unexpected signal 2.



I switched to another console, logged in as root, searched for the path and the files but everything looked fine. I tried to startx and everything went fine as root. I closed the root session, and tried again as an user but I got the same error. I looked for the indicated URL but the server is down.

So I don't know what to do to fix this problem. Help please!!
 
Old 11-17-2004, 09:53 AM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Try deleting ~/ICEauthority, then startx. If that doesn't work, show what you have in ~/.xinitrc.
 
Old 11-17-2004, 10:55 AM   #3
Navaboy
Member
 
Registered: Sep 2003
Location: Southern California
Distribution: Slackware -current
Posts: 90

Rep: Reputation: 15
I had this same problem since but it had to do with my .DCOPserver
in my user dirtectory for some reason it was in there.
could use startx as normal. but i could see my user directory under root.
at the time i didnt ask for i juust added another user and copied all my werk to the new user
directory and deleted the old directory.But im sure theres another way. This might not be your Problem tho.
 
Old 11-17-2004, 11:53 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I would try doing something simple like deleting /var/log/Xorg.0.log..... It says it can't rename it for some wierd reason so I'd take that factor out of the equation and see what it does from there... It can't complain of not being able to rename it if it's not even there to begin with. Not sure why you would have a permission problem in /var/log...... Thats what it sounds like anyway.... I normally don't get to the root of problems like this and fix them correctly. I normally don't even see this type of stuff to begin with actually. If that works, I would just put this into /etc/rc.d/rc.local:

rm -rf /var/log/Xorg.0.log

Thats just me tho....

That or chmod it to 775 in rc.local..... Something.

Last edited by jong357; 11-17-2004 at 11:55 AM.
 
Old 11-18-2004, 07:06 PM   #5
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Original Poster
Rep: Reputation: 31
well, unexpectedly nothing worked...

although with the root account everything is fine, I think I'm going to reinstall everything, isn't problem for me. I'm used to format my windows partitions often...


Thanks to everyone, anyway, I appreciate it.
 
Old 11-19-2004, 04:43 AM   #6
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
to format? because of this small problem?

this is not windows, you don't format the disk when you have some problems, but you solve them .

obviously, there are some problems with permissions. maybe the easiest way to solve it, is to "removepkg" all x11 packages and installpkg all of them again. that should solve to problems.

M.
 
Old 11-22-2004, 06:15 PM   #7
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Original Poster
Rep: Reputation: 31
well, actually that worked...

I uninstalled everything regarding the X server and reinstalled it from the CD and now it's working normally again...

thanks man.
 
Old 11-22-2004, 06:41 PM   #8
timwoolsey
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: slackware-current
Posts: 5

Rep: Reputation: 0
i fixed this problem by running xorgconfig again....
 
  


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
Root user unable to rm, mv or chmod Zoar Linux - Newbie 3 10-10-2019 03:12 PM
Cannot startx as non-root user paul.nel Linux - General 1 04-07-2005 02:51 PM
Can startx as root, not as User Swampy Debian 4 03-19-2005 05:04 AM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM
Can't startX as user (KDE 3.1)... root is fine Spislander Debian 1 01-01-2004 08:04 PM

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

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

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