[arch-general] vbox PUEL: copy/pate Arch host - Arch guest not working: VBoxclient-all started
Guys, I have setup Arch in virtualbox to provide a clean environment for the trinity build. Xorg+fluxbox for the environment. One problem I'm having is copy/paste between the host and guest does not work. I have the LinuxAdditions installed and shared folders (mounted uid,gid), X, flux, and copy/paste within the guest works fine, but I can't get it to copy/paste from host-to-guest or guest-to-host. xorg.conf is: 22:18 alchemy:~> cat cnf/vbox/linux-guest/xorg.conf # VirtualBox generated configuration file # based on /etc/X11/xorg.conf. Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" Option "Device" "/dev/vboxguest" Option "CorePointer" "yes" EndSection Section "Monitor" Identifier "Monitor[0]" ModelName "VirtualBox Virtual Output" VendorName "Oracle Corporation" EndSection Section "Device" BoardName "VirtualBox Graphics" Driver "vboxvideo" Identifier "Device[0]" VendorName "Oracle Corporation" EndSection Section "Screen" SubSection "Display" Depth 24 Modes "1280x800" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection ~/.xinitrc is: #!/bin/sh /usr/bin/VBoxClient-all & startfluxbox No display manager installed. I've been through https://wiki.archlinux.org/index.php/VirtualBox and updated a few areas, but I still couldn't find the trick for making host/guest copy/paste work. Anybody know a way to get this working. -- David C. Rankin, J.D.,P.E.
Le 6 févr. 2011 05:27, "David C. Rankin" <drankinatty@suddenlinkmail.com> a écrit :
Guys,
I have setup Arch in virtualbox to provide a clean environment for
the trinity build. Xorg+fluxbox for the environment. One problem I'm having is copy/paste between the host and guest does not work. I have the LinuxAdditions installed and shared folders (mounted uid,gid), X, flux, and copy/paste within the guest works fine, but I can't get it to copy/paste from host-to-guest or guest-to-host. xorg.conf is:
22:18 alchemy:~> cat cnf/vbox/linux-guest/xorg.conf # VirtualBox generated configuration file # based on /etc/X11/xorg.conf.
Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" Option "Device" "/dev/vboxguest" Option "CorePointer" "yes" EndSection
Section "Monitor" Identifier "Monitor[0]" ModelName "VirtualBox Virtual Output" VendorName "Oracle Corporation" EndSection
Section "Device" BoardName "VirtualBox Graphics" Driver "vboxvideo" Identifier "Device[0]" VendorName "Oracle Corporation" EndSection
Section "Screen" SubSection "Display" Depth 24 Modes "1280x800" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection
~/.xinitrc is:
#!/bin/sh /usr/bin/VBoxClient-all & startfluxbox
No display manager installed. I've been through
https://wiki.archlinux.org/index.php/VirtualBox and updated a few areas, but I still couldn't find the trick for making host/guest copy/paste work. Anybody know a way to get this working.
-- David C. Rankin, J.D.,P.E.
Can't you just ssh into your guest ? Alternatively, I get better results using rdesktop and it's clipboard settings while using a Windows guest instead of using the integrated display. Regards, -- Cédric Girard
On 02/06/2011 01:38 AM, Cédric Girard wrote:
Can't you just ssh into your guest ? Alternatively, I get better results using rdesktop and it's clipboard settings while using a Windows guest instead of using the integrated display.
Well, I have access to a shared folder between the host-guest, so I can do the editing on the host and then just copy the filed to where they need to be on the guest. For error messages, I can do that in reverse, writing them to a file on the shared folder and then opening the file in the host and copy/pasting into emails, etc.. But after doing that a number of times, the copy/paste function started looking a whole lot better. I know it works on my windows guest, so I was curious why it was working from a linux-host to linux-guest? I'll keep picking around. Thanks. If there are other comments, please let me know. -- David C. Rankin, J.D.,P.E.
Have you tried both clipboards? -- Cédric Girard
David C. Rankin wrote:
Guys,
I have setup Arch in virtualbox to provide a clean environment for the trinity build. Xorg+fluxbox for the environment. One problem I'm having is copy/paste between the host and guest does not work. I have the LinuxAdditions installed and shared folders (mounted uid,gid), X, flux, and copy/paste within the guest works fine, but I can't get it to copy/paste from host-to-guest or guest-to-host. xorg.conf is:
22:18 alchemy:~> cat cnf/vbox/linux-guest/xorg.conf # VirtualBox generated configuration file # based on /etc/X11/xorg.conf.
Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" Option "Device" "/dev/vboxguest" Option "CorePointer" "yes" EndSection
Section "Monitor" Identifier "Monitor[0]" ModelName "VirtualBox Virtual Output" VendorName "Oracle Corporation" EndSection
Section "Device" BoardName "VirtualBox Graphics" Driver "vboxvideo" Identifier "Device[0]" VendorName "Oracle Corporation" EndSection
Section "Screen" SubSection "Display" Depth 24 Modes "1280x800" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection
~/.xinitrc is:
#!/bin/sh /usr/bin/VBoxClient-all & startfluxbox
No display manager installed. I've been through https://wiki.archlinux.org/index.php/VirtualBox and updated a few areas, but I still couldn't find the trick for making host/guest copy/paste work. Anybody know a way to get this working.
Cannot you just display everything on the host X server by setting DISPLAY to the appropriate value? Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On 02/06/2011 06:10 AM, "Jérôme M. Berger" wrote:
Cannot you just display everything on the host X server by setting DISPLAY to the appropriate value?
Thanks Jerome, That's what I'm doing. I have Arch on my laptop (as the host running kdemod3) and I have virtualbox running with Arch installed in that (as the guest with fluxbox) to build Trinity in. It's all running on my laptop so it should all be the host X server. Am I missing something?? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
On 02/06/2011 08:42 PM, David C. Rankin wrote:
Thanks Jerome,
That's what I'm doing. I have Arch on my laptop (as the host running kdemod3) and I have virtualbox running with Arch installed in that (as the guest with fluxbox) to build Trinity in. It's all running on my laptop so it should all be the host X server. Am I missing something??
I have it solved (sort of). I'm running parcellite in fluxbox (guest) and klipper in kde3 (host). I can copy if I explicitly tell either to 'copy' the selection and then 'paste', but the select/middle-mouse-click isn't working. I'll keep playing with it. -- David C. Rankin, J.D.,P.E.
David C. Rankin wrote:
On 02/06/2011 06:10 AM, "Jérôme M. Berger" wrote:
Cannot you just display everything on the host X server by setting DISPLAY to the appropriate value?
Thanks Jerome,
That's what I'm doing. I have Arch on my laptop (as the host running kdemod3) and I have virtualbox running with Arch installed in that (as the guest with fluxbox) to build Trinity in. It's all running on my laptop so it should all be the host X server. Am I missing something??
Yes, you are missing something: from what you are describing the guest applications are running on the *guest* X server (the fact that it is in turn running inside a virtual machine which runs on the host server is irrelevant). You should make them run on the host X server instead: - Do not start an X server on the guest (whether with fluxbox or any other wm); - Run “export DISPLAY=192.168.x.x:0” in the guest console (replace with the host IP address); - Then run a terminal (xterm, urxvt or whatever) from the guest console. This should open a new window in the *host* environment (i.e in kdemod3), with the terminal actually running in the *guest* environment. You might need to play with “xauth” to authorize the guest to connect on the host. Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
On 02/07/2011 01:15 PM, "Jérôme M. Berger" wrote:
That's what I'm doing. I have Arch on my laptop (as the host running
kdemod3) and I have virtualbox running with Arch installed in that (as the guest with fluxbox) to build Trinity in. It's all running on my laptop so it should all be the host X server. Am I missing something??
Yes, you are missing something: from what you are describing the guest applications are running on the*guest* X server (the fact that it is in turn running inside a virtual machine which runs on the host server is irrelevant). You should make them run on the host X server instead:
- Do not start an X server on the guest (whether with fluxbox or any other wm);
- Run “export DISPLAY=192.168.x.x:0” in the guest console (replace with the host IP address);
- Then run a terminal (xterm, urxvt or whatever) from the guest console. This should open a new window in the*host* environment (i.e in kdemod3), with the terminal actually running in the*guest* environment. You might need to play with “xauth” to authorize the guest to connect on the host.
Thank you Jerome, I was missing the big picture. I'll give it a go and report back! -- David C. Rankin, J.D., P.E.
participants (3)
-
"Jérôme M. Berger"
-
Cédric Girard
-
David C. Rankin