Citrix Systems 5.5.0 Washer User Manual


 
XenServer Virtual Machine Installation Guide Installing Linux VMs 26
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 message box is displayed, telling you that you will need to restart the display manager for your settings
to take effect. Press Enter to acknowledge the message.
7. The original top-level menu of YaST appears. Tab to the Quit button and press Enter.
Modifying the xinetd configuration
After enabling Remote Administration, you need to modify a configuration file if you want to allow XenCenter
to connect, or else use a third party VNC client.
1. Open the file /etc/xinetd.d/vnc in your preferred text editor.
The file contains sections like the following:
service vnc1
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16
type = UNLISTED
port = 5901
}
2. Edit the port line to read
port = 5900
3. Save and close the file.
4. Restart the display manager and xinetd service with the following commands:
/etc/init.d/xinetd restart
rcxdm restart
SUSE Linux uses runlevel 5 for graphical startup. If your remote desktop does not appear, verify that your
VM is configured to start up in runlevel 5. Refer to the section called “Checking runlevels” for details.
Firewall settings
By default the firewall configuration does not allow VNC traffic to go through. If you have a firewall between
the VM and XenCenter, you need to allow traffic over the port that the VNC connection uses. By default,
a VNC server listens for connections from a VNC viewer on TCP port 5900 + n, where n is the display