List Info

Thread: Cannot get Xorg to work




Cannot get Xorg to work
user name
2006-08-12 20:05:38
I have tried a couple times to get Xorg to work
without any success. I have followed the BLFS book as
carefully as I can, once with creating the shadow
directory and once skipping that step. Same result
both times. here's what I get:

root:/usr/X11R6/bin# ./startx
./startx: line 132: xauth: command not found
./startx: line 133: xauth: command not found
./startx: line 132: xauth: command not found
./startx: line 133: xauth: command not found
./startx: line 141: xinit: command not found
./startx: line 144: xauth: command not found
root:/usr/X11R6/bin#

Any and all help will be appreciated.
Thanks,
James

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Cannot get Xorg to work
user name
2006-08-12 22:33:20
On Sat, Aug 12, 2006 at 01:05:38PM -0700, Jay Mazzetta
wrote:
> I have tried a couple times to get Xorg to work
> without any success. I have followed the BLFS book as
> carefully as I can, once with creating the shadow
> directory and once skipping that step. Same result
> both times. here's what I get:
> 
> root:/usr/X11R6/bin# ./startx
> ./startx: line 132: xauth: command not found
> ./startx: line 133: xauth: command not found
> ./startx: line 132: xauth: command not found
> ./startx: line 133: xauth: command not found
> ./startx: line 141: xinit: command not found
> ./startx: line 144: xauth: command not found
> root:/usr/X11R6/bin#
> 
> Any and all help will be appreciated.
> Thanks,
> James
 You need to have /usr/X11R6/bin in $PATH.  For the future,
please
consider mentioning which version of the book you are
following -
at a minimum it may stop people like me from skimming your
post and
telling you that you need the xauth app in modular X ;)

 By this stage in building a system, you should be somewhat
familiar
with the tools you have created - 'file ./startx' should
tell you
that it is a shell script, and then you can use 'view' or
your
favourite $EDITOR to look at what the script is doing. 
Hopefully,
if you do that, you will see that it is just calling
commands, and
then 'find -name bin/xauth' should show that the command
exists
somewhere, so it must just be a question of getting the path
correct.

 Alternatively, that will show you that the command does NOT
exist
and the problem is something else, like a missing xauth app
(in case
it isn't clear to you, using /usr/X11R6 is a strong hint to
me that
you used Xorg-6.9 or earlier).

HTH,

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Cannot get Xorg to work
user name
2006-08-13 04:09:05
Ken, thanks for the response. 

I have added the correct path to xauth. Tried to do
the same with xinit. now I get only one error saying
cannot execute binary. however, xinit is in the same
directory as xauth... I'm lost.

--- Ken Moffat <kenlinuxfromscratch.org> wrote:

> On Sat, Aug 12, 2006 at 01:05:38PM -0700, Jay
> Mazzetta wrote:
> > I have tried a couple times to get Xorg to work
> > without any success. I have followed the BLFS book
> as
> > carefully as I can, once with creating the shadow
> > directory and once skipping that step. Same result
> > both times. here's what I get:
> > 
> > root:/usr/X11R6/bin# ./startx
> > ./startx: line 132: xauth: command not found
> > ./startx: line 133: xauth: command not found
> > ./startx: line 132: xauth: command not found
> > ./startx: line 133: xauth: command not found
> > ./startx: line 141: xinit: command not found
> > ./startx: line 144: xauth: command not found
> > root:/usr/X11R6/bin#
> > 
> > Any and all help will be appreciated.
> > Thanks,
> > James
>  You need to have /usr/X11R6/bin in $PATH.  For the
> future, please
> consider mentioning which version of the book you
> are following -
> at a minimum it may stop people like me from
> skimming your post and
> telling you that you need the xauth app in modular X
> ;)
> 
>  By this stage in building a system, you should be
> somewhat familiar
> with the tools you have created - 'file ./startx'
> should tell you
> that it is a shell script, and then you can use
> 'view' or your
> favourite $EDITOR to look at what the script is
> doing.  Hopefully,
> if you do that, you will see that it is just calling
> commands, and
> then 'find -name bin/xauth' should show that the
> command exists
> somewhere, so it must just be a question of getting
> the path
> correct.
> 
>  Alternatively, that will show you that the command
> does NOT exist
> and the problem is something else, like a missing
> xauth app (in case
> it isn't clear to you, using /usr/X11R6 is a strong
> hint to me that
> you used Xorg-6.9 or earlier).
> 
> HTH,
> 
> Ken
> -- 
> das eine Mal als Tragödie, das andere Mal als Farce
> -- 
>
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
> FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Cannot get Xorg to work
user name
2006-08-13 12:35:25
On Sat, Aug 12, 2006 at 09:09:05PM -0700, Jay Mazzetta
wrote:
> Ken, thanks for the response. 
> 
> I have added the correct path to xauth. Tried to do
> the same with xinit. now I get only one error saying
> cannot execute binary. however, xinit is in the same
> directory as xauth... I'm lost.
> 
 First, please don't top-post, even if your mail client
encourages
it, and trim any quoted text.  Thanks.

  I'm not sure if you understood me - I intended you to
change
root's PATH by, for example,

 export PATH=$PATH:/usr/X11R6/bin

(and similarly to change the user's PATH for normal use of
X), but
I'm reading that you might have edited the script to change
xauth to
/usr/X11R6/bin/xauth - if that is what you've done, you
should
revert the changes.

 But, 'cannot execute binary file' is a whole different
can of
worms.  I've been assuming that you are on an x86 machine,
and that
you built xorg after building LFS.  Are you doing something
different ?  This particular error message is normally
associated
with cross-compiling, or with trying to execute 64-bit
binaries with
a 32-bit kernel.  What does "ldd
/usr/X11R6/bin/xinit" say ?
Or "readelf -l /usr/X11R6/bin/xinit | grep
interpreter" ?

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Cannot get Xorg to work
user name
2006-08-13 21:19:17
>  First, please don't top-post, even if your mail
> client encourages
> it, and trim any quoted text.  Thanks.
> 
>   I'm not sure if you understood me - I intended you
> to change
> root's PATH by, for example,
> 
>  export PATH=$PATH:/usr/X11R6/bin

You are right, I completely missed the point. After
changing the PATH as you noted above, everything
works! Including xinit....

Hopefully, I got the top-posting and trimming correct
this time around.

Thanks for all your help and patience!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-suppo
rt
FAQ: http://
www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )