LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-23-2005, 07:19 AM   #1
verlossen
LQ Newbie
 
Registered: Aug 2005
Posts: 11

Rep: Reputation: 0
starting vnc couldn't find "xauth" on your PATH.


hello,

I am trying to start the vnc server and with vncserver \-start and this is the message I get,

couldn't find "xauth" on your PATH.

Can you help? Thank you

verlossen
 
Old 11-23-2005, 08:06 PM   #2
number9
Member
 
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15
xauth's location needs to be added to the environment variable, PATH. When you are able to execute a program on the CLI without being in the directory for that program, that is PATH at work. To view PATH:

Code:
echo $PATH
Now you need to locate xauth so you can put that directory in the comma delimited PATH:

Code:
whereis xauth ,or, which xauth
Found the directory? Good, add it to path:

Code:
PATH=$PATH:/path/to/dir-containing-xauth && export PATH
That should have modified PATH, do it as root too for good measure.
 
Old 11-25-2005, 10:22 AM   #3
verlossen
LQ Newbie
 
Registered: Aug 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hello, thank you for your help, I followed your instructions, this is what I got..... which is my path? which is the directory, ?? Sorry I am a newbie...


login as: root
Sent username "root"
root@192.168.65.184's password:
Last login: Sat Nov 26 05:53:52 2005 from 192.168.6.34
[root@localhost ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
[root@localhost ~]# which xauth
-bash: which: command not found
[root@localhost ~]# whereis xauth
xauth:
[root@localhost ~]#


Verlossen
 
Old 11-28-2005, 10:49 PM   #4
number9
Member
 
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15
It appears xauth is not installed, try one more search before we parse through every file on your OS to see if xauth is installed:

Code:
# locate xauth
Nothing, dang, last search before installing xauth:

Code:
# find / -name *xauth*
This is your PATH: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
It's a variable in the shell, see all variable by typing "env". So, your new variable will include everything that was in it, plus the path-to-xauth appended to the end.
 
Old 11-29-2005, 03:22 AM   #5
verlossen
LQ Newbie
 
Registered: Aug 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hi , Thank you for your reply.

I typed what you said "locate xauth
" and i got this:

/usr/share/man/man8/pam_xauth.8.gz
/usr/share/doc/pam-0.77/txts/README.pam_xauth
/lib/security/pam_xauth.so
Does it mean xauth is installed in my system?

Verlossen
 
Old 08-18-2006, 07:32 PM   #6
rossx
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
I have the exact same problem

Hi everyone,
Im new to this forum and would really appreciate if you could post the fix that you were working on above.

I have the exact same problem when I try connecting to vncserver on linux.

Your help would be great.

I get

/usr/share/man/man8/pam_xauth.8.gz
/usr/share/zsh/4.2.0/functions/_xauth
/usr/share/doc/pam-0.77/txts/README.pam_xauth
/lib/security/pam_xauth.so


Thank you

Ross

Last edited by rossx; 08-18-2006 at 07:33 PM.
 
Old 08-21-2006, 05:57 PM   #7
rossx
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
Fixed it now - want to post this for others

Hi everyone,

After getting the error message above about xauth. I looked about for a bit and found that I needed to install xauth.

I did this by typing yum install xorg-x11-xauth

Once the install has been made, type vncserver and it should ask for the password.

Hope this helps any newbies like myself.

Cheers
 
  


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
vncserver: couldn't find "xauth" on your PATH. ziggie216 Linux - Software 2 11-30-2005 12:34 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 12:24 PM
Cedega and Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Games 0 03-26-2005 03:48 AM
"unable to find usable depth" and other errors when starting X with xdm in RHL 5.2 celejar Linux - Newbie 3 03-07-2004 04:16 PM


All times are GMT -5. The time now is 10:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration