LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-11-2003, 11:39 AM   #1
asyoung
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Red Hat 9
Posts: 8

Rep: Reputation: 0
Unhappy X problems...major X problems...


I installed Red hat 9 awhile ago and everything was running fine. I been trying to add Xvfb into X and so I tar/gzipped copies of my /usr/X11R6/ and /etc/X11/ directories. After running into a multitude of problems with trying to get Xvfb running, I restored my original X setup from these tar/zip files. But now I can only run startx as root. If I run startx as anyone other then root I get an error message about a fatal server error and being unable to move /var/log/XFree86.0.log.old

Although this doesn't seem to be an uncommon problem I have had trouble finding solutions on forums. I was thinking of trying to reinstall X, but when I run the Xinstall.sh I got from xfree86.org I get a segmentation fault--making me think maybe I have old binaries or something...

I know this isn't much to work with...but I don't even know where to start looking to figure out what is going wrong.

-Andrew
 
Old 07-11-2003, 11:47 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
unable to move /var/log/XFree86.0.log.old
Are you sure it wasn't some lock file?

As root, remove file mentioned in the error and try again. The user doesn't have permission to mess with these.
 
Old 07-11-2003, 12:06 PM   #3
asyoung
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

Problem solved...a friend of mine just came by ... Apparently XFree86 as some permissions that got lost when I tar/gzipped the directories, so he quickly restored them...Not sure how...but it works now and that's enough for me...

My other issue is trying to set up Xvfb now...

I installed Xvfb using an rpm. I run it like this:

Xvfb :3 &

Then I try it out by running:

xclock -display :3

I get the following message from Xvfb:
AUDIT: Fri Jul 11 12:17:00 2003: 3453 Xvfb: client 1 rejected from local host

And then I get from xclock:
Xlib: connection to ":3.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :3


Thank you for the prompt reply to my other issue..I hope someone can help me with this one...
 
Old 07-11-2003, 12:19 PM   #4
asyoung
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs down

By the way, I ran:
xhost +
to disable access control and I still get the same messages...
 
Old 07-20-2004, 04:20 PM   #5
test
Newbie
 
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
Try to unset XAUTHORITY.
 
  


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
major problems serksimper Linux - Enterprise 2 08-16-2005 08:38 PM
having major problems, help! Niflheim Linux - General 11 03-04-2005 01:31 PM
major booting problems Jamesn Linux - Software 11 12-13-2004 01:45 PM
major device problems Latem Linux - Software 3 09-12-2004 11:54 AM
MAJOR problems! CPUguy387 Linux - Newbie 3 08-20-2004 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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