Unable to connect to graphical server

vedaras85

Member
Oct 30, 2020
7
1
8
40
Hello. I have problem,not working spice on vm with windows and linux os. Windows instaled virtio drivers, linux default included. on vms enabled qxl, with 32mb video memory. Got error on picture-Unable to connect to graphical server .Any ideas to solve it. Tryed recreate certificates pve-root-ca.pem pve-ssl.pem , same results. Firewall disabled. Cant concect over rdp or vnc sessions.
 

Attachments

  • 2021-02-18 13_15_19-.png
    2021-02-18 13_15_19-.png
    35.4 KB · Views: 7
hi,

how are you connecting to your server?
you need to be able to access port 3128 for spice to work
 
Connecting from windows with Remote viever program. Connecting with cfg which one downloaded from proxmox >console>spice.
Tryed to connect spice://192.168.31.221:3128 same error.
 
Connecting from windows with Remote viever program. Connecting with cfg which one downloaded from proxmox >console>spice.
Tryed to connect spice://192.168.31.221:3128 same error.
is the port 3128 on your server accessible from your client?
if you have firewall set up on your PVE then you will have to allow that port from your IP
 
Be aware that the file you get when you open a spice console from the PVE GUI, is only valid for a short time (10 seconds or so). After that you need to download a new one.
 
Disabled firewall pve-firewall stop , same error. Tried on other pc with windows connect same error, so its no my windows pc firewall , av problems.
 
can you check with nmap if the port is really open? nmap your.pve.ip.here -p3128 -vv -Pn -n
 
I have the same problem with Spice.
nmap gives me the following output:
Code:
nmap 172.27.11.22 -p3128 -vv -Pn -n
Starting Nmap 7.80 ( https://nmap.org ) at 2021-02-18 17:18 CET
Initiating Connect Scan at 17:18
Scanning 172.27.11.22 [1 port]
Discovered open port 3128/tcp on 172.27.11.22
Completed Connect Scan at 17:18, 0.00s elapsed (1 total ports)
Nmap scan report for 172.27.11.22
Host is up, received user-set (0.00029s latency).
Scanned at 2021-02-18 17:18:14 CET for 0s

PORT     STATE SERVICE    REASON
3128/tcp open  squid-http syn-ack

Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.02 seconds
 
I have installed Remote Viewer 9.0-256 (64-bit).
This problem happens with a Proxmox 6.3-3 installation. I have another environment that is still running version 5.4-13. I can connect to a Linux desktop with Spice without any problems.
Best
Andreas
 
I did:
deleted
  • /etc/pve/pve-root-ca.pem
  • /etc/pve/priv/pve-root-ca.key
pvecm updatecerts -f
restarted proxmox, but same problem connecting over spice. Seeing new certificates, but maybe I am doing something wrong ?