Re: VNC program with 'remote browser' feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Dotan Cohen" <dotancohen@xxxxxxxxx>

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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux