Problem with TightVNCserver dotpup & Puppy 3.01/ROX 2.6.1

Please post any bugs you have found
Post Reply
Message
Author
User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

Problem with TightVNCserver dotpup & Puppy 3.01/ROX 2.6.1

#1 Post by paulh177 »

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)

Code: Select all

Try `ROX-Filer/AppRun --help' for more information.
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:

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

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#2 Post by rarsa »

After a couple of months I got around updating the VNC server to version 1.3.9 and including your proposed fix.

http://www.murga-linux.com/puppy/viewto ... =5943#5943

Thank you,
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

Post Reply