Subject: Re: [vserver] Howto configure graphic card in a guest/Xorg-server configuration
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 24 Mar 2010 15:00:19 +0100

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