install vnc in ubuntu desktop gnome
سه شنبه, ۸ اسفند ۱۳۹۶، ۰۴:۱۲ ب.ظ
1- sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
2- sudo apt-get install vnc4server
3- vncserver
4- vncserver -kill :1
5- vim ~/.vnc/xstartup
change:
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
6- vncserver
- ۹۶/۱۲/۰۸