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 |
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 Code:
whereis xauth ,or, which xauth Code:
PATH=$PATH:/path/to/dir-containing-xauth && export PATH |
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 |
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 Code:
# find / -name *xauth* 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. |
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 |
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 |
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 |
All times are GMT -5. The time now is 08:40 PM. |