How to deploy and install VNC and Gnome on Ubuntu 18.04 to implement a remote desktop environment

888u

Last update at :2024-01-19,Edit by888u

The Banwagonhost VPS host does not have a Windows system. Many of our friends know that most overseas hosting providers use Linux system mirrors. However, some of our businesses need to be operated on the remote desktop. If we buy a Windows system server, the price is much more expensive than a Linux system, and there are relatively few servers. Is there any other way to achieve it? Our usual method here is to install VNC and Gnome desktop in the Linux server to achieve remote access.

In this article, we will install the desktop system on the Ubuntu 18.04 system of the VPS host.

1. Update system source

apt update apt upgrade -y

We update system source files.

2. Install the desktop environment

apt install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal -y

Here we can complete the installation.

3. Install VNC server

apt install vnc4server -y

Then we set the password:

vncserver :1

Then set the password twice.

4. Modify the configuration file

~/.vnc/xstartup

Edit this file and add at the end:

gnome-panel & gnome-settings-daemon& metacity& nautilus&

5. Start VNC

vncserver :1

Then we can connect, but make sure it is installed and then set the permissions.

6. Set permissions

mkdir -p /root/.config/nautilus

7. Restart the server

After rebooting the server, we can connect to VNC and start it.

vncserver :1

Then we can use VNC software to connect. (TightVNC)

In conclusion, there are still some problems that we will fix. But basically it still works.

Recommended discounts/cost-effective packages for bricklayers

Warm reminder: If you have difficulty choosing, just choose the CN2 GIA-E plan in the middle. The quarterly payment is $49.99, and you can switch between up to 12 computer rooms at will.

Banwagonhost discount code: BWH3HYATVBJW, discount 6.58%, available everywhere. The table below summarizes more preferential packages for bricklayer removal.

plan Memory CPU harddisk Traffic/month bandwidth engine room price Buy
CN2 (cheapest) 1GB 1 core 20GB 1TB 1Gbps DC3 CN2 DC8 ZNET $49.99/year Buy
CN2 2GB 1 core 40GB 2TB 1Gbps $52.99/half year $99.99/year Buy
CN2 GIA-E (Most recommended) 1GB 2 cores 20GB 1TB 2.5Gbps DC6 CN2 GIA-E DC9 CN2 GIA Japan SoftBank JPOS_1 China Unicom Netherlands EUNL_9 $49.99/quarter $169.99/year Buy
CN2 GIA-E 2GB 3 core 40GB 2TB 2.5Gbps $89.99/quarter $299.99/year Buy
HK 2GB 2 cores 40GB 0.5TB 1Gbps Hong Kong CN2 GIA $89.99/month $899.99/year Buy
HK 4GB 4 core 80GB 1TB 1Gbps $155.99/month $1559.99/year Buy

Select a suggestion:

  • Getting started: Los Angeles CN2 package, currently the cheapest, optional CN2 GT computer room, the entry-level choice.
  • Recommendation: Los Angeles CN2 GIA-E package, affordable, super fast, with many optional computer rooms, and the most cost-effective.
  • High-end: Hong Kong CN2 GIA package, the price is higher, but impeccable.

Recommended site searches: server space rental, cheapest cloud server, IP search, European server, domain name batch query, overseas virtual host space, overseas host rental, station group server rental, Chinese domain name registration in the Ministry of Industry and Information Technology website filing system, < /p>

How to deploy and install VNC and Gnome on Ubuntu 18.04 to implement a remote desktop environment

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