Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-10-2011, 05:38 AM   #1
Registered: Oct 2010
Posts: 35

Rep: Reputation: Disabled
installing gnome in an OpenVZ container -- /dev/mem: Permission denied

I'm having copious problems trying to put gnome on an OpenVZ-debian 5.0 container. First attempt:
$ aptitude install tasksel
$ tasksel install gnome-desktop --new-install
An ANSI screen appears with a progress bar. Progress bar hangs at 0%, and it appears nothing happens. So I kill everything and start over. Distrusting tasksel, I then tried this instead:
$ aptitude install gnome-desktop
Terminated with errors, apparently due to conflicts with undead tasksel operation (which locked aptitude). Kill -9 didn't work, so I rebooted. Decided to try the tasksel approach again:
$ tasksel install gnome-desktop --new-install
The ANSI status bar immediately started advancing. But it eventually crashed with "tasksel: aptitude failed (255)". Tasksel seems to have trashed my nameserver settings. I'm not sure of the proper way to configure the nameservers in debian, so I just hacked the /etc/resolv.conf so I could move forward. With the network operational (at least temporarily), I again ran:
$ tasksel install gnome-desktop --new-install
The progress bar completed, but again has an unhappy ending: "tasksel: aptitude failed (255)". I thought it merely trashed my nameserver config again, but no, this time resolv.conf is how I left it, and DNS works.

I should add that just before the ANSI progress bar appears, I see this output in the CLI:
    /dev/mem: Permission denied
    /dev/mem: Permission denied
    /dev/mem: Permission denied
But that does not stop tasksel from pressing on, so I'm not sure if /dev/mem is essential to gnome.

Has anyone successfully installed gnome in an openvz container?
Old 04-10-2011, 08:18 AM   #2
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,374

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958

Frankly, I have never WANTED GNOME in a container.
I have installed fluxbox and xfce, then accessed desktops using VNC and XRDP, but never GNOME.

You have aroused my curiosity, however.

Have you checked the OpenVZ documentation, forums, and WIKI pages?
Someone, somewhere, has attempted to do and document almost EVERYTHING in a container, even if it was totally unreasonable to expect it to WORK in a container.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVZ Container Backup vzxen Linux - Virtualization and Cloud 5 09-22-2010 01:53 AM
Reinstall OpenVZ Container OS vzxen Linux - Virtualization and Cloud 0 07-21-2010 02:23 PM
PPTPclient in openVZ container laurens Linux - Newbie 0 03-24-2009 10:32 AM
Startx Permission problems on /dev/null and /dev/mem on freshly compiled Eric_Cartman Linux - Kernel 2 09-09-2007 02:42 AM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration