Re: [Vserver] x with nvidia module in vserver?

From: Chuck <chuck_at_sbbsnet.net>
Date: Tue 04 Oct 2005 - 13:34:29 BST
Message-Id: <200510040834.29599.chuck@sbbsnet.net>

On Tuesday 04 October 2005 08:22 am, Torsten Becker wrote:

hmm...for me maybe I should leave my big workstation alone and just create a
vserver for one guest workstation on it which im assuming could load nv since
it is local and honestly it doesnt even need to access the video card. will
research to see if i can run x without a video device:). i only use that 2nd
workstation via a vnc window off my main one and 2 other people access it
from remote. what im trying to do is to free up a whole computer dedicated
only to running a remote desktop.

did you copy the video0-4 device file or did you use mknod to create it?

this will be interesting if someone who has been successful can tell us what
needs to be done :)

> Chuck schrieb:
> Since the vserver can not load a module I load it in the host.
> The host is my also my testsystem for the nvidia-module. I have a
> complete x-workstation installed in the host.
>
> Greets, Torsten
>
> >On Tuesday 04 October 2005 08:08 am, Torsten Becker wrote:
> >
> >I have not tried this yet, but this is one of my priorities after I finish
the
> >servers. I also would be interested in a solution.
> >
> >One question. Do you pre-load the nvidia module at startup so X doesn't
have
> >to try to insert it into the kernel?
> >
> >I am going to need full functionality since I run a heavily loaded twinview
> >desktop.
> >
> >
> >
> >>Hello List,
> >>
> >>I try to run a complete workstation in a vserver including a x-server.
> >>This is no problem since I do not try to use the hardware acceleration
> >>with the nvidia kernel module.
> >>I have set several capabilities for the vserver:
> >>
> >>CAP_CHOWN
> >>CAP_DAC_READ_SEARCH
> >>CAP_FOWNER
> >>CAP_FSETID
> >>CAP_KILL
> >>CAP_SETGID
> >>CAP_SETUID
> >>CAP_SETPCAP
> >>CAP_NET_BIND_SERVICE
> >>CAP_NET_BROADCAST
> >>CAP_NET_RAW
> >>CAP_SYS_MODULE
> >>CAP_SYS_RAWIO
> >>CAP_SYS_CHROOT
> >>CAP_SYS_PTRACE
> >>CAP_SYS_PACCT
> >>CAP_MKNOD
> >>CAP_LEASE
> >>
> >>I copied the device files from the host to the vserver. If I use the
> >>"nv" driver for xfree all is well. But if I try to use "nvidia" xfree
fails
> >>with the error "unable to load kernel module". This is clear for me.
> >>Then I tried to figure out which device is used with the "nv" driver. I
> >>tried to copa the device file /dev/nvidia0-4 from the host to
> >>/dev/video0-4 in the vserver.
> >>But the 3d-accel does not function...
> >>
> >>Does anyone have a hint for me, how I can manage this? Or is it
impossible?
> >>I use this configuration to deploy the workstations to a pool of pc's.
> >>Therefor the security between host and vserver is not first goal.
> >>
> >>Greets, Torsten
> >>
> >>_______________________________________________
> >>Vserver mailing list
> >>Vserver@list.linux-vserver.org
> >>http://list.linux-vserver.org/mailman/listinfo/vserver
> >>
> >>
> >>
> >
> >
> >
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Oct 4 13:34:49 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 04 Oct 2005 - 13:34:52 BST by hypermail 2.1.8