Nvidia e permessi

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
sunreal
Master
Master
Messaggi: 1599
Iscritto il: dom 10 apr 2005, 0:00
Slackware: 14.1
Desktop: kde
Località: P.P.P.

Nvidia e permessi

Messaggio da sunreal »

Mi è successo recemente, e devo dire solo con un paio di giochini, che non riesco ad avviarli, se non da root, e ricevo questo messaggio quando li avvio da user:

Visual Properties Report
------------------------
Compatibility mode, properties unknown.
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.
/usr/bin/torcs: line 53: 5743 Segmentation fault $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*

Allora vado a leggere le FREQUENTLY ASKED QUESTIONS come cosigliato e leggo:

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 QUESTO FILE NON ESISTE
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 NEANCHE QUESTO ESISTE
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*
QUESTO ULTIMO COMANDO MI DA QUESTO OUTPUT


chmod: impossibile accedere a `chown': No such file or directory
chmod: impossibile accedere a `root': No such file or directory

Cosa debbo fare?

AH! Dimenticavo uso slack 10.1 - kernel 2.6.10 - driver nvidia 7167

Avatar utente
Gi0va
Linux 1.x
Linux 1.x
Messaggi: 133
Iscritto il: sab 31 dic 2005, 17:10

Messaggio da Gi0va »

Ma sei sicuro che non sono due comandi separati? mumble muble :roll:

Codice: Seleziona tutto

chmod 0666 /dev/nvidia* 
chown root /dev/nvidia*

sunreal
Master
Master
Messaggi: 1599
Iscritto il: dom 10 apr 2005, 0:00
Slackware: 14.1
Desktop: kde
Località: P.P.P.

Messaggio da sunreal »

Gi0va ha scritto:Ma sei sicuro che non sono due comandi separati? mumble muble :roll:

Codice: Seleziona tutto

chmod 0666 /dev/nvidia* 
chown root /dev/nvidia*
AZZAROLA!! Mi sa che hai ragione. Che foca. Ciao.Grazie.

Rispondi