2015年3月29日星期日

Install xfce and vncserver on Debian

1.Using putty log in to Debian vps.
2.apt-get update
3.apt-get install xorg
4.apt-get install xfce4
5.apt-get install vnc4server
6.apt-get install iceweasel -y
7.start vncserver with commander:
  vncserver
Type password you're going to use twice.
8.kill vncserver with commander:
  vncserver -kill :1
9.nano /root/.vnc/xstartup
This file must be looked like this:
#!bin/sh
/usr/bin/startxfce4 &
10.restart vncserver with commander:
     vncserver
11.log in to vnc using tightvncviewer with serverip:5901 and type your password you've set in step 7.
Done.

沒有留言:

發佈留言