You are familiar with the command operations in the debian system. recently, you have used desktop management to install gnome desktop. In linux, there are many desktops, such as kde and lxde. Today, we will introduce how to install gnome desktop and tightvnc in the debian system for remote connection. 1. after logging on to ssh: Enter the following command apt-getins
You are familiar with the command operations in the debian system. recently, you have used desktop management to install gnome desktop.
In linux, there are many desktops, such as kde and lxde.
Today, we will introduce how to install gnome desktop and tightvnc in the debian system for remote connection.
1. after logging on to ssh:
Enter the following command
Apt-get install update
II. install gnome:
I only installed a streamlined kernel file, because the memory resources on vps are limited.
Apt-get install x-window-system-core
Apt-get install gnome-desktop-environment
After installation, you need to install the font file:
Apt-get install xfonts-100dpi
Apt-get install xfonts-100dpi-transcoded
Apt-get install xfonts-75dpi
Apt-get install xfonts-75dpi-transcoded
Apt-get install xfonts-base
3. install tightvnc on the vnc server after the installation variation:
Apt-get install tightvncserver
Tightvncserver: 1
In this case, you need to set the vnc password twice.
Tightvncserver-kill: 1
Vi ~ /. Vnc/xstartup # Edit the vnc startup interface
The configuration file is as follows:
Xrdb $ HOME/. Xresources
Xsetroot-solid gray
X-terminal-emulator-geometry 80 × 24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
# X-window-manager &
# Fix to make GNOME work
# Export XKL_XMODMAP_DISABLE = 1
#/Etc/X11/Xsession
Gnome-session &
After the configuration is complete, run the following command to start the vnc service:
Tightvncserver-geometry 800x600: 1 # Resolution: 800*600
4. access using vncview
Open the vnc tool and set the IP address to 1.