VNC program with 'remote browser' feature

Danny Terweij - Net Tuning | Net d.terweij at nettuning.net
Mon Dec 12 16:07:24 UTC 2005


From: "Dotan Cohen" <dotancohen at gmail.com>

>Thanks. I just returned home and wanted to play with the vnc. The
>start command didn't work:
>[root at localhost ~]# service vncserver status
>Xvnc is stopped
>[root at localhost ~]# service vncserver start
>Starting VNC server:                                       [  OK  ]
>[root at localhost ~]# service vncserver status
>Xvnc is stopped
>[root at localhost ~]#

As root
# /etc/init.d/vncserver start
Starting VNC server:                                       [  OK  ]


Then as a normal user :
$ cd ~
$ vncserver
New 'localhost:1 (danny)' desktop is localhost:1
Starting applications specified in /home/danny/.vnc/xstartup
Log file is /home/danny/.vnc/localhost:1.log

Now you can connect. But you will found out the grey screen problem soon.
So edit file:
~/.vnc/xstartup

#!/bin/sh
# Uncomment the following two lines for normal desktop:
#unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &

Assuming you want kde as desktop.


Have fun.

Danny.





More information about the fedora-list mailing list