LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X failed to start (https://www.linuxquestions.org/questions/linux-newbie-8/x-failed-to-start-245595/)

vickr1z 10-21-2004 12:41 PM

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..

R6Sven 10-21-2004 01:48 PM

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.

vickr1z 10-21-2004 09:58 PM

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..

R6Sven 10-24-2004 10:46 AM

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'

jev-bird 10-24-2004 02:31 PM

rm .ICEauthority and restart X should do it.


All times are GMT -5. The time now is 08:21 AM.