HP BL680c XenServer Virtual Machine Installation 4.1.0 - Page 29

Setting up SLES-based VMs for VNC, 4.8.2.1. Checking for a VNCserver

Page 29 highlights

Installing Linux VMs where the value of the -geometry parameter can be any valid screen width and height. 4. Save and close the file. 4.8.2. Setting up SLES-based VMs for VNC Note Before setting up your SUSE Linux Enterprise Server VMs for VNC, be sure that you have installed the Linux guest agent. See Section 4.5, "Installing the Linux guest agent" for details. SLES has support for enabling "Remote Administration" as a configuration option in YaST. You can select to enable Remote Administration at install time, available on the Network Services screen of the SLES installer. This will allow you to connect an external VNC viewer to your guest to view the graphical console; the methodology for using the SLES remote administration feature is slightly different than that provided by XenCenter, but it is possible to modify the configuration files in your SUSE Linux VM such that it is integrated with the graphical console feature. 4.8.2.1. Checking for a VNCserver Before making configuration changes, you should verify that you have a VNC server installed. SUSE ships the tightvnc server by default; this is a suitable VNC server, but you can also use the standard RealVNC distribution if you prefer. You can check that you have the tightvnc software installed by running the command: rpm -q tightvnc 4.8.2.2. Enabling Remote Administration If Remote Administration was not enabled during installation of the SLES software, you can enable it as follows: 1. Open a text console on the VM and run the YaST utility: # yast 2. Use the arrow keys to select Network Services in the left menu, then Tab to the right menu and use the arrow keys to select Remote Administration. Press Enter. 3. In the Remote Administration screen, Tab to the Remote Administration Settings section. Use the arrow keys to select Allow Remote Administration and press Enter to place an X in the checkbox. 4. Tab to the Firewall Settings section. Use the arrow keys to select Open Port in Firewall and press Enter to place an X in the checkbox. 5. Tab to the Finish button and press Enter. 6. A messsage box appears telling you that you will need to restart the display manager for your settings to take effect. Press Enter to acknowledge the message. 24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44

Installing Linux VMs
24
where the value of the
-geometry
parameter can be any valid screen width and height.
4.
Save and close the file.
4.8.2. Setting up SLES-based VMs for VNC
Note
Before setting up your SUSE Linux Enterprise Server VMs for VNC, be sure that you have installed
the Linux guest agent. See Section 4.5, “Installing the Linux guest agent” for details.
SLES has support for enabling “Remote Administration” as a configuration option in YaST. You can select
to enable Remote Administration at install time, available on the Network Services screen of the SLES
installer. This will allow you to connect an external VNC viewer to your guest to view the graphical console;
the methodology for using the SLES remote administration feature is slightly different than that provided by
XenCenter, but it is possible to modify the configuration files in your SUSE Linux VM such that it is integrated
with the graphical console feature.
4.8.2.1. Checking for a VNCserver
Before making configuration changes, you should verify that you have a VNC server installed. SUSE ships
the tightvnc server by default; this is a suitable VNC server, but you can also use the standard RealVNC
distribution if you prefer.
You can check that you have the tightvnc software installed by running the command:
rpm -q tightvnc
4.8.2.2. Enabling Remote Administration
If Remote Administration was not enabled during installation of the SLES software, you can enable it as
follows:
1.
Open a text console on the VM and run the YaST utility:
# yast
2.
Use the arrow keys to select Network Services in the left menu, then
Tab
to the right menu and use
the arrow keys to select Remote Administration. Press
Enter
.
3.
In the Remote Administration screen,
Tab
to the Remote Administration Settings section. Use the arrow
keys to select Allow Remote Administration and press
Enter
to place an X in the checkbox.
4.
Tab
to the Firewall Settings section. Use the arrow keys to select Open Port in Firewall and press
Enter
to place an X in the checkbox.
5.
Tab
to the Finish button and press
Enter
.
6.
A messsage box appears telling you that you will need to restart the display manager for your settings
to take effect. Press
Enter
to acknowledge the message.