How To Remote VM On Proxmox Machine

jemiro

New Member
Feb 8, 2022
6
0
1
32
Hello everyone, i wonder can i remote desktop to VM i create on the Promox machine, so i dont need other computer to open WebGUI

Let say i create VM Ubuntu Desktop on my machine, and access it directly from my machine (not access web gui -> remote)
 
hi,

for linux guests you can install a VNC server on it and just access it normally with a VNC client of your choice and the IP address of your VM (if your VM is in a private network without a public IP, you'll need to forward those ports). also take a look at here [0]

for windows guests you can just set up RDP as normal, and access with an RDP client (forwarding ports applies again if no public IP address for the VM) :)

[0]: https://pve.proxmox.com/wiki/VNC_Client_Access
 
I mean, instead using other computer to remote desktop, i wanna open it direcly on my promox machine

PROXMOX Machine - Monitor, so run remote desktop or open GUI direcly from the machine
 
if use that tutorial, its mean i install GUI on my proxmox, run the GUI, and access to VM, in my case, can i direcly startx (or whatever) to VM on my proxmox
 
You still need to use some kind of remote desktop protocol like VNC but if you add a desktop environment to your PVE host you can can run the VNC client directly from the desktop of your PVE server.
 
What can work is passing a GPU and keyboard through and connecting the display to that GPU, that way you'll see the VM's graphic output 1:1 directly, nothing in between, some monitors even support some KVM-switch like functionality, like it has two downstream USB ports, and you can switch which one is used depending on display source selected, so a single keyboard/mouse can be toggled between PVE host and Ubuntu VM.

The simplest and flexible solution will probably still be to install a minimal graphic environment onto PVE and just use SPICE/virt-viewer in full-screen mode, that's quite fast and integrated.