Ubuntu 14.04 Configuring VNC service Configuration Xfce4 Desktop

Source: Internet
Author: User

First, install the configuration VNC

1. First install VNC

Install Vnc4server

2. Set the password for VNC

vncpasswd

Enter the password, and then confirm it again, OK.

3. Start VNC

Vncserver:1

New ' node1:1 (root) ' Desktop is node1:1

Starting applications specified In/root/.vnc/xstartup
Log file Is/root/.vnc/node1:1.log

Started successfully.

Second, the Client connection

The client installs Vncview and then connects

Input IP, input ip:no, that is, IP address plus session number, just opened the account is 1, here input

1.1.1.1:1

Then enter the password and you can connect

Because there is no desktop environment, so we need to install one, here using Xface

Third, installation Xface

Install xfce4 

The process is relatively long, the size of 200MB or so. When the installation is complete, we can call Xface using VNC.

Change the VNC configuration to load the Xface desktop.

vi ~/.vnc/xstartup 

The original configuration to comment out, the new xface configuration can be, under the configuration file:

[Email protected]:~$Cat~/.vnc/Xstartup #!/bin/SH# Uncomment the following and the lines fornormal desktop:# unset session_manager# exec/etc/x11/xinit/xinitrc[-x/etc/vnc/xstartup] && exec/etc/vnc/xstartup[-R $HOME/. Xresources] && Xrdb $HOME/. Xresourcesxsetroot-Solid Greyvncconfig-iconic &x-terminal-emulator-geometry 80x24+Ten+Ten-ls-title"$VNCDESKTOP Desktop"&#x-window-manager &sesion-manager & Xfdesktop & Xfce4-panel &Xfce4-menu-plugin &XFSETTINGSD&XFCONFD&XFWM4&

Then restart VNC.

[Email protected]:~$ vncserver-kill :13478[email protected]-server:~$ Vncserver:1'phpdragon-server:1 (phpdragon)' Desktop is Phpdragon-server:1 in/home/phpdragon/.vnc/file is/home/ Phpdragon/.vnc/phpdragon-server:1. Log

Then connect with the client,

Ps:

http://blog.csdn.net/bykjscn/article/details/8140566

Ubuntu 14.04 Configuring VNC service Configuration Xfce4 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.