DebianLinuxvps detailed instructions on how to install gnome desktop and VNC

Source: Internet
Author: User
Tags tightvnc
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.