Sunday, January 7, 2018
proxmox tips
proxmox tips
To force a vm to shutdown you cant do it from the web interface so instead youll have to ssh in and use your root username and password. Once youre sshd in type:
qm shutdown <vmid> -forceStop
more details at: http://pve.proxmox.com/wiki/Manual:_qm
Proxmox is a nice setup overall, but the java vnc interface to view the desktop of the vm is just lousy. A way around that is to ssh in and go to the /etc/pve/nodes/proxmox/qemu-server directory. In the 1##.conf file (where 1## is the id of the VM), put the following lines:
args: -vnc 0.0.0.0:10
You can do this with each vm, just make sure the change the number after the last colon, as
each vnc connection has to be on its own port. Then you can vnc using your favorite vnc viewer, and use the ip address/hostname of the proxmox server followed by a : and the number thats at the end of the line you put in the VMs config file. In this case it would be "vncviewer proxmox-machine:10"
More details on your vnc options and proxmox are at: http://pve.proxmox.com/wiki/Vnc_2.0
For tips on how to deal with the screen resolution of linux in a VM (both X and console):
http://thescriptingadmin.blogspot.com/2013/04/fedora-too-high-resolution-in-vm.html