Ubuntu installation vncserver for graphical Remote Desktop

Source: Internet
Author: User

Installation
apt-get updateaptinstall vnc4server
Enable VNC Service
Vncserver

The first boot will require a password, which can be modified later using VNCPASSWD;

See New ' ****:1 ' Desktop is ****:1 (* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Connect to Remote Desktop

to download the "VNC client" software, enter in the server bar:

<ip>:1 (default port is 1)

Optional: Installing the desktop environment

Installing the XFCE desktop environment
(1) Foundation of installation x-windows: #sudo apt-get Install X-window-system-core
(2) Install Login Manager: #sudo apt-get Install XDm (also available for KDM/GDM)
(3) Install Ubuntu Desktop: #sudo apt-get install Xubuntu-desktop (can also be kubunut-desktop/ubuntu-desktop)

Changing the VNC desktop environment

Vncserver default window manager is TWM, this is a very simple window manager, below we change the desktop to Xfce[gnome/kde]

To back up the original Xstartup file:

CP ~/.vnc/xstartup ~/.vnc/xstartup.bak

Modify the VNC boot file

VI ~/.vnc/xstartup

After "X-window-manager &" Enter:

X-window-manager & sesion-manager & xfdesktop & Xfce4-panel & xfce4-menu-plugin &  &&&
Restart Service
Vncserver-Kill :1// here: 1 is the desktop number vncserver:1// generate a new session
Boot from boot

Edit/etc/rc.local on the last line of the file:

su ' /usr/bin/vncserver-name my-vnc-server-depth 16-geometry 1280x800:1 '

Ubuntu installation vncserver for graphical Remote Desktop

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.