LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-18-2012, 03:32 AM   #1
k84834
Member
 
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
Angry startx problem...


Hi every body
at this point, I have an LFS that the X Window System and fluxbox and firefox have been installed on it.
I configured LFS to auto startx (and window manager) on boot as non root user.
Now, my problem is:
any one of several booting, below error occures, while in other cases X and fluxbox run and I can see graphic interface and work with it as well.

Code:
Xauth: file /home/blfs/.serverauth.1569 dose not exist 
xauth: error in locking authority file /home/blfs/.Xauthority Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..
Invalid MIT_MAGIC_COOKIE_1 key..

xinit: giving up 
xinit: unable to connect to X server: Resource temporarily unavailable.  
Waiting for X server to shut down Server terminated successfully (0). Closing log file.
xinit: server error 
xauth: error in locking authority file /home/usr/.Xauthority
I am confused! why one time this error occurs and next time dosen't occurs?!
 
Old 12-18-2012, 05:04 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
FYI

http://www.x.org/archive/X11R6.8.1/doc/xauth.1.html


Quote:
The most common use for xauth is to extract the entry for the current display, copy it to another machine, and merge it into the user's authority file on the remote machine:


% xauth extract - $DISPLAY | rsh otherhost xauth merge -

The following command contacts the server :0 to create an authorization using the MIT-MAGIC-COOKIE-1 protocol. Clients that connect with this authorization will be untrusted.

% xauth generate :0 .

 
Old 12-23-2012, 01:59 AM   #3
k84834
Member
 
Registered: Aug 2012
Posts: 142

Original Poster
Rep: Reputation: Disabled
Hi
my promlem is same as before .
some times,when I reboot my blfs that X is running on it (and in /home/blfs there is .serverauthxxxx file), above problem occures and command line environment come up(at this point, there isn't .serverauthxxxx file and there are 2 files of .Xauthority-c and .Xauthority-l), then I remove .Xauthority-c and .Xauthority-l files then run startx , and X comes up.

can any one help me?
can any one tell me what is happen step by step after startx? why I see"Xauth: file /home/blfs/.serverauthxxxx dose not exist" instead of "xauth: creating new authority file /root/.serverauth.xxxx" ???

when I reboot my LFS and I face with "Fatal IO error 11 " and " Fatal error 104" ,then I encounter with error mentioned in post#1
any idea is welcomed.
 
Old 12-23-2012, 05:36 AM   #4
k84834
Member
 
Registered: Aug 2012
Posts: 142

Original Poster
Rep: Reputation: Disabled
can any one help me???????????
 
  


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
startx problem physnastr Red Hat 15 09-23-2011 09:57 PM
[SOLVED] [startx problem] - startx goes to black/grey screen and comes back to command prompt! iNUKE Ubuntu 13 01-07-2011 01:32 PM
startx problem jaggu123 Linux - Enterprise 1 02-04-2009 05:08 AM
(nvidia) First startx = blank screen, second startx = works ?!? BuckRogers01 Linux - Hardware 2 04-07-2006 05:26 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM

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

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