HP BL680c XenServer Virtual Machine Installation 4.1.0 - Page 31
VNC screen resolution, Enter, rcSuSEfirewall2 stop, geometry, server-args
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 31 highlights
Installing Linux VMs # yast 2. Use the arrow keys to select Security and Users in the left menu, then Tab to the right menu and use the arrow keys to select Firewall. Press Enter. 3. In the Firewall screen, Tab to the Firewall Configuration: Settings section. Use the arrow keys to select the Allowed Services in the left menu. 4. Tab to the Firewall Configuration: Allowed Services fields on the right. Use the arrow keys to select the Advanced... button (near the bottom right, just above the Next button) and press Enter. 5. In the Additional Allowed Ports screen, type 5900 in the TCP Ports field. Tab to the OK button and press Enter. 6. Tab back to the list of screens on the left side and use the arrow keys to select Start-Up. Tab back to the right and Tab to the Save Settings and Restart Firewall Now button and press Enter. 7. Tab to the Next button and press Enter, then in the Summary screen Tab to the Accept button and press Enter, and finally on the top-level YaST screen Tab to the Quit button and press Enter. 8. Restart the display manager and xinetd service with the following commands: /etc/init.d/xinetd restart rcxdm restart Alternatively, you can disable the firewall until the next reboot by using the rcSuSEfirewall2 stop command, or permanently by using YaST. This can of course expose additional services to the outside world and reduce the overall security of your VM. 4.8.2.5. VNC screen resolution If, after connecting to a Virtual Machine with the Graphical Console, the screen resolution is mismatched (for example, the VM's display is too big to comfortably fit in the Graphical Console pane), you can control it by setting the VNC server's -geometry parameter as follows: 1. Open the /etc/xinetd.d/vnc file with your preferred text editor and find the service_vnc1 section (corresponding to displayID 1). 2. Edit the -geometry argument in the server-args line to the desired display resolution. For example, 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 26