Change:
Describe the bug Copy pasting from host to guest and vice versa is not working on NixOS 20.03. It was working on 19.09. My host system in MacOS; VirtualBox Versions 6.0.16 r135674 (Qt5.6.3) and 6.0.22 r137980 (Qt5.6.3) both exhibit this problem. I’ve set all of the below in my The associated dropdown in the settings pane (“Shared Clipboard”) is set to “Bidirectional”. Further debugging: Trying to see what's running: Comparing this with the same command on 19.09 reveals that I'm missing lines for , and, most tellingly, Trying to get it to run: This seems to be the same bug as the following one for Ubuntu: Notify maintainers
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Just for the record, I'm not a virtualbox maintainer :)
sorry about that, I noticed you were one of the past 4 or 5 committers to the package, and the official maintainer hasn't committed since 2011 (!).
This is for the VirtualBox Guest Additions 6.1.6 (just to clarify, since it can be deduced from the above).
can you try to update the host system's VirtualBox? I suspect the most recent Guest Additions may have developed some incompatibility with older versions of VBox.
I did without success, but did not update the issue's description yet. It's updated now. (to reflect that this is still a problem for 6.0.22 r137980)
The following pages describe similar symptoms (although no fix):
I think I have to add, that I do not have any problems with bidirectionally shared clipboard, I'm using the official virtualbox image. Currently on guests additions 6.1.6. Host is windows 10, but I can't say anything more right now, as I'm not at that computer. I will try to check with a nixOS host later this evening. Also I'll provide more info about my setup at work tomorrow to narrow this down.
In a further attempt at getting at the source of this I replaced my rather non-standard xmonad setup with a (presumably) more standard gnome setup... but to no avail: before: after:
Using the provided OVA () works for me OotB for the bidirectionally shared clipboard on nixOS host as well after enabling it in the machine settings. Won't go to the office today, so can't tell more about the windows hosted machine. Anyway, automatic resize did not work, but thats kind of expected as I neither have installed the patch from the forum, nor the PR from the repo as this was just a 5 minute test machine. You need to show more of your configuration.
Not for me though, with the exact same error (), which seems to rule out that this is somehow related to my NixOS configuration, although it doesn't quite explain the source of the problem yet.
It's working for me in 6.1.10: but see
I marked this as stale due to inactivity. &rarr;
I ran into a similar problem with a nixos guest on win10 host. running in the guest made cnp working
I marked this as stale due to inactivity. &rarr;
Still having this issue, running works but needs to be ran after every reboot running 23.05
Same for NixOS 23.11.

Discussion:
#ln -s $out/lib/VBoxOGL.so $out/lib/dri/vboxvideo_dri.so # Install desktop file <del> mkdir -p $out/share/autostart cp -v other/vboxclient.desktop $out/share/autostart </del> <ins> mkdir -p $out/etc/xdg/autostart cp -v other/vboxclient.desktop $out/etc/xdg/autostart </ins> # Install Xorg drivers mkdir -p $out/lib/xorg/modules/{drivers,input}