very confusing
why is that when I am in a KDE session and I run and xterm session and use the command without the path:
xllvnc -rfbauth /home/dada/.vnc/passwd -many & it executes fine. The file x11vnc is owned by root. but if I run the same command from the path of the file I get an error message that is can find the file like: /usr/local/sbin/xllvnc -rfbauth /home/dada/.vnc/passwd -many & no file or directory What I am trying to do is create a script that will execute this command from clicking an icon. Or better using SUSE 10 /etc/init.d/boot.local. Everytime I do that it fails saying that it can find the command either way I try and use it. What the heck is going on? |
what's the output of:
Code:
whereis xllvnc Code:
ls -l /usr/local/sbin/xllvnc |
Quote:
/usr/local/sbin/xllvnc - correct path and ls -l /usr/local/sbin/xllvnc - rwx,rx,x owned by root and root group |
Quote:
run the commands as your non-root user (dada or whatever)... oh, and let's see you echo your path also, please: Code:
echo $PATH |
Here is the results from that machine
ls -l /usr/local/bin/x11vnc -rwxr-xr-x 1 root root 2434946 2006-07-23 18:31 /usr/local/bin/x11vnc echo $PATH /home/cozyed46/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin whereis x11vnc: /usr/local/bin/x11vnc there are the results what gives? |
Quote:
Quote:
also, from your "ls -l" i can see there's a link to the file somewhere... which is the link?? Code:
find / -type l -exec ls -l {} \; | grep x11vnc |
All times are GMT -5. The time now is 03:54 AM. |