在Linux下安装VNC-远程安装
下载后可任意编辑 在Linux下安装VNC 远程安装(菜鸟实战一) Fri, 6 Jun 2024 162646 0800 Description 在Linux下安装VNC 远程安装 B Pb7, , 下从网上下载安装包 {|.XhZ S/ [oraclejumper] wget http// .u w F \ --103432-- http// V00 99 vnc-4.0-x86_linux.tar.gz R 2r0 Resolving ... done. ]e |C} Connecting to [83.170.68.194]80... connected. T m Z HTTP request sent, awaiting response... 200 OK I UIY_b Length 1,625,390 [application/x-gzip] {/ Q4 0. _*TwUO 100[] 1,625,390 52.67K/s ETA 0000 9P81 p] ]F { 103504 52.67 KB/s - vnc-4.0-x86_linux.tar.gz saved [1625390/1625390] 4U ;KePrk q3-8K *aq 3c o4P4{ 发现4.0版本安装起来更加方便,解压后根据README文档操作即可 m84}e] zM [rootxcorder ] tar -xvf vnc-4.0-x86_linux.tar Kaz Y dy vnc-4.0-x86_linux/ LqPf[LH vnc-4.0-x86_linux/vncinstall N Nv9f vnc-4.0-x86_linux/Xvnc yIaol vnc-4.0-x86_linux/vncviewer IY F c_ vnc-4.0-x86_linux/vncserver V;M c;O 6 ..... cd 3 Z vnc-4.0-x86_linux/java/vncviewer.jar UgC ,c [rootxcorder ] cd vnc-4.0-x86_linux QYJ p c bhM zTI UoY\ j1 [rootxcorder ] ./vncinstall /usr/local/bin y K . DV Cant install manual pages to /usr/local/man/man1 cZ Qv Copying Xvnc to /usr/local/bin XmKPo Copying vncviewer to /usr/local/bin qR XisQ Copying vncpasswd to /usr/local/bin IOU HuK Copying vncconfig to /usr/local/bin tR60 I Copying vncserver to /usr/local/bin |Wm5 1 x 7 Copying x0vncserver to /usr/local/bin V* HxXZ- [rootxcorder ] mkdir -p /usr/local/vnc/classes X;t[ ;gS [rootxcorder ] cp java/* /usr/local/vnc/classes k/*dva aI Xg dZH.DlO 此时即可启动vncserver u} RTTAxH Rr ]R [rootxcorder ] vncserver , IA fFebY 8 You will require a password to access your desktops. JS kwt7 }H IomLUTJ Password 580s7R ] Verify G d3 []K xauth creating new authority file /root/.Xauthority xT}atb* cp D2 IE New 1 root desktop is 1 0 B pBw{I CTN Creating default startup script /root/.vnc/xstartup lvhkEZjn } Starting applications specified in /root/.vnc/xstartup 0uXC Log file is /root/.vnc/1.log Uu3n[Sy 0I f] tf Vy ;el -v 假如存在防火墙,还需要开放防火墙,然后就可以通过浏览器在5801端口访问vncserver了. RQLXpfG/b |o HOi 9A 可以通过如下命令确认端口已经正常启动 kI*1 hd \V1k se [rootxcorder ] netstat -an|grep 01 yM wR tcp 0 0 0.0.0.05801 0.0.0.0* LISTEN f3 nr Cs tcp 0 0 0.0.0.05901 0.0.0.0* LISTEN [}I*mS8L tcp 0 0 0.0.0.06001 0.0.