LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-14-2004, 08:16 PM   #1
klatu
Member
 
Registered: Nov 2003
Location: Texas
Distribution: Slackware 9.1, Fedora Core 1 & Mandrake 9.2
Posts: 31

Rep: Reputation: 15
XServer only works for ROOT...


I have done searches with all combos that I could think of. I have not found an answer yet so I thought I would post for help.

All worked fine until I upgraded the Kernel to 2.4.25 with swaret. Then all worked except my ATI drivers. I re-installed the drivers and all seemed OK. GLXGEARS was good in root and other users. When I tried to play UT2004demo the computer froze in all but root. I would have to hit the reset or power to reboot. I tried to get permission for other users with UT2004 but I just make things worse. I have deleted the other users and added new users with the same results. Only root can startx.

Here is the error message I get with all but root.


Using authority file /home/j/.Xauthority
Writing authority file /home/j/.Xauthority
Using authority file /home/j/.Xauthority
Writing authority file /home/j/.Xauthority
Fatal server error:
Cannot move old logfile "/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.
startx
logout


Thanks for any help.
 
Old 03-14-2004, 10:21 PM   #2
kdepa
Member
 
Registered: Feb 2004
Posts: 73

Rep: Reputation: 15
Hmm
is it possible that you dont have a .profile file set up in your home directory?
If so, just do the following:

cp /etc/profile .profile

making sure you're in your home folder. If necessary, login/su to root. It fixed my problem with xf86 and root.
 
Old 03-15-2004, 05:12 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
Not sure of that, but I had similar problems with dri driver permissions.
Look at the bottom of your /etc/X11/XF86Config and change to
mode 0777 and uncomment the last three lines.
This should give everybody permission using that driver
Ciao
 
Old 03-15-2004, 07:24 PM   #4
klatu
Member
 
Registered: Nov 2003
Location: Texas
Distribution: Slackware 9.1, Fedora Core 1 & Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for the suggestions.

I tried each and both, but still no go. I stil get the same error with any user but root. I'll keep digging (and checking this thread).

Thanks again.
 
Old 03-15-2004, 09:41 PM   #5
klatu
Member
 
Registered: Nov 2003
Location: Texas
Distribution: Slackware 9.1, Fedora Core 1 & Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Well, I've managed to bugger things up more. Now I just get "-sh startx command not found" with anything but root.

I was trying some thing I found with google. I think it was the chmod command:

chmod 777 /usr/X11R6/bin/init/

but I'm not sure. I've been searching and trying things, but I always try to login after each change but maybe I've been at it a little to long.
 
Old 06-23-2004, 02:07 AM   #6
squid_101
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
As root, try

chmod ug+s `which X`

(`which X` is replaced with the path to X)

This will set the perissions on X to:
-rwsr-sr-x 1 root root 7828 May 29 21:33 /usr/X11R6/bin/X*

which means that X will run as root when you "startx" as a user and, thus, be able to move/modify the XFree86 log files in /var/log/.
 
Old 06-23-2004, 10:36 PM   #7
klatu
Member
 
Registered: Nov 2003
Location: Texas
Distribution: Slackware 9.1, Fedora Core 1 & Mandrake 9.2
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for the input but I wiped the install and started over some time back.

I guess I'm still looking for that 'linux distro' that fits.
 
Old 06-23-2004, 11:26 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
klatu, i think you must reinstall i don't know what u did but i never had that problem with any distro or version that i've tried. I know it's hard but i don't think of any other solution than what the guys told you here :/
 
  


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
I accidentally erased /tmp directory..xserver no longer works(FC2) blames Linux - General 3 01-12-2005 07:34 PM
XServer problems for ROOT !! theGuru Red Hat 4 09-11-2004 04:26 PM
Remote login with root from XServer(SUSE 9.0) Hasegagwa Linux - Networking 11 06-25-2004 01:04 AM
Xserver under root velan Debian 1 04-19-2004 03:39 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM

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

All times are GMT -5. The time now is 01:44 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
Open Source Consulting | Domain Registration