Open reinhardbluelab opened 3 years ago
Did you install the VM with 'Full Graphics' enabled or did you install in 'Console Only' mode?
I have a VM with copy/paste working with Full Graphics, installed with Full Graphics enabled.
I installed the Debian (minimal) image initially in 'console only' mode, but have also tried it with the Debian (LXDE) image in 'full graphics' mode. Paste works in the LXDE image when in 'full graphics' mode. I still can't get it to work in the minimal image when in 'full graphics' mode.
I'm trying to use 'graphics' mode since I need some of the other features that are only available in that display mode, e.g. USB device and directory sharing.
Can you try installing in Graphics Mode if possible?
I did with the LXDE image.
Sorry what do you mean? Did it work with the LXDE image? Or did you unsuccessfully try it with that one in Graphics Mode?
Sorry for not being clear - I updated my previous comment. It is working with the LXDE image, but not with the minimal image. Am I doing something silly by trying to run the minimal image in graphics mode? When you say 'installing in graphics mode', you mean run it in graphics mode the first time, right?
Also, just to be clear, here are the shortcuts I'm using for pasting content:
I’m not sure if the Debian minimal has Graphics Mode support.
In Console Mode I believe that the clipboard sharing is not supposed to work anyway (@osy ?), you simply have to paste by right clicking in the VM window and selecting paste. With Full Graphics it should work by using the guest’s paste shortcut.
With the Debian minimal image nothing is happening when I right click in the VM window in console/graphics modes. In console mode cmd+v is working, but in graphics mode none of the shortcuts (shift+ctrl+v / ctrl+v / cmd+v / ctrl+option+v) are working.
I'm switching to the Debian i3 image, since it seems to be working as well (via the ctrl+option+v shortcut) in graphics display mode.
Alright, good to know. I think this is related to #3094
Although my comment does not address the topic of switching a console install to full graphics mode, I did have some luck troubleshooting and resolving clipboard not functioning in an debian (minimal) install.
I was running into the same problem with clipboard not functioning properly in debian 12 (net install/minimal) installed via graphics mode, running i3wm.
It turned out in my case that spice-vdagent was not running. I've not configured spice in the past, so I expected to sudo systemctl enable spice-vdagent.service
, but this errored out. I opted to launch spice-vdagent
via i3wm:
$ grep spice ~/.config/i3/config
exec --no-startup-id spice-vdagent
Now clipboard appears to be functioning.
Describe the issue Copy-and-paste clipboard content sharing is not working when 'Full Graphics' display mode (under Display tab) is selected. It is working when 'Console Only' display mode is selected. Clipboard sharing was enabled in Sharing tab and the SPICE guest additions were installed.
Configuration
Debug log debug.log