Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

virtualbox and vnc

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Frautoincnam
Guru
Guru
Posts: 368
Joined: Fri May 19, 2017 5:16 am

virtualbox and vnc

  • Quote

Post by Frautoincnam » Thu May 25, 2017 8:52 pm

I'm beginning to use virtualbox on my gentoo host. (app-emulation/virtualbox-5.0.32)
I installed virtualbox-extpack-oracle so I can access my wms with xfreerdp. that's nice.
But I'd prefer to use VNC because I saw a vnc USE in viirtualbox.

Code: Select all

 * Found these USE flags for app-emulation/virtualbox-5.0.32:
 + + vnc                      : Enable VNC (remote desktop viewer) support
http://www.virtualbox.org/manual/ch09.h ... erextpacks (4.2 version and I use 5.0.32) talks about that, and switching between RDP to VNC with
VBoxManage setproperty vrdeextpack VNC
but doesn't work for me :

Code: Select all

VBoxManage: error: No extension pack by the name 'VNC' was found
So my questions :
- where to find the extension pack for 5.0.32 ? Isn't it included in virtualbox-extpack-oracle ?
- is it always the good way to use VNC with VM in 5.0.32 like in 4.2 ?
- what vnc USE used for if it doesn't include this extension ?

Thanks.

NB : Sorry for my english.
NB2 : I know I can connect to my VMs without VNC, with SSH, and I use it.
Top
nasaiya
Apprentice
Apprentice
Posts: 157
Joined: Thu May 17, 2007 6:22 am

  • Quote

Post by nasaiya » Thu Dec 07, 2017 5:33 pm

Hello,
Did you ever figure this out? I've run into the same problem.

The vnc use flag sounds like it should enable this functionality, yet the extpack does not appear to be installed...
If it ain't broke - fix it till it is!
Top
d3xt3r01
n00b
n00b
Posts: 1
Joined: Sun Jul 29, 2018 7:51 am

  • Quote

Post by d3xt3r01 » Sun Jul 29, 2018 8:05 am

Sorry to wake up such an old thread but I had the same issue today and ... I MADE IT !!!
The vnc flag does indeed do --enable-vnc but I think there's a bug in virtualbox's build...
To make it work I ended up doing this:

FEATURES=keepwork emerge virtualbox
cd /var/tmp/portage/app-emulation/virtualbox-5.2.16/work/VirtualBox-5.2.16
# by default for some reason it's 5.2.16_Gentoo and virtualbox doesn't like that string for installation
sed -i 's/@VBOX_VERSION_STRING@/5.2.16/' src/VBox/ExtPacks/VNC/ExtPack.xml
kmk -C src/VBox/ExtPacks/VNC packing
# as root, for some reason doing this as a user fails with some /dev/tty issue
vboxmanage extpack install ./out/linux.amd64/release/packages/VNC-5.2.16r123745.vbox-extpack
vboxmanage setproperty vrdeextpack VNC

Et voila ! Seems to work for me !
All the credits should go https://lists.opensuse.org/opensuse-bug ... 00053.html
The features thingy from the awesome IRC gentoo people !
The sed part I figured out at the end ...
The kmk part I got from the suse list
The vboxmanage from the virtualbox manual
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jul 29, 2018 4:01 pm

Be aware that your workaround will only hold until the next time you need to rebuild virtualbox. To fix this properly, the ebuild needs to be adjusted to do the required steps on its own. You can do this in a local overlay for your own benefit. Once it works, you can ask the Gentoo maintainer for Virtualbox to incorporate the change into the main tree.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic