LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-14-2004, 10:03 PM   #1
linuxgamer09483
Member
 
Registered: Feb 2004
Distribution: Slackware 9.1+
Posts: 33

Rep: Reputation: 15
Red face xstart: Cannot move old "/var/log/XFree86.0.log.old"


Hi. After much dorking around, I somehow managed to screw up xfree86. I can startx as root just fine, but as a user:

-------------------------------------------------------------------------------
Fatal server error:
Cannot move old "/var/log/XFree86.0.log.old"


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

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

----------------------------------------------------------------------------------

What could this mean and what can be done?
Thanks.

[I am running slackware-current]
 
Old 02-15-2004, 01:54 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
chmod u+s `which startx`
type that as root (real root, or su -, not su root), if it has an error then type "which startx" and replase `which startx` with whatever the output is (it find the startx file)

explination: x needs to move the log file, but the log directory is inaccessible to normal users for important security reasons, so startx needs to be run with root privilages, the u+s runs it with root privlages as a standard user without screwing security, it is called the sticky bit. that chmod u+s sets it.
 
Old 02-18-2004, 07:52 PM   #3
linuxgamer09483
Member
 
Registered: Feb 2004
Distribution: Slackware 9.1+
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks!
 
  


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
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
/var/log/XFree86.0.log gone!!! OC_eobard Linux - Newbie 13 09-07-2004 11:16 AM
"extension "XFree86-DRI" missing on display" upgrading XFree86 to 4.3.0 on Sarge Moloko Debian 5 03-31-2004 05:06 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM
/var/log/messages contains "localhost" instead of the real hostname allel Linux - Networking 0 07-15-2002 02:49 PM


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

Main Menu
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