Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-03-2014, 10:43 AM
|
#1
|
Member
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161
Rep:
|
VirtualBox: USB2 is not working
Hi!
I installed VirtualBox from SlackBuild (all the packages)
USB2 is not working
Also my Win7 virtualmachine shows only a smal Win7 display of 1/3 of my screen size. Can't get a full size.
What can be wrong?
Thanks in advance
JL
|
|
|
05-03-2014, 11:04 AM
|
#2
|
Senior Member
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135
|
I'm not 100% certain, but I *believe* you need to install the extension pak in order to enable usb (or to easily enable it), plus guest additions should be installed (from within the vm) in order to get the flexibility with window sizing.
Plus, though it may not be your cup of tea, and no offense to those responsible for the slackbuilds, but I've had more success with the binaries...ymmv.
cheers,
|
|
1 members found this post helpful.
|
05-03-2014, 11:36 AM
|
#3
|
Member
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161
Original Poster
Rep:
|
Thank you for your suggestion, mrclisdue.
I installed all the packages including those you mentioned.
No way.
So I might go the way you did.
One question, though. Once everything compiled from the source, is everything working?
In my case I need an Ubuntu and a Win7 virtual machine.
Would they be working 100%?
Thanks,
JL
|
|
|
05-03-2014, 11:50 AM
|
#4
|
LQ Newbie
Registered: May 2014
Distribution: Slackware 14.1 multilib, Slackware64 14.1, Slackware 14.1
Posts: 7
Rep:
|
You need to add a file for udev before usb will work with non-root users. (using the binary version from virtualbox.org anyways, not sure about from source)
/etc/udev/rules.d/60-vboxdrv.rules:
Quote:
KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/opt/VirtualBox/VBoxCreateUSBNode.sh --remove $major $minor"
|
|
|
|
05-03-2014, 12:34 PM
|
#5
|
Senior Member
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135
|
@jayhel
I've recently done 4 installs using -current and the binaries, and ultimately Win7 in a vm, and I've not had any issues whatsoever.
Also, DrKrieger may be on to something - I've never had to manually create that rule, so I'm going to assume it's created by the binary during the install, because it exists on my systems. So perhaps it's not created when installing the slackbuild?
cheers,
|
|
|
05-03-2014, 03:21 PM
|
#6
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by jayhel
Hi!
I installed VirtualBox from SlackBuild (all the packages)
USB2 is not working
|
Are you in the vboxusers group?
|
|
|
05-03-2014, 03:59 PM
|
#7
|
Member
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161
Original Poster
Rep:
|
I desinstalled the Slackbuild's VirtualBox.
I installed the VirtualBox(dot)org version instead along with the extension pack.
Now the USB2 is working fine.
But Win7 stays in a window half the size of the hp240's screen and doesn't expand to full screen.
So now the question is:
How to have Win7 full screen?
JL
|
|
|
05-03-2014, 05:35 PM
|
#8
|
Member
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161
Original Poster
Rep:
|
Solved!
I desinstalled the Slackbuild's VirtualBox.
I installed the VirtualBox(dot)org version instead along with the extension pack.
Now the USB2 is working fine.
And I installed the Guest Additon in Win7.
Now I have Win7 working fine, full screen, also.
So everything is solved.
Thank you for your help.
Rgs,
JL
|
|
|
05-04-2014, 09:12 AM
|
#9
|
LQ Newbie
Registered: May 2009
Distribution: Slackware, Mythbuntu
Posts: 24
Rep:
|
There's a 'UserManual.pdf' that's included with every install (should be in /opt/VirtualBox/UserManual.pdf and also on their site) that comes in handy quite often. They keep it up to date with each version release too so when you're looking for something specific the Table of Contents is usually current.
|
|
|
All times are GMT -5. The time now is 06:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|