Article 53WPD Bodhi in VM: 2 desktop environments installed - problems with copy-and-paste (spice)

Bodhi in VM: 2 desktop environments installed - problems with copy-and-paste (spice)

by
Rosika
from LinuxQuestions.org on (#53WPD)
Hi altogether,

Ive encountered a peculiar problem lately which puzzles me quite a bit.

Heres what Ive done:

Ive been running BodhiLinux (32 bit, latest version, up-to-date) in a virtual machine (qemu/kvm) for quite a while now. My host is Linux/Lubuntu 18.04.4 LTS, 64 bit (also up-to-date).

In order to make copy-and-paste from clipboard work I installed spice-client on my host:

Code:sudo apt-get install spice-client-gtk
sudo apt-get install python-spice-client-gtk
and spice-vdagent on my guest (Bodhi): Code:sudo apt-get install spice-vdagent.

This works very well. The only thing Ive got to do is start it on Bodhi with Code:spice-vdagent. Then clipboard exchange works for the duration of the session (both directions).

Out of curiosity I installed a 2nd desktop-environment on Bodhi (still my VM) with Code:sudo apt-get install lubuntu-core.
That works fine as well and its easy to select the respective desktop-environment at start.

The only thing which gives me problems is spice.

Starting spice with "spice-vdagent" in Bodhi seems to fail now.
"systemctl status spice-vdagent" produces a red line which says:

Code:multiple agents in one session, disabling agent to avoid potential information leak
[and]
closed vdagent virtio channel.

On another occasion I got this:

Code:spice-vdagent.service: Cant open PID file /var/run/spice-vdagentd/spice-vdagentd.pid (yet?) after start: No such file or directory.
This was connected to time-mark 13:53:26.

BUT: "ll /var/run/spice-vdagent" gave me two entries:

"spice-vdagentd.pid" and "spice-vdagent-stock=" both with a time-mark of 13:53 !

So "spice-vdagentd.pid" was created and available after all.

I have no idea why I keep running into that kind of problem. The only explanation Ive got is that it must have something to do with the fact that I have two desktop environments installed (moksha and LXDE) although only one of them is running at any given time of course.

Bodhi-VM running with moksha alone DOESNT produce any problems with spice.

Does anybody know a solution to that?

Thanks a lot in advance.
Greetings.
Rosika :confused:latest?d=yIl2AUoC8zA latest?i=LyHKbjD5jkQ:En1k4xKgImI:F7zBnMy latest?i=LyHKbjD5jkQ:En1k4xKgImI:V_sGLiP latest?d=qj6IDK7rITs latest?i=LyHKbjD5jkQ:En1k4xKgImI:gIN9vFwLyHKbjD5jkQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments