LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: Arch
Posts: 1,374

Rep: Reputation: 47
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 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