Subject: FW: [vserver] Howto configure graphic card in a guest/Xorg-server configuration
From: Romberg Christo <Christo.Romberg@inga.fi>
Date: Thu, 25 Mar 2010 14:18:19 +0200

 Thu, 25 Mar 2010 14:18:19 +0200
"I've tried the same setup with OpenVZ, but without a lot of troubles, so I switched
to Vserver"

I meant "WITH a lot of troubles...", of course..




-----Original Message-----
From: Romberg Christo [mailto:Christo.Romberg@inga.fi] 
Sent: den 25 mars 2010 10:00
To: vserver@list.linux-vserver.org; Herbert Poetzl
Subject: RE: [vserver] Howto configure graphic card in a guest/Xorg-server configuration

Thank you for the response.

My goal is to set up a couple of kiosk-computers to be used in some public environments..

I'd like to have one host/guest per computer.. directing the end user to the guest system
on boot.
I do not want to use CHROOT due to security issues, and these computers are obsolete
- none of them have VT processors, so KVM is not an option in this case.
I've tried the same setup with OpenVZ, but without a lot of troubles, so I switched
to Vserver

It seems that all other hardware is working inside the container..even the sound.

> you probably need to copy any devices the userspace
> driver part (from xorg) uses when setting up the 
> graphics card into the guest

Where should these devices be located in the filesystem?

Sorry for asking dumb question -  not much of a pro on Linux systems :-P




-----Original Message-----
From: Herbert Poetzl [mailto:herbert@13thfloor.at] 
Sent: den 24 mars 2010 16:00
To: Romberg Christo
Cc: vserver@list.linux-vserver.org
Subject: Re: [vserver] Howto configure graphic card in a guest/Xorg-server configuration

On Wed, Mar 24, 2010 at 12:34:05PM +0200, Romberg Christo wrote:
> I'm trying to get X to work in a guest. 

first, let me ask 'what is your goal?'

> On this page http://oldwiki.linux-vserver.org/MoreUbuntu it is
> written: "For accelerated Xorg, specific device nodes might
> need to be assigned for each seat, e.g. for NVidia driver
> /dev/nvidia*. Use the lspci command to find out PCI BusId?
> <http://oldwiki.linux-vserver.org/BusId?action=edit> to be assigned
> for each Xorg-Desktop (seat). Use lspci -X to get a suitable format
> for use in xorg.conf. "

> I've come to the conclusion that my graphics card has BusID: PCI:0:2:0
> - when I run 'lspci -vvv' I get the list of all PCI-devices, and I
> find:

> "00:02.0 VGA compatible controller: Intel corporation 82865G
> Integrated Graphivs Contr... "

> Should I then copy the device nodes from host to guest or should I
> just reference it in the guest's xorg.conf file (e.g. Driver "intel",
> BusID "PCI:0:2:0") ?

you probably need to copy any devices the userspace
driver part (from xorg) uses when setting up the 
graphics card into the guest

HTH,
Herbert