Professional Documents
Culture Documents
Cau Hinh VNC Cho Linux
Cau Hinh VNC Cho Linux
Cau Hinh VNC Cho Linux
bng VNC view 1. SSH vo Server Linux cn bt remote desktop g lnh #vncpasswd->sau t pass.
Note:Nu mun cho nhiu user c remote qua VNC th thm va tham s VNCSERVER=1:root 2:duynv 3:inet
3. Tip theo cu hnh bt VNC t ng khi my boot li g lnh #chkconfig vncserver
on.ng thi bt VNC server trn Linux cn remote ti g ln #service vncserver start
4. Nu firewall iptables c bt th cn m port tcp 5901 5. Trn Linux server cn remote ti g ln vi /home/username/.vnc/xstartup. Trong v d ny
ti s dng root remote g lnh #vi /root/.vnc/xstartup. tm n 2 dng nh hnh di v b du # 2 dng nh di.Nu s dng user duynv th g lnh vi /home/duynv/.vnc/xstartup
6. Khi ng li VNC server trn linux g #service vncserver restart (ch phi c quyn
7. Down load vnc view hoac Tight VNC cho window v ci v remote ti server Linux
Note:Nu mun cho nhiu user c remote qua VNC th thm va tham s VNCSERVER=1:root 2:duynv 3:inet - y ti remote vo bng root s phin l 1 nn g vo phn VNC server trn s l ip_address:1->nu remote vo bng duynv th s l ip_address:2 8. Nhp password va t bc 1 #vncpasswd (nu remote bng duynv th phi t passwd duynv hoc user khc)
Kt qu remote c nh bn di