Tutorial on installing VNC service on OpenVZ VPS

Tutorial on installing VNC service on OpenVZ VPS

Under SSH, it is best to be the root user.

Assume the IP and port are 192.168.20.20:1

CentOS 6 – x86_64 Installation:

 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;

Debian 7 – x86 and x86_64 Installation:

 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;

Ubuntu 12.04 – x86 and x86_64 Installation:

 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;

<<:  X3host: $25/year/2GB RAM/150GB storage/unlimited traffic/OpenVZ/Phoenix/New York

>>:  x3host 4GB RAM OpenVZ VPS Phoenix City Simple Review

Recommend

LeaseWeb: €7/month/1 CPU/1G/40G/500G/1 IP/KVM

LeaseWeb is a Dutch hosting provider that mainly ...

Pump Cloud: $24.99/month/1GB memory/25GB space/10TB traffic/KVM/Hong Kong

Pump Cloud, a subsidiary of Pump Inc., launched a...

Nexa Racks: $7/month/2GB RAM/50GB SSD space/200GB bandwidth/1Gbps port/KVM/India

Nexa Racks, an Indian merchant, provides virtual ...

cbvps 1GB RAM SSD hard drive Hong Kong NAT OpenVZ VPS review

Details: cbvps: 2.8 yuan/month/256MB memory/50GB ...

$20/year/5G space/50G traffic/dedicated IP virtual host——WooServers

WooServers has been introduced before, and the fo...

VpsLot: $4.9/month/1GB/20GB space/500GB traffic/Xen/Chicago

VpsLot, a newly established American hosting comp...

Ezydot: $2.99/month/unlimited space/unlimited traffic/unlimited accounts

Ezydot, a US hosting company, provides various ty...