Net :: Vnc server



I will start vncserver at startup
but it don`t work
I push the icon vnc4x0 and all it`s ok. I can use VNC Viewer on my windows xp mashine. I start XTerminal and type "ps -aux" ok vncserver is running (/bin/sh/ -c /usr/local/bin/vnc4x0.sh). Now i reboot, start XTerminal and type /bin/sh/ -c /usr/local/bin/vnc4x0.sh and shit! Vncserver isn`t running. What is wrong. How and what have i to edit to run the vncserver. All the tipps in the forum don`t work.
Sorry for my english

Unless it's a typo, your command is flawed.  It should be
/usr/local/bin/vnc4x0.sh
If that file is not executable, then do this:
sh /usr/local/bin/vnc4x0.sh


Another possibility is to replace the "startx" command in /home/dsl/.bash_profile with the command "vncserver"

ok it works!
I add the command  sh /usr/local/bin/vnc4x0.sh   to the xintrc file and vncserver starts at login.

THX


original here.