Banwagonhost: Ubuntu tutorial on building a visual interface VNC

888u

Last update at :2024-03-21,Edit by888u

If the Bricklayer VPS encounters any problem and cannot be connected, our first reaction may be to connect to the online VNC to see if there is any problem. However, there may not be a local VNC, and if it can only be used online, there will be many restrictions, such as being unable to copy and paste when typing. VNC (Virtual Network Console) is the abbreviation of virtual network console. It is an excellent remote control tool software developed by the famous AT&T's European Research Laboratory. VNC is an open source software based on UNIX and Linux operating systems. It has powerful remote control capabilities, is efficient and practical, and its performance is comparable to any remote control software in Windows and MAC. This tutorial guides you how to build the visual interface VNC in the cloud server of the Ubuntu operating system.

Ubuntu installation VNC software

First you need to log in to SSH and then update the system:

apt-get update

Execute the following command to install the software packages required for the desktop environment. Including system panel, window manager, file browser, terminal and other desktop applications.

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

Install VNC.

Ubuntu 18.04:

apt-get install vnc4server

Ubuntu 20.04:

apt-get install tightvncserver

This completes the installation.

Configuring VNC Tutorial

Execute the following command to start VNC and set the password

vncserver

If the return result is similar to the following interface, the startup is successful:

Open VNC configuration file

vi ~/.vnc/xstartup

Press i to switch to edit mode and modify the content as follows:

#!/bin/sh export XKL_XMODMAP_DISABLE=1 export XDG_CURRENT_DESKTOP="GNOME-Flashback:GNOME" export XDG_MENU_PREFIX="gnome-flashback-" gnome-session --session=gnome-flashback-metacity --disable-acceleration-check &

Press Esc, type :wq, save the file and return.

Execute the following command to restart the desktop process.

vncserver -kill :1 #Kill the original desktop process and enter the command (where: 1 is the desktop number) vncserver -geometry 1920x1080 :1 #Generate a new session

Click here to go to the VNC Viewer official website, and download and install the corresponding version according to the operating system type of the local computer.

In the VNC Viewer software, enter the IP address of the cloud server: 1 and press Enter.

In the pop-up prompt box, click Continue.

Enter the set VNC password and click OK to log in to the instance and use the graphical interface.

Recommended solutions for bricklayers

Discount code: BWH3HYATVBJW (discount 6.58%)

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
CN2GIA-E (Most recommended) 1GB 2 cores 20GB 1TB 2.5Gbps DC6 CN2 GIA-E DC9 CN2 GIA Japan SoftBank JPOS_1 Netherlands EUNL_9 $49.99/quarter $169.99/year Buy
CN2GIA-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, China CN2 GIA $89.99/month $899.99/year Buy
HK 4GB 4 core 80GB 1TB 1Gbps $155.99/month $1559.99/year Buy
TOKYO 2GB 2 cores 40GB 0.5TB 1.2Gbps Tokyo, Japan CN2 GIA $89.99/month $899.99/year Buy
TOKYO 4GB 4 core 80GB 1TB 1.2Gbps $155.99/month $1559.99/year Buy

Recommended site search: French proxy server, vps foreign server, registration network, US vps host, IP detailed address query, server space, registered domain name, free cloud host, cloud server, view IP,

Banwagonhost: Ubuntu tutorial on building a visual interface VNC

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