LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   unable to startx as non-root user (https://www.linuxquestions.org/questions/slackware-14/unable-to-startx-as-non-root-user-255957/)

raska 11-17-2004 08:32 AM

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!!

-X- 11-17-2004 09:53 AM

Try deleting ~/ICEauthority, then startx. If that doesn't work, show what you have in ~/.xinitrc.

Navaboy 11-17-2004 10:55 AM

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.

jong357 11-17-2004 11:53 AM

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. ;)

raska 11-18-2004 07:06 PM

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.

malo_umoran 11-19-2004 04:43 AM

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.

raska 11-22-2004 06:15 PM

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.

timwoolsey 11-22-2004 06:41 PM

i fixed this problem by running xorgconfig again....


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