Problem with TightVNCserver dotpup & Puppy 3.01/ROX 2.6.1
Posted: Fri 28 Dec 2007, 07:30
I ran into a problem using rarsa's TighVNCserver 1.2.9-0.4 dotpup under Puppy 3.01. This uses a script called vncserver.
Every time I tried to run vncserver, I got (as part of the normal startup messages that are displayed)
Then when I tried to use my TightVNC client to attach to the server, I got the old "grey screen of death".
I checked the usual suspect for this problem (permissions on xstartup) to no avail.
I also went back and checked my working Puppy 2.14 setup to see what was different.
Nothing in any of the files was, but I finally remembered that ROX has been updated and the different Puppys run different versions of ROX.
rarsa's script creates /root/.vnc/xstartup as follows:
Running just the rox line in a console on 3.01 and 2.14 gave different results:
On 2.14 (i.e. ROX v 2.5, GTK 2.8.17, 2.8.17) the display went grey then reset back to normal.
On 3.01 (i.e. ROX v 2.6.1, GTK 2.8.17, 2.10.13) I got the message
So I tried just rox -p /root/Choices/ROX-Filer/PuppyPin on the 3.01 system and there were no error messages and the grey screen of death was no more.
I'm guessing that the -o option has been removed from the later version?
Anyhow, the workaround is to delete /root/.vnc/xstartup, and to edit line 243 of /root/my-applications/bin/vncserver so that it reads.
Hope this helps someone, and maybe someone could upgrade the dotpup to a dotpet with this correction incorporated.
paul
Every time I tried to run vncserver, I got (as part of the normal startup messages that are displayed)
Code: Select all
Try `ROX-Filer/AppRun --help' for more information.
I checked the usual suspect for this problem (permissions on xstartup) to no avail.
I also went back and checked my working Puppy 2.14 setup to see what was different.
Nothing in any of the files was, but I finally remembered that ROX has been updated and the different Puppys run different versions of ROX.
rarsa's script creates /root/.vnc/xstartup as follows:
Code: Select all
if [ ! -f "$xstartup" ]; then
echo "Creating default startup script $xstartup"
echo "# This is the default startup script for the vnc server," > "$xstartup"
echo "# You can modify it to fit your needs" >> "$xstartup"
echo "" >> "$xstartup"
echo "#xrdb $HOME/.Xresources" >> "$xstartup"
echo "xsetroot -solid grey" >> "$xstartup"
echo "xsetroot -cursor_name top_left_arrow" >> "$xstartup"
echo -e "#xterm -geometry 80x24+10+10 -ls -title \"$VNCDESKTOP Desktop\" &" >> "$xstartup"
echo "jwm &" >> "$xstartup"
echo "rox -op /root/Choices/ROX-Filer/PuppyPin" >> "$xstartup"
chmod 0755 "$xstartup"
fi
$xstartup &
Running just the rox line in a console on 3.01 and 2.14 gave different results:
On 2.14 (i.e. ROX v 2.5, GTK 2.8.17, 2.8.17) the display went grey then reset back to normal.
On 3.01 (i.e. ROX v 2.6.1, GTK 2.8.17, 2.10.13) I got the message
Code: Select all
Try `ROX-Filer/AppRun --help' for more information.
So I tried just rox -p /root/Choices/ROX-Filer/PuppyPin on the 3.01 system and there were no error messages and the grey screen of death was no more.
I'm guessing that the -o option has been removed from the later version?
Anyhow, the workaround is to delete /root/.vnc/xstartup, and to edit line 243 of /root/my-applications/bin/vncserver so that it reads
Code: Select all
echo "rox -p /root/Choices/ROX-Filer/PuppyPin" >> "$xstartup"
Hope this helps someone, and maybe someone could upgrade the dotpup to a dotpet with this correction incorporated.
paul