Linux Install on XenServer How to display the graphical interface

Source: Internet
Author: User

centos5.8 64-bit and CentOS 6.5 64-bit

XenServer install Linux when the default use of VHM, select the corresponding virtual machine template installed Linux is the Linux text interface.

VHM to PV method groping in ...

Installation of centos5.8

Install with centos5 64-bit template, advanced OS boot parameters plus VNC (is not UTF8 cause the Chinese version of Linux not garbled? Do you want to change to Unicobe? )

CD Found Select Skip

Choose a language selected in English (otherwise, the console console in the Chinese display garbled, but does not affect the system.) Later VNC connection display Chinese is no problem)

Configure TCP/IP Select the custom IPv4 setting and turn IPv6 off.

The Manual TCP/IP configuration sets the IP address, mask, gateway, and DNS.

The system enters the following interface

This time with the VNC connection will be as shown, the normal installation system can be.

After installing the system, reboot the system, the console display is this:

XenServer installation of Xs-tools tools

Xencenter hung in Xs-tools.iso

[Email protected] ~]# mount/dev/xvdd/mnt
Mount:block DEVICE/DEV/XVDD is write-protected, mounting read-only

Under the/mnt/linux directory, run./install.sh Press Y to confirm that the installation is successful and restart.

The configuration process for VNC:

1. Configure the VNC configuration file

Vi/etc/sysconfig/vncservers

vncservers= "0:root" #引号内是连接用户ID和用户名, separated by spaces such as "0:root 1:abc"

vncserverargs[0]= "-geometry 1024x768" #设置一个分辨率即可. The ID in brackets corresponds to the user ID

2. Set the access password for VNC

[Email protected] ~]# Vncserver passwd

3. Setting up the VNC desktop display mode

[Email protected] ~]# Vi/root/.vnc/xstartup
#!/bin/sh

# Uncomment the following-lines for normal desktop:
Unset Session_manager
Exec/etc/x11/xinit/xinitrc

[-x/etc/vnc/xstartup] && Exec/etc/vnc/xstartup
[-R $HOME/. Xresources] && Xrdb $HOME/. Xresources
Xsetroot-solid Grey
Vncconfig-iconic &
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
#twm & "It ' s used KDE"
Gnome Session & # "It ' s used GNOME"

4. Start VNC and set up with system boot

Service Vncserver Start

Chconfig Vncserver on

5. Turn off iptables or set VNC port release

6. Turn off SELinux

7. Click the switch to graphical console button in the upper right corner of the Xencenter console window (this button is grayed out when VNC is not set)

Centos6.5 64-bit installation is the same as 5.8, just do not configure "set up VNC desktop display mode"

Linux Install on XenServer How to display the graphical interface

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.