luigi ha scritto:
allora ho usato strace. ho usato xxdiff per vedere le differenze tra i due file di log, ma sinceramente non so cosa ricavarne. se qualcuno vuole aiutarmi allego i due file ottenuti

Ho dato una occhiata veloce, notando questo:

$ diff startxroot.log startxuser.log | grep Permiss
 > open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = -1 EACCES
(Permission denied)
 > open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1
EACCES (Permission denied)

Puoi controllare, quando sei in console, proprietari e permessi di
/dev/tty
/dev/null
?

I miei sono

$ ls -l /dev/null /dev/tty
crw-rw-rw-  1 root root 1, 3 2005-02-10 14:59 /dev/null
crw-rw-rw-  1 root tty  5, 0 2005-02-10 14:02 /dev/tty

Inoltre

$ strace startx 2>&1 | egrep "(null|tty)"
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3


Cristian


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Rispondere a