[Reprint] # Remote Desktop Version # One-click installation of desktop version of Linux that supports VNC

888u

Last update at :2023-12-13,Edit by888u

Note: This is an article I saw on the Weimo blog. I personally think it is useful and I am reprinting it now.

In fact, many times as long as you discover and collect with your heart, you will get what you want. The following content comes from the Internet and some personal experiences of Wei Mo. Follow the following code commands to quickly complete the installation of VNC and visual desktop. The commands in this article are applicable to ubuntu 12.04, Debian7 and CentOS 6. Please use them according to the version.

Ubuntu 12.04 32&64 bit

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="1:root" ' >> /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /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&64 bit

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="1:root"' >> /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /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-bit system (32-bit is not supported)

yum install nano -y; yum update -y; yum upgrade -y; yum install tigervnc-server -y; yum groupinstall "Desktop" -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 "nameserver 8.8.8.8" >> /etc/resolv.conf; ' >> /etc/rc.local; echo 'VNCSERVERS="1:root"' >> /etc/sysconfig/vncservers; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/sysconfig/vncservers; vncpasswd; chkconfig vncserver on --level 345; reboot;

After the installation is complete, please use VNC link software (such as VNC Viewer) to connect remotely. The default user is root and the port is: 1

Recommended site search: shopex virtual host, US virtual space, foreign server, purchase space, ip query, server rental US high defense, free php mysql space registration cn domain name, Hong Kong high defense server rental same ip website query,

[Reprint] # Remote Desktop Version # One-click installation of desktop version of Linux that supports VNC

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码