View previous topic :: View next topic |
Author |
Message |
Cadena Perpetua n00b
Joined: 16 Aug 2004 Posts: 57
|
Posted: Sat Sep 03, 2005 2:04 am Post subject: [GeForce] Permisos que se borran al reiniciar... (Cerrado) |
|
|
Hola, basicamente este problema es con la GeForce, pero creo que se puede aplicar a cualquier dispositivo del /dev/ ya que es basicamente un problema de permisos......
Al grano: al querer usar mi GeForce me sale:
Code: |
[b]pablo@busybox ~ $ glxinfo[/b]
name of display: :0.0
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
Violación de segmento
[b]pablo@busybox ~ $ glxgears[/b]
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
Violación de segmento
|
Fui a revisar dicho archivo y me encuentro con esto:
Code: |
Q: OpenGL applications exit with the following error message:
Error: Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.
A: It is likely that a security module for the PAM system may be
changing the permissions on the NVIDIA device files. In most cases
this security system works, but it can get confused. To correct this
problem it is recommended that you disable this security feature.
Different Linux distributions have different files to control this;
please consult with your distributor for the correct method of
disabling this security feature. As an example, if your system has
the file
/etc/security/console.perms
then you should edit the file and remove the line that starts with
"<dri>" (we have also received reports that additional references to
<dri> in console.perms must be removed, but this has not been verified
by NVIDIA). If instead your system has the file
/etc/logindevperms
then you should edit the file and remove the line that lists
/dev/nvidiactl. The above steps will prevent the PAM security system
from modifying the permissions on the NVIDIA device files. Next,
you will need to reset the permissions on the device files back
to their original permissions and owner. You can do that with the
following commands:
chmod 0666 /dev/nvidia* chown root /dev/nvidia*
|
Entonces como root hago:
Code: |
busybox pablo # cd /dev/
busybox dev # chmod 0666 /dev/nvidia*
|
y todo funciona perfecto....... el problema es al reiniciar....... los cambios se pierden...
la pregunta es ¿como le doy permisos definitivos? o sino ¿donde puedo poner ese comando para que se cambien al iniciar el sistema?
escucho ideas...... gracias!
Last edited by Cadena Perpetua on Sun Sep 04, 2005 7:07 pm; edited 1 time in total |
|
Back to top |
|
|
Stolz Moderator
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Sat Sep 03, 2005 4:18 am Post subject: |
|
|
Todo lo que se encuentra en /dev lo crea UDEV y por tanto para controlar los permisos tienes que configurar UDEV. EL archivo de configuración de UDEV se encuentra en /etc/udev/udev.conf. Tienes un buen manual en la documentacion oficial http://www.gentoo.org/doc/en/udev-guide.xml
Segun pone en esa guia:
Quote: | If you use the proprietary driver from nVidia and the X server fails to start on a udev-only system, then make sure you have:
* the nvidia module listed in /etc/modules.autoload.d/kernel-2.6
* a version of nvidia-kernel equal to or greater than media-video/nvidia-kernel-1.0.5336-r2
* a version of baselayout equal to or greater than sys-apps/baselayout-1.8.12 |
Para maś informacion sobre como configurarlo
Saludozzzzzzz |
|
Back to top |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2222 Location: Barcelona
|
Posted: Sat Sep 03, 2005 8:39 am Post subject: |
|
|
Los permisos de los archivos de dispositivo (/dev/...) se configuran desde el archivo /etc/udev/rules.d/. En él hay un archivo 50-udev.rules, que los comentarios del propio archivo recomiendan no modificar, sino crearte otro archivo en el mismo directorio con lo que quieras añadir. _________________ pcmaster |
|
Back to top |
|
|
kalcetoh Guru
Joined: 05 Jun 2005 Posts: 304
|
Posted: Sat Sep 03, 2005 8:25 pm Post subject: actualiza la configuración de udev |
|
|
Es posible que haciendo "etc-update" se te solucione, si has cambiado de version de udev últimamente. |
|
Back to top |
|
|
frodoweb Tux's lil' helper
Joined: 16 Aug 2005 Posts: 107 Location: Palencia
|
Posted: Sun Sep 04, 2005 11:30 am Post subject: |
|
|
... juraria ue solucione eso añadiendo a mi usuario a "video" _________________ David Medina
GNU/Linux Debian, Gentoo
www.frodoweb.com/weblog |
|
Back to top |
|
|
Cadena Perpetua n00b
Joined: 16 Aug 2004 Posts: 57
|
Posted: Sun Sep 04, 2005 7:06 pm Post subject: |
|
|
frodoweb wrote: | ... juraria ue solucione eso añadiendo a mi usuario a "video" |
Juras bien querido amigo
Gracias a TODOS por su aporte...! |
|
Back to top |
|
|
|