Mouse and keyboard doesn't work on Spice

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
Hello,

I just added back a virtual display with the following settings

1702397435821.png


Since then the mouse and keyboard stopped working in Spice web view.

Spice debug logs

Error: Permission denied.

Connected to ws://10.0.10.13:81/vm/display/17/

main: Unknown message type 109!

keyboard channel is insecure

Unimplemented function 108(Inval All Palettes) [ further notices suppressed ]

Unimplemented function 102(Display Mark) [ further notices suppressed ]

main: Unknown message type 109!
 

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
New error related to keyboard.
Error: Permission denied.
Connected to ws://10.0.10.13:81/vm/display/36/
main: Unknown message type 109!
keyboard channel is insecure
Unimplemented function 108(Inval All Palettes) [ further notices suppressed ]
Unimplemented function 102(Display Mark) [ further notices suppressed ]
 

CheeryFlame

Contributor
Joined
Nov 21, 2022
Messages
184
I think it has to do with the fact I've installed Parsec on my vm to access it. Parsec got disconnected after I added 2fa and this is where I figure out Spice wouldn't work.

I was semi-able to get around my issues and get Parsec running again.
  1. Reset the VM 2x times when on the logon screen to boot in safe mode
  2. Navigate through the options and find the option to restart in safe mode
  3. Uninstall the Virtual Display driver from Parsec
  4. Reboot and now only the keyboard will be working
  5. Reinstall Parsec with the virtual display driver
  6. Reinstall virtio tools
  7. Reboot
Reinstalling gave me the keyboard control in Spice, still I don't have any mouse control.
 

newguy123

Dabbler
Joined
Jun 5, 2022
Messages
23
it doesnt only have to do with parsec. i am running a normal stock ubuntu install through the provided SPICE interface and getting this:

Unimplemented function 108(Inval All Palettes) [ further notices suppressed ] Unimplemented function 102(Display Mark) [ further notices suppressed ] keyboard channel is insecure Unimplemented function 126(Display Stream Destroy All) [ further notices suppressed ] FIXME: DrawCopy we don't handle clipping yet
 

-Andrew

Cadet
Joined
Jan 7, 2024
Messages
1
I'm running into the same problem with a lubuntu install.
I've been able to get it working for ~30 seconds after restarting the VM.

Code:
Error: Permission denied.
Connected to ws://192.168.86.80/vm/display/3/
keyboard channel is insecure
Unimplemented function 108(Inval All Palettes) [ further notices suppressed ]
Unimplemented function 102(Display Mark) [ further notices suppressed ]
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
Use a Spice client such as virt viewer or Remmina or others on your PC instead of the Truenas UI.
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
It would be the IP of Truenas machine and port assigned to the display device of that vm in truenas. Assuming you've properly setup the bridge you'll likely need anyway.
 
Last edited:

TheRiceKing

Dabbler
Joined
Jan 14, 2023
Messages
11
I have this exact issue on TrueNAS-SCALE-23.10.1.1

Error: Permission denied.

Connected to wss://10.0.0.10/vm/display/100/

keyboard channel is insecure

Unimplemented function 108(Inval All Palettes) [ further notices suppressed ]

Unimplemented function 102(Display Mark) [ further notices suppressed ]

FIXME: DrawCopy we don't handle clipping yet
 

Louis2

Contributor
Joined
Sep 7, 2019
Messages
177
I am trying to setup a FreeBSD14 VM and also in my case mouse and keyboard are not working.
I spend a couple of hours trying to fix it, but ... not working
reason unkown
 
Top