LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2004, 12:41 PM   #1
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Rep: Reputation: 15
X failed to start


Good day to all.. im running slackware10 and i cant run my x one specific user. this message i got when i try to startx:
Quote:
xauth: timeout in loading authority file .Xauthority
xauth: timeout in loading authority file .Xauthority
xauth: timeout in loading authority file .Xauthority

_XSERTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERTransOpen: transport open failed for inet6/Trinity:0
_XSERTransMakeAllCOTServerListeners: failed to open listener for inet6


Could not init font path element /usr/X11R6/lib/X11/fonts/CID/ removing from list!
** (gnome-session:1739): WARNING**: Unable to lock ICE authority file: .ICEauthority
but on other user was running.. is there anything do with xinitrc?
which file instance of startx can i delete so itL refresh the x system?

any help will appreciate very much..
 
Old 10-21-2004, 01:48 PM   #2
R6Sven
LQ Newbie
 
Registered: Oct 2004
Location: Belgium
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Check the ownership of the .Xauthority file in the home directory of the user with problems. Owner and group should be the user in question. If the file has different owners, either fix them using 'chown user.user .Xauthority' , or delete the file.

The switch of ownership usually is to root/root. This happens if you log in as a user, then 'su' to root and start X from the user's home directory. The .Xauthority file is then created/overwritten with root as owner.
 
Old 10-21-2004, 09:58 PM   #3
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by R6Sven
Check the ownership of the .Xauthority file in the home directory of the user with problems. Owner and group should be the user in question. If the file has different owners, either fix them using 'chown user.user .Xauthority' , or delete the file.

The switch of ownership usually is to root/root. This happens if you log in as a user, then 'su' to root and start X from the user's home directory. The .Xauthority file is then created/overwritten with root as owner.
Hi thanks for reply..

i logged as user vvbuenaventura to start X and the file owner was vvbuenaventura:users so i think there's nothing wrong with it?
any idea what could be go wrong..
 
Old 10-24-2004, 10:46 AM   #4
R6Sven
LQ Newbie
 
Registered: Oct 2004
Location: Belgium
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Something is complaining about either the access rights to the .Xauthority and the .ICEauthority files, or their contents. There are a couple of more tips under http://www.linuxquestions.org/questions/history/232077

A few more things to check: the .ICEauthority file should have the same owner (i.e. vvbuenaventura:users) as .Xauthority. 'ls -l .Xauthority' should show '-rw-------' for access rights. Same goes for .ICEauthority. And for all certainty: 'ls -l /home' should show vvbuenaventura:users as owner of the home directory. Rights should be at least 'drwxr-xr-x'
 
Old 10-24-2004, 02:31 PM   #5
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
rm .ICEauthority and restart X should do it.
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Failed to start X server gwalk Linux - Newbie 3 11-21-2005 04:10 PM
Why X is failed to start edwin_78 Linux - Software 0 01-26-2005 02:49 AM
Why squid is start failed? aye_001 Linux - General 1 03-27-2004 04:30 AM
up2date failed now I can't start X Lodnod Fedora 14 03-23-2004 11:22 AM

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

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