Citrix Systems 5.6 Server User Manual


 
28
server_args = :42 -inetd -once -query localhost -geometry 800x600 -depth 16
where the value of the geometry parameter can be any valid screen width and height.
3. Save and close the file.
4. Restart the VNC server:
/etc/init.d/xinetd restart
rcxdm restart
Checking runlevels
Red Hat and SUSE Linux VMs use runlevel 5 for graphical startup. This section describes how to verify that
your VM is configured to start up in runlevel 5 and how to change it if it is not.
1. Check /etc/inittab to see what the default runlevel is set to. Look for the line that reads:
id:n:initdefault:
If n is not 5, edit the file to make it so.
2. You can run the command telinit q ; telinit 5 after this change to avoid having to actually reboot to
switch runlevels.
Preparing to clone a Linux VM
Typically, when cloning a VM or a computer, unless you "generalize" the cloned image, attributes unique to
that machine, such as the IP address, SID, or MAC address, will be duplicated in your environments.
As a result, XenServer automatically changes some virtual hardware parameters when you clone a Linux
VM. If you copy the VM using XenCenter, XenCenter automatically changes the MAC address and IP
address for you. If these interfaces are configured dynamically in your environment, you might not need to
make any modifications to the cloned VM. However, if the interfaces are statically configured, you might
need to modify their network configurations.
The VM may need to be customized to be made aware of these changes. For instructions for specific
supported Linux distributions, see the section called “Release Notes”.
Machine Name
A cloned VM is another computer, and like any new computer in a network, it must have a unique name
within the network domain it is part of.
IP address
A cloned VM must have a unique IP address within the network domain it is part of. Generally, this is not
a problem if DHCP is used to assign addresses; when the VM boots, the DHCP server will assign it an IP
address. If the cloned VM had a static IP address, the clone must be given an unused IP address before
being booted.
MAC address
There are two situations when Citrix recommends disabling MAC address rules before cloning:
1. In some Linux distributions, the MAC address for the virtual network interface of a cloned VM is recorded
in the network configuration files. However, when you clone a VM, XenCenter assigns the new cloned