Use virtual XP to make up for Ubuntu print driver problem

Source: Internet
Author: User

The author wants to use my All-in-one machine on virtual XP to make up for my Ubuntu print driver deficiency. USB port printer in the virtual machine does not respond, do not worry, we have to the system to make a simple setting, the purpose is to let Virutalbox have the right to use our USB device directly.

1. Add User group Usbfs

sudo groupadd usbfs

2. View the GID for the USBFS user group

Cat/etc/group | grep USBFS

USBFS:X:1002:

3. Add current user to Usbfs group sudo gedit/etc/group

Change the usbfs:x:1002: fix to

usbfs:x:1002:{your username, note do not include quotes}

Of course, the above steps can be completely graphical interface operation, position is:system–> System Management –> user and group operation.

4. To reset the permissions for the USB device edit/etc/fstab file, add the following two lines, note that your GID may not be 1002

sudo gedit/etc/fstab

At the end add

# 1002 is the USB group IDI

None/proc/bus/usb Usbfs devgid=1002,devmode=664 0 0

5. After restarting, you should be able to use the USB device on the client computer.

How to use:

Insert a USB device, such as U disk, right click on the virtual machine in the right leg of the USB icon, select the identified U disk, you can use the normal.

6. Virtual machine WinXP and host Ubuntu data sharing, the simplest way is to set the data space, because the author in the use of data space encountered some strange problems, so this part of the next discussion alone.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.