Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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 ~]#
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.