Hi all,
I have a Kubuntu 22.04 host and a KVM virtual machine with Sparkylinux 7 kde as guest.
I'm not able to copy and paste to or from the guest.
What I've tried:
- Verified that copy and paste works correctly with other guests
- installed in sparky spice-vdagent
Strangely after a reboot the spice-vdagent is stopped
mirto@vmbianco500:~$ sudo systemctl status spice-vdagent
[sudo] password di mirto:
○ spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; preset: enabled)
Active: inactive (dead)
TriggeredBy: ● spice-vdagentd.socket
mirto@vmbianco500:~$
Also starting the service by hand doesn't work.
What can I do?
The bottom of this page may help https://askubuntu.com/questions/858649/how-can-i-copypaste-from-the-host-to-a-kvm-guest
Well, I'm actually using spice-vdagent.
In the Kubuntu host the spice-vdagentd daemon is active.
I suppose it is working because other guests (Ubuntu-Mate, Kubuntu, Kali) are able to correctly copy and paste.
All clients were created usingVirtual Machine Manager.
UPDATE
The problem is only with Sparky 7 rolling KDE (iso sparkylinux-2022.07-x86_64-kde.iso)
Instead Sparky Gameover edition (iso sparkylinux-2022.07-x86_64-gameover.iso) works correctly
The Sparky Gameover copy and paste correctly ald spice-vdagent is started:
mirto@sparkytest:~$ sudo systemctl status spice-vdagent
[sudo] password di mirto:
● spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; vend>
Active: active (running) since Sat 2022-10-01 10:57:03 CEST; 3min 33s ago
TriggeredBy: ● spice-vdagentd.socket
Process: 1526 ExecStart=/usr/sbin/spice-vdagentd $SPICE_VDAGENTD_EXTRA_ARGS>
Main PID: 1532 (spice-vdagentd)
Tasks: 2 (limit: 6868)
Memory: 1.0M
CPU: 362ms
CGroup: /system.slice/spice-vdagentd.service
└─1532 /usr/sbin/spice-vdagentd
ott 01 10:57:03 sparkytest systemd[1]: Starting Agent daemon for Spice guests...
ott 01 10:57:03 sparkytest systemd[1]: Started Agent daemon for Spice guests.
ott 01 10:57:03 sparkytest spice-vdagentd[1532]: opening vdagent virtio channel
ott 01 10:57:03 sparkytest spice-vdagentd[1532]: Set max clipboard: 104857600
ott 01 10:57:03 sparkytest spice-vdagentd[1532]: Set max clipboard: 104857600
mirto@sparkytest:~$
Instead in Sparky KDE copy&paste don't work and spice-vdagent is stopped
mirto@vmbianco500:~$ sudo systemctl status spice-vdagent
○ spice-vdagentd.service - Agent daemon for Spice guests
Loaded: loaded (/lib/systemd/system/spice-vdagentd.service; indirect; preset: enabled)
Active: inactive (dead)
TriggeredBy: ● spice-vdagentd.socket
mirto@vmbianco500:~$
I'll try again to enable and start the service.
I'dont know what is the difference between the two Sparky versions.
Workaround
With APTus install Mate desktop.
From a Mate session copy&paste works correctly
There is any solution instead of the workaround?