joshpatten / PVE-VDIClient

Proxmox based VDI client
Apache License 2.0
811 stars 113 forks source link

Unable to establish connection to display server (Debian 12) #116

Open dexter74 opened 4 months ago

dexter74 commented 4 months ago

Hello,

When i started launch for connect on VM, i take at this error.

Information:

Proxmox : 8.2.4
Windows 10 : vdiclient-2.0.2-64.msi, virt-viewer-x64-11.0-1.0.msi
[General]
title         = Proxmox
theme         = LightBlue
icon          = vdiicon.ico
logo          = vdiclient.png
kiosk         = False
fullscreen    = True
inidebug      = True
guest_type    = both
show_reset    = True

[Hosts.PVE]
hostpool      = { "192.168.0.2" : 8006 }
auth_backend  = pam
auth_totp     = false
tls_verify    = false
user          = XXX
token_name    = XXXX
token_value   = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
auto_vmid     = 201

[SpiceProxyRedirect]
Proxmox.local:3128    = 192.168.0.2:6000

#[AdditionalParameters]
#enable-usbredir      = true
#enable-usb-autoshare = true

Debug

[virt-viewer]
host-subject      = OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=Proxmox.lan
delete-this-file  = 1
password          = 83cc065c8916697cd41a52da971a75ed5ceb6e00
type              = spice
toggle-fullscreen = Shift+F11
title             = VM 201 - Debian-12-Desktop
release-cursor    = Ctrl+Alt+R
tls-port          = 61000
secure-attention  = Ctrl+Alt+Ins
proxy             = http://Proxmox.Lan:3128
host              = pvespiceproxy:668ec721:201:proxmox::f5cf89c702a39ecfb70b05794fb43cd67e0d4b31

image


image

Note

cd /root/PVE-VDIClient
pip3 install proxmoxer   --break-system-packages 
pip3 install PySimpleGUI<5.0.0 --break-system-packages
python3 /root/PVE-VDIClient/vdiclient.py
dexter74 commented 4 months ago

Work 👍

Authentification by PVE on this exemple .

[General]
title         = Proxmox By Drthrax74
theme         = LightBlue
icon          = vdiicon.ico
logo          = vdiclient.png
kiosk         = False
fullscreen    = False
inidebug      = True
guest_type    = qemu
show_reset    = True

[Hosts.Proxmox]
auth_backend  = pve
auth_totp     = false
tls_verify    = false
user          = XXXXXXXXXXXXXXXXXXXXXXXXXXX
token_name    = XXXXXXXXXXXXXXXXXXXXXXXXXXX
token_value   = XXXXXXXXXXXXXXXXXXXXXXXXXXX
hostpool      = { "192.168.0.2" : 8006 }
#auto_vmid    = 201

[SpiceProxyRedirect]
proxmox.lan:3128 = 192.168.0.2

[AdditionalParameters]
type         = spice
host-subject = OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=proxmox.lan
jackalltrades101 commented 3 months ago

it was DNS......it's always DNS.......for some reason no matter how I passed the proxy argument matching my dns setup, would not connect to graphical server. Putting prox.home in my dns records got it running though.