LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-29-2005, 05:17 PM   #1
ziggie216
Member
 
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
vncserver: couldn't find "xauth" on your PATH.


Code:
root@linuxbox:~# /etc/rc.d/rc.vncserver
vncserver: couldn't find "xauth" on your PATH.

root@linuxbox:~# whereis xauth
xauth: /usr/X11R6/bin/xauth /usr/bin/X11/xauth /usr/X11/bin/xauth /usr/X11/man/man1/xauth.1x.gz
Ok so made some change to the rc.vncserver
Code:
root@linuxbox:~# more /etc/rc.d/rc.vncserver
#!/bin/sh
PATH=$PATH:/usr/X11R6/bin:/usr/bin/X11:/usr/X11/bin && export PATH
/bin/su username -c "/usr/local/bin/vncserver :1 -geometry 1024x768"

root@linuxbox:~# /etc/rc.d/rc.vncserver
vncserver: couldn't find "xauth" on your PATH.
what path is it asking for?

Last edited by ziggie216; 11-29-2005 at 05:18 PM.
 
Old 11-30-2005, 10:06 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
It should be better change the PATH in /etc/profile (this affects all users), or in ~/.bashrc for a specific user.
Or in your script first run "su username", then define the new PATH and last run your command.
 
Old 11-30-2005, 12:34 PM   #3
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Rep: Reputation: 30
Re: vncserver: couldn't find "xauth" on your PATH.

Quote:
Originally posted by ziggie216
Code:
root@linuxbox:~# /etc/rc.d/rc.vncserver
vncserver: couldn't find "xauth" on your PATH.

root@linuxbox:~# whereis xauth
xauth: /usr/X11R6/bin/xauth /usr/bin/X11/xauth /usr/X11/bin/xauth /usr/X11/man/man1/xauth.1x.gz
Ok so made some change to the rc.vncserver
Code:
root@linuxbox:~# more /etc/rc.d/rc.vncserver
#!/bin/sh
PATH=$PATH:/usr/X11R6/bin:/usr/bin/X11:/usr/X11/bin && export PATH
/bin/su username -c "/usr/local/bin/vncserver :1 -geometry 1024x768"

root@linuxbox:~# /etc/rc.d/rc.vncserver
vncserver: couldn't find "xauth" on your PATH.
what path is it asking for?
~/home/{user}/.vnc/*.*

Did you try first typing in vncserver and entering your password? Each users must initialize a server with a password before they can request a login. This is done only once per user. The server generates the xauth following this. Sounds as if this wasn't done.

Last edited by dolvmin; 11-30-2005 at 12:37 PM.
 
  


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
starting vnc couldn't find "xauth" on your PATH. verlossen Linux - Networking 6 08-21-2006 05:57 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
Could not init font path element. Could not find default font "fixed" SidA Red Hat 0 06-19-2004 09:42 PM


All times are GMT -5. The time now is 11:40 AM.

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