Artificial Intelligence Programming Lab(AIPLab) 討論區

Please login or register.

請輸入帳號, 密碼以及預計登入時間

新聞:

[慶賀]恭喜張清貿醫師升任北榮傳醫科主治醫師-20170201

作者 主題: Set up vnc viewer/server in Mint-20141220  (閱讀 1251 次)

admin

  • 管理員
  • Hero Member
  • *****
  • 文章: 1798
    • 檢視個人資料
Set up vnc viewer/server in Mint-20141220
« 於: 十二月 20, 2014, 07:08:56 pm »
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 &
已記錄
 

SimplePortal Classic 2.0.5