Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 70

Thread: About VirtualBox installation and VMs migration

  1. #51
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: About VirtualBox installation and VMs migration

    That would be why only your user has rw permissions.

    Run this:

    Code:
    chmod -R 666 /data/OVA/
    Use sudo if it gives you permission denied errors.

    Then try importing again.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  2. #52
    Join Date
    Apr 2006
    Beans
    1,750

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by CharlesA View Post
    That would be why only your user has rw permissions.

    Run this:

    Code:
    chmod -R 666 /data/OVA/
    Use sudo if it gives you permission denied errors.

    Then try importing again.
    $ sudo chmod -R 666 /data/OVA/
    [sudo] password for satimis:
    (no complaint)

    I must run sudo otherwise it doesn't work.

    But something strange happened.

    $ ls -l /data/OVA/
    Code:
    ls: cannot access /data/OVA/win76406.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser02a.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser01.ova: Permission denied
    ls: cannot access /data/OVA/linuxmint13.ova: Permission denied
    ls: cannot access /data/OVA/win76405.ova: Permission denied
    ls: cannot access /data/OVA/fedora1700.ova: Permission denied
    ls: cannot access /data/OVA/deb600dk00_1.ova: Permission denied
    ls: cannot access /data/OVA/fedora1701.ova: Permission denied
    ls: cannot access /data/OVA/MyDLP.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser04.ova: Permission denied
    ls: cannot access /data/OVA/essex4.ova: Permission denied
    ls: cannot access /data/OVA/win86400.ova: Permission denied
    ls: cannot access /data/OVA/win76408.ova: Permission denied
    ls: cannot access /data/OVA/sugarub910.ova: Permission denied
    ls: cannot access /data/OVA/enlightmntdk_ub1204dk.ova: Permission denied
    ls: cannot access /data/OVA/cloudera.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser02.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser03.ova: Permission denied
    ls: cannot access /data/OVA/essex2.ova: Permission denied
    ls: cannot access /data/OVA/ws20086405.ova: Permission denied
    ls: cannot access /data/OVA/win76403.ova: Permission denied
    ls: cannot access /data/OVA/deb600dk01.ova: Permission denied
    ls: cannot access /data/OVA/deb600dk02.ova: Permission denied
    ls: cannot access /data/OVA/win76405a.ova: Permission denied
    ls: cannot access /data/OVA/essex3.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser02b.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser05.ova: Permission denied
    ls: cannot access /data/OVA/stackops01.ova: Permission denied
    ls: cannot access /data/OVA/win76400.ova: Permission denied
    ls: cannot access /data/OVA/win73204.ova: Permission denied
    ls: cannot access /data/OVA/sugarub910cn.ova: Permission denied
    ls: cannot access /data/OVA/deb60ser00.ova: Permission denied
    ls: cannot access /data/OVA/essex1.ova: Permission denied
    ls: cannot access /data/OVA/win73203.ova: Permission denied
    ls: cannot access /data/OVA/deb600dk00.ova: Permission denied
    ls: cannot access /data/OVA/ws20086402.ova: Permission denied
    ls: cannot access /data/OVA/cloudoncd.ova: Permission denied
    total 0
    -????????? ? ? ? ?            ? cloudera.ova
    -????????? ? ? ? ?            ? cloudoncd.ova
    -????????? ? ? ? ?            ? deb600dk00_1.ova
    -????????? ? ? ? ?            ? deb600dk00.ova
    -????????? ? ? ? ?            ? deb600dk01.ova
    -????????? ? ? ? ?            ? deb600dk02.ova
    -????????? ? ? ? ?            ? deb60ser00.ova
    -????????? ? ? ? ?            ? deb60ser01.ova
    -????????? ? ? ? ?            ? deb60ser02a.ova
    -????????? ? ? ? ?            ? deb60ser02b.ova
    -????????? ? ? ? ?            ? deb60ser02.ova
    -????????? ? ? ? ?            ? deb60ser03.ova
    -????????? ? ? ? ?            ? deb60ser04.ova
    -????????? ? ? ? ?            ? deb60ser05.ova
    -????????? ? ? ? ?            ? enlightmntdk_ub1204dk.ova
    -????????? ? ? ? ?            ? essex1.ova
    -????????? ? ? ? ?            ? essex2.ova
    -????????? ? ? ? ?            ? essex3.ova
    -????????? ? ? ? ?            ? essex4.ova
    -????????? ? ? ? ?            ? fedora1700.ova

    $ sudo ls -l /data/OVA/
    Code:
    total 158665292
    -rw-rw-rw- 1 satimis satimis  6453506560 Dec 27 16:22 cloudera.ova
    -rw-rw-rw- 1 satimis satimis      736768 Dec 28 23:42 cloudoncd.ova
    -rw-rw-rw- 1 satimis satimis  6901194240 Jan  1 12:37 deb600dk00_1.ova
    -rw-rw-rw- 1 satimis satimis  6901194240 Dec 28 23:55 deb600dk00.ova
    -rw-rw-rw- 1 satimis satimis  5569650688 Dec 29 00:13 deb600dk01.ova
    -rw-rw-rw- 1 satimis satimis  6330367488 Jan  1 10:47 deb600dk02.ova
    -rw-rw-rw- 1 satimis satimis   627798528 Jan  1 10:52 deb60ser00.ova
    -rw-rw-rw- 1 satimis satimis   664978944 Jan  1 10:54 deb60ser01.ova
    -rw-rw-rw- 1 satimis satimis   827026432 Jan  1 10:59 deb60ser02a.ova
    -rw-rw-rw- 1 satimis satimis   869670912 Jan  1 11:02 deb60ser02b.ova
    -rw-rw-rw- 1 satimis satimis   811467776 Jan  1 10:57 deb60ser02.ova
    -rw-rw-rw- 1 satimis satimis   660776448 Jan  1 11:05 deb60ser03.ova
    -rw-rw-rw- 1 satimis satimis   590995456 Jan  1 12:04 deb60ser04.ova
    -rw-rw-rw- 1 satimis satimis   823435776 Jan  1 12:51 deb60ser05.ova
    -rw-rw-rw- 1 satimis satimis  2226749440 Jan  1 12:48 enlightmntdk_ub1204dk.ova
    -rw-rw-rw- 1 satimis userA  2452633600 Jan  1 12:59 essex1.ova
    -rw-rw-rw- 1 satimis userA  2660953088 Jan  1 13:10 essex2.ova
    -rw-rw-rw- 1 satimis userA   710354432 Jan  1 13:16 essex3.ova
    -rw-rw-rw- 1 satimis userA   918861824 Jan  1 13:19 essex4.ova
    -rw-rw-rw- 1 satimis userA  2105741312 Jan  1 13:25 fedora1700.ova
    -rw-rw-rw- 1 satimis userA  3591307264 Jan  1 13:33 fedora1701.ova
    -rw-rw-rw- 1 satimis userA  1751297024 Jan  1 13:43 linuxmint13.ova
    -rw-rw-rw- 1 satimis userA  2598827520 Jan  1 13:50 MyDLP.ova
    -rw-rw-rw- 1 satimis userA   849887232 Jan  1 13:53 stackops01.ova
    -rw-rw-rw- 1 satimis userA  3709683200 Jan  1 22:35 sugarub910cn.ova
    -rw-rw-rw- 1 satimis userA  2921337856 Jan  1 13:59 sugarub910.ova
    -rw-rw-rw- 1 satimis userA  9267556864 Jan  2 22:16 win73203.ova
    -rw-rw-rw- 1 satimis userA  4141147648 Jan  2 21:15 win73204.ova
    -rw-rw-rw- 1 satimis userA  6849847296 Jan  2 20:56 win76400.ova
    -rw-rw-rw- 1 satimis userA  7682361856 Jan  2 20:30 win76403.ova
    -rw-rw-rw- 1 satimis userA 15108390912 Jan  2 18:47 win76405a.ova
    -rw-rw-rw- 1 satimis userA 14303747072 Jan  2 19:26 win76405.ova
    -rw-rw-rw- 1 satimis userA 10331489792 Jan  2 19:57 win76406.ova
    -rw-rw-rw- 1 satimis satimis 15618504192 Jan  1 23:38 win76408.ova
    -rw-rw-rw- 1 satimis satimis  4086231552 Jan  1 23:07 win86400.ova
    -rw-rw-rw- 1 satimis userA  5036638208 Jan  2 18:13

    I couldn't import VM anymore neither as satimis(administrator) NOR as userA

    satimis

  3. #53
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: About VirtualBox installation and VMs migration

    Forgot the execute bit.

    Code:
    sudo chmod -R 775 /data/OVA/
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #54
    Join Date
    Apr 2006
    Beans
    1,750

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by CharlesA View Post
    Forgot the execute bit.

    Code:
    sudo chmod -R 775 /data/OVA/
    Hi,

    Your advice works. satimis(administrator) and users can import VMs after login their accounts. Thanks

    But there are 2 problems popup;

    1)
    After login their own accounts users can import any VM.

    2)
    Administrator can't view all VMs, running on the PC, on his account unless login users' account.

    How to setup:-
    1)
    User can't import VM or even unable to visit /data folder/directory. Only administrator can import the VMs on user's account allowing user running the VMs. Users are only allowed running the VMs on their own accounts

    2)
    Administrator can view all imported VMs running on the PC

    TIA

    Regards
    satimis

  5. #55
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: About VirtualBox installation and VMs migration

    Not possible with Virtualbox because it doesn't support fine grained permissions and each user only has access to their VMs.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #56
    Join Date
    Apr 2006
    Beans
    1,750

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by CharlesA View Post
    Not possible with Virtualbox because it doesn't support fine grained permissions and each user only has access to their VMs.
    Advice noted.

    I'm considering allowing the users working on remote desktop. The VMs are running on the host PC but the users is only allowed to access the VMs remotely, i.e. starting the desktop of VM on their local PCs. Users are NOT allowed to use the host PC, Would it be a solution? Comment and suggestion would be appreciated.


    I haven't run remote desktop for sometimes. Just tested it with following steps;

    (without freenx-server. I did it quite often in the past)

    Server Port: 3389
    IP of VM: 192.168.0.247

    On user's PC run;

    $ ssh -X satimisd600dk00@192.168.0.247

    satimisd600dk00@deb600dk00:~$ gnome-session

    Remote desktop started but the background is still local desktop.

    The top bar of the remote desktop is on the left top bar. I can start its applications. But I couldn't figure out how to display the complete remote desktop with background on the local screen. IIRC I did it in the past.

    Advice would be appreciated. TIA

    satimis

  7. #57
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: About VirtualBox installation and VMs migration

    You could do that but it would be easier to just run NX on the VM and let them connect that way.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #58
    Join Date
    Apr 2006
    Beans
    1,750

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by CharlesA View Post
    You could do that but it would be easier to just run NX on the VM and let them connect that way.
    Whether following link;
    Tutorial: Delivering Linux VMs via the NoMachine NX Protocol
    http://www.leostream.com/resources/Linux-LDAP-NX.php

    is relevent to its setup? Thanks

  9. #59
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by satimis View Post
    Whether following link;
    Tutorial: Delivering Linux VMs via the NoMachine NX Protocol
    http://www.leostream.com/resources/Linux-LDAP-NX.php

    is relevent to its setup? Thanks
    That only applies if you want to do single-signon. If each user has their own account on each VM, you don't need to worry about it.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  10. #60
    Join Date
    Apr 2006
    Beans
    1,750

    Re: About VirtualBox installation and VMs migration

    Quote Originally Posted by CharlesA View Post
    That only applies if you want to do single-signon. If each user has their own account on each VM, you don't need to worry about it.
    Noted. Thanks

    I'm not very clear whether just enable PAE/NX

    On
    Settings -> System -> Processor
    Extended Features [v] Enable PAE/NX


    Re:
    Chapter 3. Configuring virtual machines
    http://www.virtualbox.org/manual/ch03.htm

    "Processor" tab
    Code:
    In addition, the "Enable PAE/NX" setting determines whether the PAE and NX capabilities of the host CPU will be exposed to the virtual machine. PAE stands for "Physical Address Extension". Normally, if enabled and supported by the operating system, then even a 32-bit x86 CPU can access more than 4 GB of RAM. This is made possible by adding another 4 bits to memory addresses, so that with 36 bits, up to 64 GB can be addressed. Some operating systems (such as Ubuntu Server) require PAE support from the CPU and cannot be run in a virtual machine without it.
    Do I need installing NX on the host and the remote machine as well?

    Re:
    Linux + GNU = Humans Enabled
    How to install NX Free Edition on Ubuntu 12.04 Precise Pangolin
    http://www.humans-enabled.com/2012/0...on-ubuntu.html

    How to connect VM on remote PC via NX displaying its desktop locally?

    Regards
    satimis
    Last edited by satimis; January 5th, 2013 at 04:53 AM.

Page 6 of 7 FirstFirst ... 4567 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •