<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="一键安装支持VNC的桌面版Linux">
<p>
作者:<a href="index.php?action=showuser&amp;userid=2&amp;hash=">admin</a><br />时间:2017-07-19 19:30<br />分类:<a href="index.php?action=list&amp;cid=30&amp;hash=">Linux学习笔记</a><br />内容:Ubuntu 12.04 32&amp;64位


XML/HTML代码


    apt-get update -y;apt-get upgrade -y;apt-get install nano -y;apt-get install gnome-core flashplugin-nonfree -y;apt-get install vnc4server -y; vncserver; vncserver -kill :1; cd ~; wget https://ginernet.com/downloads/vnc-debian-7.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS=&quot;1:root&quot;' &gt;&gt; /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]=&quot;-geometry 1000x700&quot;' &gt;&gt; /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://ginernet.com/downloads/vnc-init-ubuntu-12.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; reboot;  




 

Debian 7 32&amp;64位


XML/HTML代码


    apt-get update -y;apt-get upgrade -y;apt-get install nano -y;apt-get install gnome-core firefox flashplugin-installer -y;apt-get install vnc4server -y; vncserver; vncserver -kill :1; cd ~; wget https://ginernet.com/downloads/vnc-ubuntu-12.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS=&quot;1:root&quot;' &gt;&gt; /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]=&quot;-geometry 1000x700&quot;' &gt;&gt; /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget https://ginernet.com/downloads/vnc-init-ubuntu-12.txt -O vncserver; chmod 755 vncserver; update-rc.d vncserver defaults 99; reboot;  




 

 


 





CentOS 6 64位系统（不支持32位）


XML/HTML代码


    yum install nano -y; yum update -y; yum upgrade -y; yum install tigervnc-server -y; yum groupinstall &quot;Desktop&quot; -y; yum install firefox -y; rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm; rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux; yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl -y; echo 'echo &quot;nameserver 8.8.8.8&quot; &gt;&gt; /etc/resolv.conf; ' &gt;&gt; /etc/rc.local; echo 'VNCSERVERS=&quot;1:root&quot;' &gt;&gt; /etc/sysconfig/vncservers; echo 'VNCSERVERARGS[1]=&quot;-geometry 1000x700&quot;' &gt;&gt; /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on --level 345; reboot;  






VNC软件下载 http://soft.itbulu.com/tools/vnc.zip

http://089.free.fr/jrtn/soft/vnc.zip



安装完成后，请使用VNC链接软件（如VNC Viewer）连接远程，默认用户为root，端口为：1




</p><p>
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
