技術 > Linux/Unix作業環境

Set up vnc viewer/server in Mint-20141220

(1/1)

admin:
http://community.linuxmint.com/tutorial/view/1188

Install a vnc server
程式碼: [Select]>>>>sudo apt-get install vnc4server<<<<
Then set the password:
程式碼: [Select]>>>>vncpasswd<<<<

Start the server on "screen 1":
 vncserver -geometry 800x600 :1

Stop the vnc server:

vncserver -kill :1

Cinnamon
If you're running Cinnamon try this in your xstartup file:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#sh /etc/X11/xinit/xinitrc

xrdb $HOME/.Xresources
#xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
#/etc/X11/Xsession
#exec /usr/bin/gnome-session --session=gnome-classic &
gnome-session --session=gnome-fallback &

導覽

[0] 文章列表