Quelques questions au sujet de Vesa, maintenant

Monstre:/home/vsftpd# init 3
Monstre:/home/vsftpd# ps aux |grep x
root 799 0.0 0.0 0 0 ? S< 23:18 0:00 [ata_aux]
root 3618 0.0 0.0 3800 436 ? Ss 23:22 0:00 /sbin/klogd -x
100 3960 0.0 0.0 35896 1124 ? Ss 23:22 0:00 /usr/sbin/exim4 -bd -q30m
root 4416 0.0 0.0 14972 1092 pts/0 R+ 23:27 0:00 ps aux
root 4417 0.0 0.0 5172 760 pts/0 D+ 23:27 0:00 grep x
Monstre:/home/vsftpd# ps aux |grep gdm
root 4123 0.0 0.0 69548 2000 ? Ss 23:22 0:00 /usr/sbin/gdm
root 4129 0.0 0.0 77096 2748 ? S 23:22 0:00 /usr/sbin/gdm
root 4130 0.2 0.1 40156 6996 tty7 Ss+ 23:22 0:00 /usr/bin/X :0 -dpi 96 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
gdm 4285 0.1 0.4 96096 17928 ? Ss 23:22 0:00 /usr/lib/gdm/gdmgreeter
root 4419 0.0 0.0 7236 844 pts/0 S+ 23:27 0:00 grep gdm
Monstre:/home/vsftpd# /etc/init.d/gdm stop
Stopping GNOME Display Manager: gdm.
Monstre:/home/vsftpd# ps aux |grep gdm
root 4434 0.0 0.0 7232 836 pts/0 S+ 23:28 0:00 grep gdm

Avec Ctrl-Alt F1, j’ai tjs un écran noir… Si je suis cette commande en local, je ne suis pas supposé repasser en mode console, au niveau de mon écran? Ca m’étonne.

Bref, quand tu dis “stopper xorg” je suppose que tu veux dire stopper gdm. Ce qui est fait (j’ai même dû le refaire en insistant un peu car la commande ne m’a pas rendu la main, le premier coup).

J’ai donc bien sûr aussi dégagé le lock (Rien à voir avec “Lost”… :mrgreen: :mrgreen: Ok je sors…) :

Monstre:/home/vsftpd# rm /tmp/.X1-lock
rm: ne peut enlever `/tmp/.X1-lock’: Aucun fichier ou répertoire de ce type

Et je recommence :
Monstre:/tmp# strace xinit xeyes – :1 2> /tmp/TRACE
Monstre:/tmp# cat TRACE
execve("/usr/bin/xinit", [“xinit”, “xeyes”, “–”, “:1”], [/* 15 vars */]) = 0
brk(0) = 0x504000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca0ddc000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca0ddd000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42419, …}) = 0
mmap(NULL, 42419, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2afca0ddf000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\374”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1084680, …}) = 0
mmap(NULL, 2133536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2afca0fdd000
mprotect(0x2afca10df000, 1048576, PROT_NONE) = 0
mmap(0x2afca11df000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x2afca11df000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, …}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2afca11e6000
mprotect(0x2afca1330000, 2093056, PROT_NONE) = 0
mmap(0x2afca152f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2afca152f000
mmap(0x2afca1534000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2afca1534000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=9968, …}) = 0
mmap(NULL, 1056744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2afca1539000
mprotect(0x2afca153b000, 1044480, PROT_NONE) = 0
mmap(0x2afca163a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2afca163a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\23\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19848, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca163b000
mmap(NULL, 1066608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2afca163c000
mprotect(0x2afca1641000, 1044480, PROT_NONE) = 0
mmap(0x2afca1740000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2afca1740000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, …}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2afca1741000
mprotect(0x2afca1743000, 2097152, PROT_NONE) = 0
mmap(0x2afca1943000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2afca1943000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca1945000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca1946000
arch_prctl(ARCH_SET_FS, 0x2afca1945af0) = 0
mprotect(0x2afca152f000, 12288, PROT_READ) = 0
munmap(0x2afca0ddf000, 42419) = 0
access("/root/.xinitrc", F_OK) = -1 ENOENT (No such file or directory)
access("/root/.xserverrc", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x504000
brk(0x525000) = 0x525000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2afca1217f80}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2afca1217f80}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0
clone(_XSERVTransSocketINETCreateListener: …SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn’t already running
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2afca1945b80) = 7249
setpriority(PRIO_PROCESS, 7249, 4294967295) = 0
wait4(7249, 0x503b88, WNOHANG, NULL) = 0
write(2, “\n”, 1
) = 1
alarm(15) = 0
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
— SIGCHLD (Child exited) @ 0 (0) —
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
— SIGALRM (Alarm clock) @ 0 (0) —
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2afca1217f80}, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2afca1217f80}, 8) = 0
rt_sigreturn(0xe) = -1 EINTR (Interrupted system call)
alarm(0) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
uname({sys=“Linux”, node=“Monstre”, …}) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X1"}, 19) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
access("/root/.Xauthority", R_OK) = 0
open("/root/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=0, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2afca0ddf000
read(4, “”, 1024) = 0
close(4) = 0
munmap(0x2afca0ddf000, 4096) = 0
writev(3, [{“l\0\v\0\0\0\0\0\0\0\0\0”, 12}], 1) = 12
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, “\1\0\v\0\0\0009\0”, 8) = 8
read(3, “\10\250-\4\0\0 \0\377\377\37\0\0\1\0\0\24\0\377\377\1\7”…, 228) = 228
write(3, “7\0\5\0\0\0 \0:\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0”…, 64) = 64
read(3, “\1c\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\360\31”…, 32) = 32
read(3, “\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\360\31”…, 32) = 32
write(3, “\203\0\1\0”, 4) = 4
read(3, “\1c\4\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\360”…, 32) = 32
writev(3, [{“b\0\5\0\t\0 \0”, 8}, {“XKEYBOARD”, 9}, {"\0\0\0", 3}], 3) = 20
read(3, “\1c\5\0\0\0\0\0\1\223]\241\0\0\0\0\0\0\0\0\0\0\0\0\360”…, 32) = 32
write(3, “\223\0\2\0\1\0\0\0”, 8) = 8
read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0`c|\34\377\177\0\0\240”…, 32) = 32
vfork() = 7255
wait4(-1, NULL, 0, NULL) = 7249
rt_sigaction(SIGTERM, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2afca1217f80}, 8) = 0
write(3, “<\0\2\0\0\0 \0+\0\1\0”, 12) = 12
read(3, “\1\0\10\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\360\31”…, 32) = 32
shutdown(3, 2 /* send and receive */) = 0
close(3) = 0
kill(4294960041, SIGHUP) = 0
kill(4294960047, SIGTERM) = -1 ESRCH (No such process)
exit_group(0) = ?
Process 7248 detached
Monstre:/tmp#

Bien sûr, je n’ai toujours rien.

Intéressante, cette commande. Ca ne me semble pas super évident à interpréter, toutefois (je ne suis pas encore assez calé). Strace retrace les appels systèmes et les signaux.

Si j’interprète bien : “strace xinit xeyes – :1 2> /tmp/TRACE” va tracer ce qui se passe en fond de tâche et (là tu me dis si je fais erreur) surtout redirige la sortie du canal d’erreur (stderr - a contrario de stdin et stdout), pour le serveur :1 (je ne comprends pas ce que tu appelle le serveur :1, en revanche), lorsque tu executes le script d’exécution de xeyes, vers le fichier /tmp/TRACE.

Tu connais un site pour trouver des infos là-dessus? Ca a l’air super utile pour débugger un problème.:slightly_smiling:

[quote=“sonador”]Monstre:/home/vsftpd# init 3
Monstre:/home/vsftpd# ps aux |grep x
root 799 0.0 0.0 0 0 ? S< 23:18 0:00 [ata_aux]
root 3618 0.0 0.0 3800 436 ? Ss 23:22 0:00 /sbin/klogd -x
100 3960 0.0 0.0 35896 1124 ? Ss 23:22 0:00 /usr/sbin/exim4 -bd -q30m
root 4416 0.0 0.0 14972 1092 pts/0 R+ 23:27 0:00 ps aux
root 4417 0.0 0.0 5172 760 pts/0 D+ 23:27 0:00 grep x
Monstre:/home/vsftpd# ps aux |grep gdm
root 4123 0.0 0.0 69548 2000 ? Ss 23:22 0:00 /usr/sbin/gdm
root 4129 0.0 0.0 77096 2748 ? S 23:22 0:00 /usr/sbin/gdm
root 4130 0.2 0.1 40156 6996 tty7 Ss+ 23:22 0:00 /usr/bin/X :0 -dpi 96 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
gdm 4285 0.1 0.4 96096 17928 ? Ss 23:22 0:00 /usr/lib/gdm/gdmgreeter
root 4419 0.0 0.0 7236 844 pts/0 S+ 23:27 0:00 grep gdm
Monstre:/home/vsftpd# /etc/init.d/gdm stop
Stopping GNOME Display Manager: gdm.
Monstre:/home/vsftpd# ps aux |grep gdm
root 4434 0.0 0.0 7232 836 pts/0 S+ 23:28 0:00 grep gdm

Avec Ctrl-Alt F1, j’ai tjs un écran noir… Si je suis cette commande en local, je ne suis pas supposé repasser en mode console, au niveau de mon écran? Ca m’étonne.

Bref, quand tu dis “stopper xorg” je suppose que tu veux dire stopper gdm. Ce qui est fait (j’ai même dû le refaire en insistant un peu car la commande ne m’a pas rendu la main, le premier coup).
[/quote]
Non, c’est X qui tourne qu’il faut arrêter. gdm n’est qu’un client. Il ne faut pas de lignes X dans ps ax.

Tu as toujours X qui tourne. Il te faut flinguer ce X et lancer la commande. Visiblement X est gelé…

Ok… je crois que j’ai trouvé :

sh-3.1$ ps aux | grep X
root 7105 0.0 0.2 46232 11504 tty7 S<s+ 00:24 0:00 X :1
1009 19922 0.0 0.0 7236 836 pts/3 S+ 13:47 0:00 grep X
sh-3.1$ kill -9 7105
sh-3.1# ps aux | grep X
root 19944 0.0 0.0 7232 832 pts/3 S+ 13:48 0:00 grep X

Je lance la commande et j’update, ici.

execve("/usr/bin/xinit", [“xinit”, “xeyes”, “–”, “:1”], [/* 15 vars */]) = 0
brk(0) = 0x504000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2526d74000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2526d75000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42419, …}) = 0
mmap(NULL, 42419, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2526d77000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\374”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1084680, …}) = 0
mmap(NULL, 2133536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b2526f75000
mprotect(0x2b2527077000, 1048576, PROT_NONE) = 0
mmap(0x2b2527177000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x2b2527177000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, …}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b252717e000
mprotect(0x2b25272c8000, 2093056, PROT_NONE) = 0
mmap(0x2b25274c7000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2b25274c7000
mmap(0x2b25274cc000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b25274cc000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=9968, …}) = 0
mmap(NULL, 1056744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b25274d1000
mprotect(0x2b25274d3000, 1044480, PROT_NONE) = 0
mmap(0x2b25275d2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2b25275d2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\23\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19848, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b25275d3000
mmap(NULL, 1066608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b25275d4000
mprotect(0x2b25275d9000, 1044480, PROT_NONE) = 0
mmap(0x2b25276d8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2b25276d8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, …}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b25276d9000
mprotect(0x2b25276db000, 2097152, PROT_NONE) = 0
mmap(0x2b25278db000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b25278db000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b25278dd000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b25278de000
arch_prctl(ARCH_SET_FS, 0x2b25278ddaf0) = 0
mprotect(0x2b25274c7000, 12288, PROT_READ) = 0
munmap(0x2b2526d77000, 42419) = 0
access("/home/Masteradm01/.xinitrc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/Masteradm01/.xserverrc", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x504000
brk(0x525000) = 0x525000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2b25271aff80}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b25271aff80}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b25278ddb80) = 20615
setpriority(PRIO_PROCESS, 20615, 4294967295) = 0
wait4(20615, 0x503b88, WNOHANG, NULL) = 0
write(2, “\n”, 1
) = 1
alarm(15) = 0
rt_sigsuspend([]X: warning; process set to priority -1 instead of requested priority 0

Fatal server error:
Server is already active for display 1
If this server is no longer running, remove /tmp/.X1-lock
and start again.

) = ? ERESTARTNOHAND (To be restarted)
— SIGCHLD (Child exited) @ 0 (0) —
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
— SIGALRM (Alarm clock) @ 0 (0) —
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2b25271aff80}, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2b25271aff80}, 8) = 0
rt_sigreturn(0xe) = -1 EINTR (Interrupted system call)
alarm(0) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
uname({sys=“Linux”, node=“Monstre”, …}) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X1"}, 19) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
access("/home/Masteradm01/.Xauthority", R_OK) = 0
open("/home/Masteradm01/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=101, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2526d77000
read(4, “\1\0\0\7Monstre\0\0010\0\22MIT-MAGIC-COOKIE”…, 4096) = 101
read(4, “”, 4096) = 0
close(4) = 0
munmap(0x2b2526d77000, 4096) = 0
writev(3, [{“l\0\v\0\0\0\0\0\0\0\0\0”, 12}], 1) = 12
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, “\1\0\v\0\0\0009\0”, 8) = 8
read(3, “\10\250-\4\0\0 \0\377\377\37\0\0\1\0\0\24\0\377\377\1\7”…, 228) = 228
write(3, “7\0\5\0\0\0 \0:\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0”…, 64) = 64
read(3, “\1Y\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\361”…, 32) = 32
read(3, “\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\361\0”…, 32) = 32
write(3, “\203\0\1\0”, 4) = 4
read(3, “\1Y\4\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0,\361”…, 32) = 32
writev(3, [{“b\0\5\0\t\0 \0”, 8}, {“XKEYBOARD”, 9}, {"\0\0\0", 3}], 3) = 20
read(3, “\1Y\5\0\0\0\0\0\1\223]\241\0\0\0\0\0\0\0\0\0\0\0\0,\361”…, 32) = 32
write(3, “\223\0\2\0\1\0\0\0”, 8) = 8
read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\200Y\332\366\377\177\0”…, 32) = 32
vfork() = 20620
wait4(-1, NULL, 0, NULL) = 20615
rt_sigaction(SIGTERM, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {0x4012c0, [], SA_RESTORER, 0x2b25271aff80}, 8) = 0
write(3, “<\0\2\0\0\0 \0+\0\1\0”, 12) = 12
read(3, “\1\0\10\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\361”…, 32) = 32
shutdown(3, 2 /* send and receive */) = 0
close(3) = 0
kill(4294946676, SIGHUP) = 0
kill(4294946681, SIGTERM) = -1 ESRCH (No such process)
— SIGCHLD (Child exited) @ 0 (0) —
exit_group(0) = ?
Process 20614 detached

So what? :slightly_smiling:

Il te faut tuer le serfveur X et virer le fichier .X1-lock

[quote]Server is already active for display 1
If this server is no longer running, remove /tmp/.X1-lock
and start again.[/quote]

Ok, zut… même si je ne l’ai pas indiqué, je l’avais fait pourtant… Ok, bon ben je recommencerai tout à l’heure.
Humpf!

Ok, cette fois, ça va être la bonne!

Monstre:/tmp# ps aux |grep X
root 20019 0.0 0.2 46216 11460 tty8 S<s+ Sep23 0:00 X :1
root 30976 0.0 0.0 7232 820 pts/1 R+ 00:36 0:00 grep X
Monstre:/tmp# kill -9 20019
Monstre:/tmp# ps aux |grep X
root 30980 0.0 0.0 7232 836 pts/1 S+ 00:36 0:00 grep X
Monstre:/tmp# ls -la
total 29
drwxrwxrwt 5 root root 3072 2008-09-24 00:35 .
drwxr-xr-x 23 root root 1024 2008-09-14 18:55 …
drwxrwxrwt 2 root root 1024 2008-09-22 23:22 .ICE-unix
drwx------ 2 root root 12288 2008-08-11 01:37 lost+found
-rw-r–r-- 1 root root 10320 2008-09-24 00:36 TRACE
drwxrwxrwt 2 root root 1024 2008-09-23 13:52 .X11-unix

Tel quel le “strace” ne me rends pas la main. Je touche à rien et ci-suit le contenu du fichier, tel que je l’ai au moment où j’écris ces lignes :

execve("/usr/bin/xinit", [“xinit”, “xeyes”, “–”, “:1”], [/* 16 vars */]) = 0
brk(0) = 0x504000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e91e1000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e91e2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42419, …}) = 0
mmap(NULL, 42419, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b30e91e4000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\374”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1084680, …}) = 0
mmap(NULL, 2133536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b30e93e2000
mprotect(0x2b30e94e4000, 1048576, PROT_NONE) = 0
mmap(0x2b30e95e4000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x2b30e95e4000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, …}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b30e95eb000
mprotect(0x2b30e9735000, 2093056, PROT_NONE) = 0
mmap(0x2b30e9934000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2b30e9934000
mmap(0x2b30e9939000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b30e9939000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=9968, …}) = 0
mmap(NULL, 1056744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b30e993e000
mprotect(0x2b30e9940000, 1044480, PROT_NONE) = 0
mmap(0x2b30e9a3f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2b30e9a3f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\23\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19848, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e9a40000
mmap(NULL, 1066608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b30e9a41000
mprotect(0x2b30e9a46000, 1044480, PROT_NONE) = 0
mmap(0x2b30e9b45000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2b30e9b45000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, …}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b30e9b46000
mprotect(0x2b30e9b48000, 2097152, PROT_NONE) = 0
mmap(0x2b30e9d48000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b30e9d48000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e9d4a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e9d4b000
arch_prctl(ARCH_SET_FS, 0x2b30e9d4aaf0) = 0
mprotect(0x2b30e9934000, 12288, PROT_READ) = 0
munmap(0x2b30e91e4000, 42419) = 0
access("/root/.xinitrc", F_OK) = -1 ENOENT (No such file or directory)
access("/root/.xserverrc", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x504000
brk(0x525000) = 0x525000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4012c0, [], SA_RESTORER, 0x2b30e961cf80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x4012c0, [], SA_RESTORER, 0x2b30e961cf80}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4012c0, [], SA_RESTORER, 0x2b30e961cf80}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x4012c0, [], SA_RESTORER, 0x2b30e961cf80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x4012c0, [], SA_RESTORER, 0x2b30e961cf80}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2b30e961cf80}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b30e961cf80}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b30e9d4ab80) = 31020
setpriority(PRIO_PROCESS, 31020, 4294967295) = 0
wait4(31020, 0x503b88, WNOHANG, NULL) = 0
write(2, “\n”, 1
) = 1
alarm(15) = 0
rt_sigsuspend([]X: warning; process set to priority -1 instead of requested priority 0
) = ? ERESTARTNOHAND (To be restarted)
— SIGUSR1 (User defined signal 1) @ 0 (0) —
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b30e961cf80},
X Window System Version 7.1.1{0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b30e961cf80}, 8) = 0
rt_sigreturn(0xaX Protocol Version 11, Revision 0, Release 7.1.1
) = -1 EINTR (Interrupted system call)
Current Operating System: Linux Monstre 2.6.24-etchnhalf.1-amd64 #1 SMP Mon Jul 21 10:36:02 UTC 2008 x86_64
alarm(0) = 15
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
Build Date: 01 June 2008
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
uname((!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
{sys=“Linux”, node=“Monstre”, …}) = 0
(==) Log file: “/var/log/Xorg.1.log”, Time: Wed Sep 24 00:38:12 2008
socket(PF_FILE, SOCK_STREAM, 0(==) Using config file: “/etc/X11/xorg.conf”
uname({sys=“Linux”, node=“Monstre”, …}) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X1"}, 19) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
access("/root/.Xauthority", R_OK) = 0
open("/root/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=0, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b30e91e4000
read(4, “”, 1024) = 0
close(4) = 0
munmap(0x2b30e91e4000, 4096) = 0
writev(3, [{“l\0\v\0\0\0\0\0\0\0\0\0”, 12}], 1) = 12
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, 0x7fffc18e4260, 8) = -1 EAGAIN (Resource temporarily unavailable)
poll((WW) VESA(0): Failed to set up write-combining range (0xfbc00000,0x200000)
(WW) VESA(0): Failed to set up write-combining range (0xfb800000,0x600000)
(WW) VESA(0): Failed to set up write-combining range (0xfb000000,0xe00000)
xkb_keycodes { include “xfree86+aliases(azerty)” };
xkb_types { include “complete” };
xkb_compatibility { include “complete” };
xkb_symbols { include “pc(pc105)+fr(latin9)” };
xkb_geometry { include “pc(pc105)” };
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type “ONE_LEVEL” has 1 levels, but has 2 symbols
Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
[{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\0\v\0\0\0009\0”, 8) = 8
read(3, “\10\250-\4\0\0 \0\377\377\37\0\0\1\0\0\24\0\377\377\1\7”…, 228) = 228
write(3, “7\0\5\0\0\0 \0:\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0”…, 64) = 64
read(3, 0x7fffc18e41e0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1)\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
read(3, “\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\203\0\1\0”, 4) = 4
read(3, 0x7fffc18e4160, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1)\4\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
writev(3, [{“b\0\5\0\t\0 \0”, 8}, {“XKEYBOARD”, 9}, {"\0\0\0", 3}], 3) = 20
read(3, 0x7fffc18e4030, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1)\5\0\0\0\0\0\1\223]\241\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\223\0\2\0\1\0\0\0”, 8) = 8
read(3, 0x7fffc18e40c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\240)\341s\377\177\0\0”…, 32) = 32
vfork() = 31028
wait4(-1,

(PS. Cette fois : pas de “Server is already active for display 1” à l’horizon… :mrgreen: :mrgreen: )

Bon, il ne semble y avoir rien d’anormal là dedans, le processus X est lancé ([quote]read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\240)\341s\377\177\0\0”…, 32) = 32
vfork() = 31028
wait4(-1,[/quote])
le pid est 31028. Par contre on dirait que le fichier
/root/.Xauthority existe mais est de longueur nulle…

Efface ce fichier ou renomme le, cela explmiquerait l’impossibilté à root d’utiliser le serveur (tu peux faire les tests sous ton utilisateur standard d’ailleurs, ici tu l’as fait sous root)

access("/root/.Xauthority", R_OK) = 0

Monstre:~# ls -la
total 64
drwxr-xr-x 17 root root 1024 2008-09-21 19:05 .
drwxr-xr-x 23 root root 1024 2008-09-14 18:55 …
drwx------ 2 root root 1024 2008-09-21 01:52 .aptitude
-rw------- 1 root root 657 2008-09-24 07:09 .bash_history
-rw-r–r-- 1 root root 412 2004-12-15 23:53 .bashrc
dr-------- 2 root root 13312 2008-08-11 04:19 certs
drwxr-xr-x 2 root root 1024 2008-09-12 09:14 .debtags
drwxr-xr-x 2 root root 1024 2008-09-02 22:16 Desktop
drwx------ 4 root root 1024 2008-09-21 19:05 .gconf
drwx------ 2 root root 1024 2008-09-21 19:05 .gconfd
drwxr-xr-x 3 root root 1024 2008-09-02 22:16 .gnome
drwx------ 7 root root 1024 2008-09-02 22:16 .gnome2
drwx------ 2 root root 1024 2008-08-10 23:56 .gnome2_private
drwx------ 2 root root 1024 2008-09-05 15:31 .gnupg
drwxr-xr-x 2 root root 1024 2008-09-15 14:38 .gstreamer-0.10
-rw-r–r-- 1 root root 81 2008-09-02 22:16 .gtkrc-1.2-gnome2
-rw-r–r-- 1 root root 520 2008-08-11 01:47 .htoprc
-rw------- 1 root root 1787 2008-09-21 18:58 .ICEauthority
-rw------- 1 root root 264 2008-09-24 01:00 .lesshst
drwx------ 3 root root 1024 2008-09-02 22:16 .metacity
drwxr-xr-x 3 root root 1024 2008-09-02 22:16 .nautilus
-rw-r–r-- 1 root root 110 2004-11-10 17:10 .profile
-rw------- 1 root root 1024 2008-08-11 21:45 .rnd
drwxr-xr-x 2 root root 1024 2008-08-11 04:10 SSL-cert-vsftpd
drwx------ 2 root root 1024 2008-09-02 22:16 .update-notifier
-rw------- 1 root root 8694 2008-09-21 18:51 .viminfo
-rw------- 1 root root 0 2008-09-21 19:05 .Xauthority
-rw------- 1 root root 15109 2008-09-21 19:05 .xsession-errors

Ca, c’est ce que j’ai, de base, dans /root.

Je renomme Xauthority en .bak à l’aide d’un mv. Je vérifie ensuite que je n’ai pas de .X1-lock et de xorg qui tourne… Ce n’est apparemment pas le cas.

Ensuite, je change de user et je refais la même manoeuvre avec “strace xinit xeyes – :1 2> /tmp/TRACE”… on va voir ce que ça donne :

J’obtiens :
Monstre:/tmp# cat TRACE | grep Xauthority
access("/home/christian/.Xauthority", R_OK) = 0
open("/home/christian/.Xauthority", O_RDONLY) = 4

Précédemment, j’avais :
access("/root/.Xauthority", R_OK) = 0
open("/root/.Xauthority", O_RDONLY) = 4

J’ai donc le même résultat…

Voyons un peu… Ce fameux fichier. Je regarde sur la toile : Le fichier .Xauthority est généré par le programme xauth. Il s’agit d’un système d’authentification pour les applications graphiques. Cela permet d’éviter que d’autres personnes envoient des images, des fenêtres sur votre écran - mais également que des personnes puissent “voir” ce qu’il y a sur votre écran.

Je fais une petite vérification… et là c’est le drame :

Monstre:/tmp# dpkg -l Xauth
Aucun paquet ne correspond à Xauth.

Monstre:/tmp# apt-cache search Xauth
xrsh - remote execution of XWindow programs
xauth - X authentication utility
xvfb - Virtual Framebuffer ‘fake’ X server

Monstre:/etc/apt# apt-cache policy xauth
xauth:
Installé : (aucun)
Candidat : (aucun)
Table de version :
1:1.0.3-2 0
-992 ftp.fr.debian.org sid/main Packages

What’s the fuck…? Primo, c’est le genre de truc que j’aurais imaginé installé par Xserver-xorg. Ensuite, s’il est listé comme paquetage downloadable, il ne se retrouve pas dans les policy… Normal? Et enfin, s’il n’existe pas… Ben, il risque pas de générer correctement le Xauthority, nein? Et - pardonne moi si j’ai tort - mais l’authentification est la première chose qui apparait quand le système graphique pointe son nez. Si le serveur essaie d’ouvrir un truc qui n’existe qu’en temps que “rien”, je suppose que le reste ne suivra pas non plus?

D’un autre côté, un man sur xauth me montre tout le manuel qui va avec… comme s’il était installé.

Qu’en penses-tu?

En plus, ce qui m’étonne, c’est qu’il n’a pas l’air d’exister en Etch, ce paquetage. Par ailleurs, j’ai “forcé” les paquetage en stable, via le fichier “préférences”. Il est donc probable que j’ai fait sauté ce xauth quand j’ai fait mon dist-upgrade, au moment de downgrader en pure Etch, la dernière fois… C’est peut-être là que le bas blesse, car tant que j’aurais le fichier preferences (du moins paramétré tel quel), il n’est pas prêt de s’installer, l’animal… Mais c’est normal qu’il n’existe pas en Etch?

Même sur le site officiel, je ne le vois qu’en SID et en LENNY :

Paquet xauth:
lenny (testing) (x11): X authentication utility
1:1.0.3-2: alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc
sid (unstable) (x11): X authentication utility
1:1.0.3-2: alpha amd64 arm armel hppa hurd-i386 i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel powerpc s390 sparc

C’est chelou…

j’ai trouvé une réf interessante, ici :
linux-france.org/article/grl … rd-10.html

Je pourrais tjs tenter la commande “xinit – -auth $HOME/.Xauthority”, mais si le paquetage n’existe pas… Ca ne marchera sans doute pas. Avant d’essayer n’importe quoi, je vais voir si je trouve autre chose sur le sujet.

D’ailleurs, j’ai aussi trouvé ça :
-------------------------
"Ce fichier (Xauthority) contient des clefs d’acces à des serveurs X. Normalement quand un serveur X demarre il se fabrique une clef, (ou [kgxw]dm enfabrique une et lui donne je sais plus trop). Cette clef change à chaque
session X. Chaque application qui veut se connecter à un serveur recherche dans ce fichier la clef pour le display donné et la donne au serveur, qui accepte la connexion si la clef correspond à celle qu’il a et la refuse sinon. Ce fichier n’est absolument pas fait pour les serveurs, seules les applications clientes s’en servent. Le serveur a sa clef quelque part
dans /var.
Par exemple :
monordi$ ps -ef | grep X
/usr/bin/X11/X vt7 -deferglyphs 16 -dpi 100 -auth /var/lib/xdm/authdir/authfiles/A:0-3HgThN

Tu peux lister le contenu de ~/.Xauthority avec la commande xauth l
xauth add pour en ajouter une. etc…
[kgxw]dm ne se servent absolument pas de ce fichier. sauf que quand un
utilisateur se connecte, il(s) ajoute(nt) dans le fichier .Xauthority du
user en question, la (ou les) clef(s) de session.
Évidement, ces clefs de session sont secretes. Le fichier .Xauthority du
user toto doit donc appartenir au user toto et etre en lecture ecriture
seulement pour ce user.
Il peut trainer dans ce fichier des tas de clefs non valides pour des
connexions X11 anciennes…
parfois ce fichier n’est pa utilisé. Si la variable d’environnement
XAUTHORITY est définie, alors c’est le fichier qu’elle indique qui est
utilisé.
exemple d’utilisation :

monordi$ xauth l $DISPLAY
monordi/unix:0 MIT-MAGIC-COOKIE-1 389047jkhk590s890w89024e6170147b67d1
monordi/unix:0 XDM-AUTHORIZATION-1 897894ea8f0jkldhgkld00e036d8a1a43aa3

monordi$ telnet autre_ordi
autre_ordi$ xclock
Xlib: connection to “monordi:0.0” refused by server
Xlib: Client is not authorized to connect to Server
Error: Can’t open display: monordi:0
autre_ordi$ xauth add monordi/unix:0 MIT-MAGIC-COOKIE-1 389047jkhk590s890w89024e6170147b67d1
autre_ordi$ xauth add monordi/unix:0 XDM-AUTHORIZATION-1 897894ea8f0jkldhgkld00e036d8a1a43aa3
autre_ordi$ xclock

Autre exemple :
moi@monordi$ xauth l

moi@monordi$ su - lui
lui@monordi$ xauth add … ; xauth add …
lui@monordi$ xclock -display :0
-------------------------

Si je reprends certains des exemples présentés ci-dessus et que je fais un xauth 1 :
Monstre:/etc/apt# xauth l
xauth: creating new authority file /root/.Xauthority
Monstre:~# ls /root | grep .Xauthority
Monstre:~#
(bizarre comme réponse).

Monstre:~# ps -ef | grep X
root 19245 19244 0 22:51 tty8 00:00:00 X :1
root 19749 19271 0 23:29 pts/2 00:00:00 grep X

Si je fais un tour dans /var/lib/gdm… je n’ai rien dedans (l’exemple ci-dessus nous montre un xdm contenant un répertoire “authdir” que, du coup, je n’ai pas… Damned, il doit manquer quelque chose quelque part…

Heu… tu as besoin que je te remette le résultat du strace? Je le garde au chaud.
:slightly_smiling:

Concernant xauth c’est normal… c’est grace a la formidable ( :unamused: ) politique des noms de paquets sous etch. Sous etch, c’est dans le paquet xbase-clients. Voir ici.

[quote]francois@bling:~$ dpkg -S xauth
type xauth
ls -l .Xxutils: /usr/bin/xauth_switch_to_sun-des-1
xbase-clients: /usr/share/man/man1/xauth.1.gz
alibpam-modules: /lib/security/pam_xauth.so
xbase-clients: /usr/bin/xauth
francois@bling:~$ type xauth
xauth is /usr/bin/xauth
francois@bling:~$ ls -l .Xauthority
-rw------- 1 francois francois 868 2008-09-24 18:18 .Xauthority
francois@bling:~$
[/quote]
C’est normal que ça soit dans xbase-clients, xauth est essentiel et peut être nécessaire sur une machine où X ne tourne pas. Il ne doit pas être dans le même paquet que xserver-xorg.
Cela dit, attention c’est xauth et non Xauth. En tout cas le pbm est là, aucun programme ne pêut accéder à ton server X…

Goooooood… on se rapproche donc du noeud du problème.

Moi j’ai :
sh-3.1# dpkg -S xauth
xutils: /usr/bin/xauth_switch_to_sun-des-1
xbase-clients: /usr/share/man/man1/xauth.1.gz
libpam-modules: /lib/security/pam_xauth.so
xbase-clients: /usr/bin/xauth
sh-3.1# type xauth
xauth is /usr/bin/xauth
sh-3.1# cd /root
sh-3.1# ls -l .Xauthority
ls: .Xauthority: Aucun fichier ou répertoire de ce type
sh-3.1# cd /home/christian
sh-3.1# ls -l .Xauthority
-rw------- 1 christian christian 0 2008-09-24 22:45 .Xauthority

Pendant qu’on y est, côté “x”, j’ai ceci :

sh-3.1# dpkg -l x*

un x-common <néant> (aucune description n’est disponible)
un x-display-manager <néant> (aucune description n’est disponible)
un x-session-manager <néant> (aucune description n’est disponible)
un x-terminal-emulator <néant> (aucune description n’est disponible)
un x-ttcidfont-conf <néant> (aucune description n’est disponible)
un x-window-manager <néant> (aucune description n’est disponible)
un x-window-system <néant> (aucune description n’est disponible)
un x-window-system-core <néant> (aucune description n’est disponible)
ii x11-common 7.1.0-19 X Window System (X.Org) infrastructure
pn x11-xkb-utils <néant> (aucune description n’est disponible)
un x86_64-linux-gnu <néant> (aucune description n’est disponible)
un xapian-tools <néant> (aucune description n’est disponible)
un xautolock <néant> (aucune description n’est disponible)
un xbanner <néant> (aucune description n’est disponible)
ii xbase-clients 7.1.ds1-2 miscellaneous X clients
un xbatt <néant> (aucune description n’est disponible)
un xbattbar <néant> (aucune description n’est disponible)
ii xbitmaps 1.0.1-2 Base X bitmaps
un xcal <néant> (aucune description n’est disponible)
un xcalendar-i18n <néant> (aucune description n’est disponible)
un xcb <néant> (aucune description n’est disponible)
un xcdroast <néant> (aucune description n’est disponible)
un xclip <néant> (aucune description n’est disponible)
un xclips <néant> (aucune description n’est disponible)
un xcolors <néant> (aucune description n’est disponible)
un xcolorsel <néant> (aucune description n’est disponible)
un xdkcal <néant> (aucune description n’est disponible)
un xdm <néant> (aucune description n’est disponible)
un xdmx <néant> (aucune description n’est disponible)
un xdu <néant> (aucune description n’est disponible)
un xearth <néant> (aucune description n’est disponible)
un xemacs-support <néant> (aucune description n’est disponible)
un xengine <néant> (aucune description n’est disponible)
un xephem <néant> (aucune description n’est disponible)
un xext <néant> (aucune description n’est disponible)
un xezmlm <néant> (aucune description n’est disponible)
un xf86-video-driver-atimisc <néant> (aucune description n’est disponible)
un xf86-video-driver-riva128 <néant> (aucune description n’est disponible)
un xfaces <néant> (aucune description n’est disponible)
un xfce4 <néant> (aucune description n’est disponible)
un xfishtank <néant> (aucune description n’est disponible)
un xfm <néant> (aucune description n’est disponible)
un xfntscl <néant> (aucune description n’est disponible)
ii xfonts-100dpi 1.0.0-3 100 dpi fonts for X
ii xfonts-75dpi 1.0.0-3 75 dpi fonts for X
un xfonts-abi <néant> (aucune description n’est disponible)
ii xfonts-base 1.0.0-5 standard fonts for X
ii xfonts-cyrillic 1.0.0-4 Cyrillic fonts for X
ii xfonts-encodings 1.0.0-6 Encodings for X.Org fonts
un xfonts-misc <néant> (aucune description n’est disponible)
ii xfonts-scalable 1.0.0-6 scalable fonts for X
ii xfonts-utils 1.0.1-1 X Window System font utility programs
un xfractint <néant> (aucune description n’est disponible)
un xfree86-common <néant> (aucune description n’est disponible)
un xfree86-driver-synaptics <néant> (aucune description n’est disponible)
un xfs <néant> (aucune description n’est disponible)
un xfs-xtt <néant> (aucune description n’est disponible)
un xftp <néant> (aucune description n’est disponible)
un xfwp <néant> (aucune description n’est disponible)
un xgdipc <néant> (aucune description n’est disponible)
un xgmod <néant> (aucune description n’est disponible)
un xgobi <néant> (aucune description n’est disponible)
un xgraph <néant> (aucune description n’est disponible)
un ximian-connector <néant> (aucune description n’est disponible)
un ximian-setup-tools <néant> (aucune description n’est disponible)
un xinetd <néant> (aucune description n’est disponible)
un xinput <néant> (aucune description n’est disponible)
un xipmsg <néant> (aucune description n’est disponible)
un xisp <néant> (aucune description n’est disponible)
ii xkb-data 0.9-4 X Keyboard Extension (XKB) configuration data
un xkb-data-legacy <néant> (aucune description n’est disponible)
un xkbcomp <néant> (aucune description n’est disponible)
un xkbevd <néant> (aucune description n’est disponible)
un xkbprint <néant> (aucune description n’est disponible)
un xkbutils <néant> (aucune description n’est disponible)
un xlbiff <néant> (aucune description n’est disponible)
un xli <néant> (aucune description n’est disponible)
un xlibmesa-dri <néant> (aucune description n’est disponible)
un xlibmesa-gl <néant> (aucune description n’est disponible)
un xlibmesa3 <néant> (aucune description n’est disponible)
un xlibs-data <néant> (aucune description n’est disponible)
un xloadimage <néant> (aucune description n’est disponible)
un xlockmore <néant> (aucune description n’est disponible)
un xlockmore-gl <néant> (aucune description n’est disponible)
un xlogmaster <néant> (aucune description n’est disponible)
un xmail <néant> (aucune description n’est disponible)
un xmailbox <néant> (aucune description n’est disponible)
un xmem <néant> (aucune description n’est disponible)
un xmeter <néant> (aucune description n’est disponible)
un xmh <néant> (aucune description n’est disponible)
un xmix <néant> (aucune description n’est disponible)
ii xml-core 0.09-0.1 XML infrastructure and XML catalog file support
un xml-twig-tools <néant> (aucune description n’est disponible)
un xmms-modplug <néant> (aucune description n’est disponible)
un xmon <néant> (aucune description n’est disponible)
un xnecview <néant> (aucune description n’est disponible)
un xnest <néant> (aucune description n’est disponible)
un xodo <néant> (aucune description n’est disponible)
pn xorg <néant> (aucune description n’est disponible)
un xorg-common <néant> (aucune description n’est disponible)
un xorg-driver-synaptics <néant> (aucune description n’est disponible)
un xpaste <néant> (aucune description n’est disponible)
un xpdf-chinese-simplified <néant> (aucune description n’est disponible)
un xpdf-chinese-traditional <néant> (aucune description n’est disponible)
un xpdf-japanese <néant> (aucune description n’est disponible)
un xpdf-korean <néant> (aucune description n’est disponible)
un xpdf-reader <néant> (aucune description n’est disponible)
un xpdf-utils <néant> (aucune description n’est disponible)
un xpmumon <néant> (aucune description n’est disponible)
un xpostit <néant> (aucune description n’est disponible)
un xpostitplus <néant> (aucune description n’est disponible)
un xpp <néant> (aucune description n’est disponible)
un xprint <néant> (aucune description n’est disponible)
ii xprobe 0.3-1 Remote OS identification
un xprobe2 <néant> (aucune description n’est disponible)
ii xresprobe 0.4.23debian1 X Resolution Probe
un xrn <néant> (aucune description n’est disponible)
un xscreensaver <néant> (aucune description n’est disponible)
un xserver <néant> (aucune description n’est disponible)
un xserver-common <néant> (aucune description n’est disponible)
un xserver-xfree86 <néant> (aucune description n’est disponible)
un xserver-xfree86-dbg <néant> (aucune description n’est disponible)
ii xserver-xorg 7.1.0-19 the X.Org X server
ii xserver-xorg-core 1.1.1-21etch5 X.Org X server – core server
un xserver-xorg-driver-i810 <néant> (aucune description n’est disponible)
un xserver-xorg-driver-r128 <néant> (aucune description n’est disponible)
un xserver-xorg-driver-radeon <néant> (aucune description n’est disponible)
un xserver-xorg-driver-vmware <néant> (aucune description n’est disponible)
un xserver-xorg-input <néant> (aucune description n’est disponible)
ii xserver-xorg-input-all 7.1.0-19 the X.Org X server – input driver metapackage
ii xserver-xorg-input-evdev 1.1.2-6 X.Org X server – evdev input driver
ii xserver-xorg-input-kbd 1.1.0-4 X.Org X server – keyboard input driver
ii xserver-xorg-input-mouse 1.1.1-3 X.Org X server – mouse input driver
ii xserver-xorg-input-synaptics 0.14.6-1 Synaptics TouchPad driver for X.Org/XFree86 server
ii xserver-xorg-input-wacom 0.7.4.1-5 X.Org X server – wacom input driver
un xserver-xorg-video <néant> (aucune description n’est disponible)
un xserver-xorg-video-1.0 <néant> (aucune description n’est disponible)
un xserver-xorg-video-2 <néant> (aucune description n’est disponible)
ii xserver-xorg-video-all 7.1.0-19 the X.Org X server – output driver metapackage
ii xserver-xorg-video-apm 1.1.1-3 X.Org X server – APM display driver
ii xserver-xorg-video-ark 0.6.0-3 X.Org X server – ark display driver
ii xserver-xorg-video-ati 6.6.3-2 X.Org X server – ATI display driver
un xserver-xorg-video-atimisc <néant> (aucune description n’est disponible)
ii xserver-xorg-video-chips 1.1.1-4 X.Org X server – Chips display driver
ii xserver-xorg-video-cirrus 1.1.0-3 X.Org X server – Cirrus display driver
ii xserver-xorg-video-cyrix 1.1.0-4 X.Org X server – Cyrix display driver
ii xserver-xorg-video-dummy 0.2.0-3 X.Org X server – dummy display driver
ii xserver-xorg-video-fbdev 0.3.1-1 X.Org X server – fbdev display driver
ii xserver-xorg-video-glint 1.1.1-3 X.Org X server – Glint display driver
ii xserver-xorg-video-i128 1.2.0-3 X.Org X server – i128 display driver
ii xserver-xorg-video-i810 1.7.2-4 X.Org X server – Intel i8xx, i9xx display driver
un xserver-xorg-video-i810-modesetti <néant> (aucune description n’est disponible)
pn xserver-xorg-video-intel <néant> (aucune description n’est disponible)
un xserver-xorg-video-intel-modesett <néant> (aucune description n’est disponible)
pn xserver-xorg-video-mach64 <néant> (aucune description n’est disponible)
ii xserver-xorg-video-mga 1.4.4.dfsg.1-2 X.Org X server – MGA display driver
ii xserver-xorg-video-neomagic 1.1.1-5 X.Org X server – Neomagic display driver
ii xserver-xorg-video-nv 2.0.3-1 X.Org X server – NV display driver
pn xserver-xorg-video-openchrome <néant> (aucune description n’est disponible)
pn xserver-xorg-video-r128 <néant> (aucune description n’est disponible)
pn xserver-xorg-video-radeon <néant> (aucune description n’est disponible)
ii xserver-xorg-video-rendition 4.1.0.dfsg.1-4 X.Org X server – Rendition display driver
un xserver-xorg-video-riva128 <néant> (aucune description n’est disponible)
ii xserver-xorg-video-s3 0.4.1-5 X.Org X server – legacy S3 display driver
ii xserver-xorg-video-s3virge 1.9.1-3 X.Org X server – S3 ViRGE display driver
ii xserver-xorg-video-savage 2.1.2-3 X.Org X server – Savage display driver
ii xserver-xorg-video-siliconmotion 1.4.1-4 X.Org X server – SiliconMotion display driver
ii xserver-xorg-video-sis 0.9.1-4 X.Org X server – SiS display driver
ii xserver-xorg-video-sisusb 0.8.1-3 X.Org X server – SiS USB display driver
ii xserver-xorg-video-tdfx 1.3.0-1 X.Org X server – tdfx display driver
ii xserver-xorg-video-tga 1.1.0-3 X.Org X server – TGA display driver
ii xserver-xorg-video-trident 1.2.3-1 X.Org X server – Trident display driver
ii xserver-xorg-video-tseng 1.1.0-3 X.Org X server – Tseng display driver
ii xserver-xorg-video-v4l 0.1.1-3 X.Org X server – Video 4 Linux display driver
ii xserver-xorg-video-vesa 1.3.0-1 X.Org X server – VESA display driver
ii xserver-xorg-video-vga 4.1.0-3 X.Org X server – VGA display driver
ii xserver-xorg-video-via 0.2.1-6 X.Org X server – VIA display driver
pn xserver-xorg-video-vmware <néant> (aucune description n’est disponible)
ii xserver-xorg-video-voodoo 1.1.0-4 X.Org X server – Voodoo display driver
un xsidplay <néant> (aucune description n’est disponible)
un xslideshow <néant> (aucune description n’est disponible)
ii xsltproc 1.1.19-3 XSLT command line processor
un xsysinfo <néant> (aucune description n’est disponible)
un xtel <néant> (aucune description n’est disponible)
ii xterm 222-1etch2 X terminal emulator
un xtoolwait <néant> (aucune description n’est disponible)
un xtrkcad <néant> (aucune description n’est disponible)
un xtrlock <néant> (aucune description n’est disponible)
un xturqstat <néant> (aucune description n’est disponible)
un xulrunner <néant> (aucune description n’est disponible)
pn xulrunner-1.9 <néant> (aucune description n’est disponible)
un xulrunner-1.9-common <néant> (aucune description n’est disponible)
un xulrunner-1.9-gnome-support <néant> (aucune description n’est disponible)
ii xulrunner-gnome-support 1.8.0.15~pre080614d-0etch1 Support for Gnome in xulrunner applications
ii xutils 7.1.ds.3-1 X Window System utility programs
ii xutils-dev 7.1.ds-6 X Window System utility programs for development
un xv <néant> (aucune description n’est disponible)
un xvfb <néant> (aucune description n’est disponible)
un xview-clients <néant> (aucune description n’est disponible)
un xviewg <néant> (aucune description n’est disponible)
un xviewg-dev <néant> (aucune description n’est disponible)
un xvkbd <néant> (aucune description n’est disponible)
un xwit <néant> (aucune description n’est disponible)
un xxkb <néant> (aucune description n’est disponible)
un xzoom <néant> (aucune description n’est disponible)

sh-3.1# dpkg -l x* | grep xbase
ii xbase-clients 7.1.ds1-2 miscellaneous X clients

xbase est bien installé, en tout cas. ¨
Faudrait sans doute que je vois les appli qui bossent avec xauth : peut-être un problème de droit? Je vais essayer de voir ça ce soir.

Par rapport à ce que vous avez, vous sauriez me dire s’il y a des incohérences?

Réinstalle xbase-clients pour voir.

ok, j’ai réinstallé xbase-clients, ce qui m’a aussi obligé à réinstaller xserver-xorg et gnome.

J’ai donc refait un dpkg-reconfigure.

Monstre:/home/vsftpd# ps aux | grep X
root 14603 0.0 0.0 7232 836 pts/0 S+ 23:46 0:00 grep X
Monstre:/home/vsftpd# ps aux | grep gdm
root 14605 0.0 0.0 7232 836 pts/0 S+ 23:46 0:00 grep gdm

strace xinit xeyes – :1 2> /tmp/TRACE

Je passe en “su” christian et je relance la commande… Le TRACE s’écrit, le fichier : r–r--r-- 1 root root 11 2008-09-25 23:50 .X1-lock réapparait… et je regarde le .Xauthority :

-rw------- 1 christian christian 0 2008-09-24 22:45 .Xauthority

Et il est tjs à “1”… La couille n’est pas là : le résultat est le même.

Bon… Xserver réinstallé, xbase-clients aussi, ainsi que gnome.

Mmmmmm… La force n’est pas encore avec nous…

Traditionnellement, je recolle ici le résultat de STRACE :
(à priori, le résultat sera le même)

execve("/usr/bin/xinit", [“xinit”, “xeyes”, “–”, “:1”], [/* 19 vars */]) = 0
brk(0) = 0x504000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1528592000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1528593000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42419, …}) = 0
mmap(NULL, 42419, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b1528595000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\374”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1084680, …}) = 0
mmap(NULL, 2133536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b1528793000
mprotect(0x2b1528895000, 1048576, PROT_NONE) = 0
mmap(0x2b1528995000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x2b1528995000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, …}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b152899c000
mprotect(0x2b1528ae6000, 2093056, PROT_NONE) = 0
mmap(0x2b1528ce5000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2b1528ce5000
mmap(0x2b1528cea000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b1528cea000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=9968, …}) = 0
mmap(NULL, 1056744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b1528cef000
mprotect(0x2b1528cf1000, 1044480, PROT_NONE) = 0
mmap(0x2b1528df0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2b1528df0000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\23\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19848, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1528df1000
mmap(NULL, 1066608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b1528df2000
mprotect(0x2b1528df7000, 1044480, PROT_NONE) = 0
mmap(0x2b1528ef6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2b1528ef6000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, …}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b1528ef7000
mprotect(0x2b1528ef9000, 2097152, PROT_NONE) = 0
mmap(0x2b15290f9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2b15290f9000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b15290fb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b15290fc000
arch_prctl(ARCH_SET_FS, 0x2b15290fbaf0) = 0
mprotect(0x2b1528ce5000, 12288, PROT_READ) = 0
munmap(0x2b1528595000, 42419) = 0
access("/home/christian/.xinitrc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/christian/.xserverrc", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x504000
brk(0x525000) = 0x525000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4012c0, [], SA_RESTORER, 0x2b15289cdf80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x4012c0, [], SA_RESTORER, 0x2b15289cdf80}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4012c0, [], SA_RESTORER, 0x2b15289cdf80}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x4012c0, [], SA_RESTORER, 0x2b15289cdf80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x4012c0, [], SA_RESTORER, 0x2b15289cdf80}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2b15289cdf80}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b15289cdf80}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b15290fbb80) = 14662
setpriority(PRIO_PROCESS, 14662, 4294967295) = -1 EACCES (Permission denied)
wait4(14662, 0x503b88, WNOHANG, NULL) = 0
write(2, “\n”, 1
) = 1
alarm(15) = 0
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
— SIGUSR1 (User defined signal 1) @ 0 (0) —
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b15289cdf80},
X Window System Version 7.1.1{0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2b15289cdf80}, 8) = 0
rt_sigreturn(0xa
Release Date: 12 May 2006
) = -1 EINTR (Interrupted sBuild Operating System: UNKNOWN
Current Operating System: Linux Monstre 2.6.24-etchnhalf.1-amd64 #1 SMP Mon Jul 21 10:36:02 UTC 2008 x86_64
) = 15
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
Build Date: 01 June 2008
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.1.log”, Time: Thu Sep 25 23:50:53 2008
{sys=“Linux”, node=“Monstre”, …}) = 0
socket(PF_FILE, SOCK_STREAM, 0(==) Using config file: “/etc/X11/xorg.conf”
) = 3
uname({sys=“Linux”, node=“Monstre”, …}) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X1"}, 19) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
access("/home/christian/.Xauthority", R_OK) = 0
open("/home/christian/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=0, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1528595000
read(4, “”, 4096) = 0
close(4) = 0
munmap(0x2b1528595000, 4096) = 0
writev(3, [{“l\0\v\0\0\0\0\0\0\0\0\0”, 12}], 1) = 12
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, 0x7fff82530bb0, 8) = -1 EAGAIN (Resource temporarily unavailable)
poll((WW) VESA(0): Failed to set up write-combining range (0xfbc00000,0x200000)
(WW) VESA(0): Failed to set up write-combining range (0xfb800000,0x600000)
(WW) VESA(0): Failed to set up write-combining range (0xfb000000,0xe00000)
xkb_keycodes { include “xfree86+aliases(azerty)” };
xkb_types { include “complete” };
xkb_compatibility { include “complete” };
xkb_symbols { include “pc(pc105)+fr(latin9)” };
xkb_geometry { include “pc(pc105)” };
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type “ONE_LEVEL” has 1 levels, but has 2 symbols
Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
[{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\0\v\0\0\0009\0”, 8) = 8
read(3, “\10\250-\4\0\0 \0\377\377\37\0\0\1\0\0\24\0\377\377\1\7”…, 228) = 228
write(3, “7\0\5\0\0\0 \0:\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0”…, 64) = 64
read(3, “\1\331\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
read(3, “\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\203\0\1\0”, 4) = 4
read(3, “\1\331\4\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
writev(3, [{“b\0\5\0\t\0 \0”, 8}, {“XKEYBOARD”, 9}, {"\0\0\0", 3}], 3) = 20
read(3, “\1\331\5\0\0\0\0\0\1\223]\241\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\223\0\2\0\1\0\0\0”, 8) = 8
read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\20\331\10i\377\177\0\0”…, 32) = 32
vfork() = 14670
wait4(-1

Suspense…
C’est pas possible. Soit une librairie est foireuse, soit un paquetage est manquant (mais on a tout vérifié, non?), soit y aurait un pb de droit… Soit l’écran n’est pas compatible?

Hum… je peux toujours tenter avec un autre écran, demain : j’ai un 22 pouces que peux utiliser (la prise électrique a du jeux, ça me tape sur les nerfs d’avance, mais bon…). Quand j’ai fait l’install, la première fois, ça marchait impecable sur le grand écran. Je précise quand même que le petit, que je veux utiliser normalement en local, fonctionne très bien (on l’utilise tous les jours, à la maison, avec une tour “windows”).

Ok,

J’ai vérifié les dépendances et tout est ok, que ce soit au niveau des versions ou de l’installation pour ce qui est ce xserver-xorg, gdm, gnome et xbase-clients.

J’ait tout de même ce résultat, que je note au passage :

++±=========================-=========================-==================================================================
pn xorg <néant> (aucune description n’est disponible)
un xserver <néant> (aucune description n’est disponible)
ii xserver-xorg 7.1.0-19 the X.Org X server

Je ne sais pas si le “pn” peut poser un problème (à priori non).

J’ai dû recopier le .Xauthority dans /root. Sinon j’ai l’impression que rien ne se lance.

Après avoir relancé xeyes :
Monstre:/boot# ps aux | grep X
root 22142 0.0 0.3 48092 13332 tty7 S<s+ 22:54 0:00 X :0
root 22770 0.0 0.0 7236 836 pts/0 R+ 23:48 0:00 grep X
Monstre:/boot# ps aux | grep xeyes
root 22141 0.0 0.0 10012 844 pts/2 S+ 22:54 0:00 xinit xeyes
root 22153 0.0 0.0 37676 3576 pts/2 S 22:54 0:00 xterm -geometry +1+1 -n login xeyes
root 22154 0.1 0.0 22836 1860 pts/1 Ss+ 22:54 0:06 xeyes
root 22772 0.0 0.0 7236 852 pts/0 S+ 23:48 0:00 grep xeyes

Monstre:/boot# lsof | grep vesa
Xorg 22142 root mem REG 8,6 29224 408697 /usr/lib/xorg/modules/drivers/vesa_drv.so

Sauf que j’ai rien dans les modules :
Monstre:/boot# lsmod | grep nv
Monstre:/boot# lsmod | grep VESA
Monstre:/boot# lsmod | grep nvidia

Mon fichier .Xauthority est, pour sa part toujours en poids “vide”. J’ai bien le paquetage qu’il faut, cependant :
Monstre:/etc/X11# which xauth
/usr/bin/xauth
Monstre:/etc/X11# ls -l /usr/bin/xauth
-rwxr-xr-x 1 root root 36488 2007-01-12 19:08 /usr/bin/xauth

Et au niveau du noyau:
Monstre:/boot# cat config-2.6.24-etchnhalf.1-amd64 | grep VESA

CONFIG_FB_UVESA is not set

CONFIG_FB_VESA=y
(Mais par défaut, je pense que vesa est accepté).

De plus :
Monstre:/boot# lspci|grep VGA
04:00.0 VGA compatible controller: nVidia Corporation Unknown device 0402 (rev a1)
Monstre:/etc/X11# cat xorg.conf | grep Bus
BusID “PCI:4:0:0”

La différence de résultat entre le 04:00.0 et le PCI:4:0:0 peut-elle être un problème?

Donc, à titre de comparaison, pourriez-vous me dire:

-ce que vous avez quand vous faites un lsof | grep vesa
-ce que vous avez au niveau du noyau
-si la commande startx vous rends la main
-ce qu’il en est au niveau des modules (je ne sais pas, mais je pense que je devrai avoir quelque-chose, non?)
-quel poids et quel contenu vous avez au niveau de Xauthority
-ce que vous dise les processus.
-sur le principe, une incompatibilité matérielle est-elle possible avec un écran générique?
-Et enfin, est-ce qu’un pstree -A | grep ‘X’ est censé vous donner quelque chose?

Tout cela me permettra, je l’espère, d’avoir des élèments de comparaison pour débuguer le problème.
(PS. je n’ai pas encore fait le test que je me proposais de faire précédemment, avec l’autre écran).

Merci d’avance! :slightly_smiling:

vesa n’est pas du hardware mais un standard bas niveau pour les cartes graphiques. TOUTES les cartes video supportent le standard VESA. Le module fb_vesa permet d’avoir au boute un spash-screen en utilisant le vase plutôt qu’autre chose, X ne s’en sert pas. Il est normal que tu n’es pas le module chargé si tu boutes en texte normal.

Il est vraiment étonnant que tu n’arrives pas à oucrir X, ce fiochier de longueur 0 n’est pas normal.
Que te donnes «xauth info»?

Par ailleurs, vu que xinit lance xterm, essaye de faire simplement

xinit – :1

(sans le xeyes), as tu un xterm qui apparait? (es tu sous sarge?)

Yo,

Bon, merci pour l’éclaircissement.

xauth me donne :

sh-3.1# xauth info
Authority file: /home/Masteradm01/.Xauthority
File new: no
File locked: no
Number of entries: 2
Changes honored: yes
Changes made: no
Current input: (argv):1

Je suis sous Etch :
sh-3.1# cat debian_version
4.0

Si je fais ta commande :

sh-3.1# ps aux | grep X
root 9189 1.0 0.3 48092 13328 tty7 S<s+ 14:46 0:00 X :1
root 9216 0.0 0.0 7236 840 pts/2 S+ 14:47 0:00 grep X

J’ai toujours :
-rw------- 1 root root 0 2008-09-28 22:54 .Xauthority

Je fais un strace xinit – :1 2> /tmp/TRACE:

sh-3.1# cat TRACE
execve("/usr/bin/xinit", [“xinit”, “–”, “:1”], [/* 15 vars */]) = 0
brk(0) = 0x504000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad42f8d8000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad42f8d9000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42478, …}) = 0
mmap(NULL, 42478, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ad42f8db000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\374”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1084680, …}) = 0
mmap(NULL, 2133536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad42fad9000
mprotect(0x2ad42fbdb000, 1048576, PROT_NONE) = 0
mmap(0x2ad42fcdb000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x2ad42fcdb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, …}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad42fce2000
mprotect(0x2ad42fe2c000, 2093056, PROT_NONE) = 0
mmap(0x2ad43002b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x2ad43002b000
mmap(0x2ad430030000, 17016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad430030000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\r\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=9968, …}) = 0
mmap(NULL, 1056744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad430035000
mprotect(0x2ad430037000, 1044480, PROT_NONE) = 0
mmap(0x2ad430136000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2ad430136000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\23\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=19848, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad430137000
mmap(NULL, 1066608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad430138000
mprotect(0x2ad43013d000, 1044480, PROT_NONE) = 0
mmap(0x2ad43023c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x2ad43023c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14616, …}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad43023d000
mprotect(0x2ad43023f000, 2097152, PROT_NONE) = 0
mmap(0x2ad43043f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2ad43043f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad430441000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad430442000
arch_prctl(ARCH_SET_FS, 0x2ad430441af0) = 0
mprotect(0x2ad43002b000, 12288, PROT_READ) = 0
munmap(0x2ad42f8db000, 42478) = 0
access("/home/Masteradm01/.xinitrc", F_OK) = -1 ENOENT (No such file or directory)
access("/home/Masteradm01/.xserverrc", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x504000
brk(0x525000) = 0x525000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4012c0, [], SA_RESTORER, 0x2ad42fd13f80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x4012c0, [], SA_RESTORER, 0x2ad42fd13f80}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x4012c0, [], SA_RESTORER, 0x2ad42fd13f80}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x4012c0, [], SA_RESTORER, 0x2ad42fd13f80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x4012c0, [], SA_RESTORER, 0x2ad42fd13f80}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x4012e0, [ALRM], SA_RESTORER|SA_RESTART, 0x2ad42fd13f80}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2ad42fd13f80}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2ad430441b80) = 9310
setpriority(PRIO_PROCESS, 9310, 4294967295) = 0
wait4(9310, 0x503b88, WNOHANG, NULL) = 0
write(2, “\n”, 1
) = 1
alarm(15) = 0
rt_sigsuspend([]X: warning; process set to priority -1 instead of requested priority 0
) = ? ERESTARTNOHAND (To be restarted)
— SIGUSR1 (User defined signal 1) @ 0 (0) —
rt_sigaction(SIGUSR1, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2ad42fd13f80}, {0x4012d0, [USR1], SA_RESTORER|SA_RESTART, 0x2ad42fd13f80}, 8) = 0

X Window System Version 7.1.1rt_sigreturn(0xa) = -1 EINTR (Interrupted system call)
alarm(0) = 15
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux Monstre 2.6.24-etchnhalf.1-amd64 #1 SMP Mon Jul 21 10:36:02 UTC 2008 x86_64
NULL, 8) = 0
Build Date: 01 June 2008
Before reporting problems, check wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
uname((==) Log file: “/var/log/Xorg.1.log”, Time: Mon Sep 29 14:56:35 2008
(==) Using config file: “/etc/X11/xorg.conf”
uname({sys=“Linux”, node=“Monstre”, …}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X1"}, 19) = 0
uname({sys=“Linux”, node=“Monstre”, …}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
access("/home/Masteradm01/.Xauthority", R_OK) = 0
open("/home/Masteradm01/.Xauthority", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=101, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad42f8db000
read(4, “\1\0\0\7Monstre\0\0010\0\22MIT-MAGIC-COOKIE”…, 4096) = 101
read(4, “”, 4096) = 0
close(4) = 0
munmap(0x2ad42f8db000, 4096) = 0
writev(3, [{“l\0\v\0\0\0\0\0\0\0\0\0”, 12}], 1) = 12
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, 0x7fff7b1ecbd0, 8) = -1 EAGAIN (Resource temporarily unavailable)
poll((WW) VESA(0): Failed to set up write-combining range (0xfbc00000,0x200000)
(WW) VESA(0): Failed to set up write-combining range (0xfb800000,0x600000)
(WW) VESA(0): Failed to set up write-combining range (0xfb000000,0xe00000)
xkb_keycodes { include “xfree86+aliases(azerty)” };
xkb_types { include “complete” };
xkb_compatibility { include “complete” };
xkb_symbols { include “pc(pc105)+fr(latin9)” };
xkb_geometry { include “pc(pc105)” };
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type “ONE_LEVEL” has 1 levels, but has 2 symbols
Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
Warning: font renderer for “.pcf” already registered at priority 0
Warning: font renderer for “.pcf.Z” already registered at priority 0
Warning: font renderer for “.pcf.gz” already registered at priority 0
Warning: font renderer for “.snf” already registered at priority 0
Warning: font renderer for “.snf.Z” already registered at priority 0
Warning: font renderer for “.snf.gz” already registered at priority 0
Warning: font renderer for “.bdf” already registered at priority 0
Warning: font renderer for “.bdf.Z” already registered at priority 0
Warning: font renderer for “.bdf.gz” already registered at priority 0
Warning: font renderer for “.pmf” already registered at priority 0
[{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\0\v\0\0\0009\0”, 8) = 8
read(3, “\10\250-\4\0\0 \0\377\377\37\0\0\1\0\0\24\0\377\377\1\7”…, 228) = 228
write(3, “7\0\5\0\0\0 \0:\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0”…, 64) = 64
read(3, “\1\\2\0\0\0\0\0\1\203\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
read(3, “\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\203\0\1\0”, 4) = 4
read(3, 0x7fff7b1ecad0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\\4\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
writev(3, [{“b\0\5\0\t\0 \0”, 8}, {“XKEYBOARD”, 9}, {"\0\0\0", 3}], 3) = 20
read(3, 0x7fff7b1ec9a0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\\5\0\0\0\0\0\1\223]\241\0\0\0\0\0\0\0\0\0\0\0\0\0\0”…, 32) = 32
write(3, “\223\0\2\0\1\0\0\0”, 8) = 8
read(3, 0x7fff7b1eca30, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, “\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0P\\7\37\377\177\0\0\240”…, 32) = 32
vfork() = 9318
wait4(-1

(j’ai l’impression d’avoir plus de choses en retour, non?)

Je ne suis pas devant mon pc pour en voir le résultat. Faudra patienter pouvoir s’il y a un xterm qui apparait.

La fin est prometteuse, les serveur X s’est lancé, tu devrais le voir en faisant un
ps x avec un xterm qui tourne

Ah!

En surfant sur le web (côté ubuntu, en fait), j’ai trouvé une référence à .xsessions-erreur.
J’ai, bien sûr, ce fichier :

sh-3.1# slocate .xsession-errors
/home/Masteradm01/.xsession-errors
/home/christian/.xsession-errors
/root/.xsession-errors

Je crois qu’il y a tout un tas de messages utiles :

The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at mardi 2 septembre 2008, 22:19:21 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/32748
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
** Message: Pas de lancement du serveur du bureau à distance
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘update-notifier’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘nautilus’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘nm-applet’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.

(nautilus:419): Gnome-CRITICAL **: gnome_program_get_app_version: assertion `program != NULL’ failed
gnome_segv2: Fatal IO error 104 (Connexion ré-initialisée par le correspondant) on X server :0.0.
Xsession: X session started for root at lundi 15 septembre 2008, 23:04:03 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/11834
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance

(gnome-panel:11900): libgnomevfs-WARNING **: Failed to re-activate daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘update-notifier’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at lundi 15 septembre 2008, 23:07:00 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/13601
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘bluetooth-applet’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘nautilus’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘update-notifier’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at lundi 15 septembre 2008, 23:23:37 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/14105
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance

(gnome-panel:14171): libgnomevfs-WARNING **: Failed to re-activate daemon: Connection is closed
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘update-notifier’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at lundi 15 septembre 2008, 23:29:25 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/14269
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at lundi 15 septembre 2008, 23:39:42 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/14795
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘update-notifier’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at lundi 15 septembre 2008, 23:49:24 (UTC+0200)
Xsession: X session started for root at lundi 15 septembre 2008, 23:50:15 (UTC+0200)
Xsession: X session started for root at mardi 16 septembre 2008, 15:44:37 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/11075
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘nautilus’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at vendredi 19 septembre 2008, 01:01:41 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/5379
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance

(gnome-panel:5444): libgnomevfs-WARNING **: Failed to re-activate daemon: Connection is closed
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at dimanche 21 septembre 2008, 17:45:48 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/8841
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at dimanche 21 septembre 2008, 18:58:41 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/4714
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
The application ‘nautilus’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘bluetooth-applet’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Xsession: X session started for root at dimanche 28 septembre 2008, 22:53:57 (UTC+0200)
SESSION_MANAGER=local/Monstre:/tmp/.ICE-unix/22010
Avertissement du gestionnaire de fenêtres : Échec de lecture du fichier de session enregistré /root/.metacity/sessions/default0.ms : Failed to open file ‘/root/.metacity/sessions/default0.ms’: Aucun fichier ou répertoire de ce type
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
** Message: Pas de lancement du serveur du bureau à distance
The application ‘nautilus’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Avertissement du gestionnaire de fenêtres : Perte de la connexion avec le visuel « :0.0 » ;
le serveur X a probablement été arrêté ou vous avez tué/détruit
le gestionnaire de fenêtres.
The application ‘vino-session’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘bluetooth-applet’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-panel’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application ‘gnome-cups-icon’ lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.

(ps navré pour la longueur des messages… je crois que tout ceci peut être intéressant!)

J’ai trouvé ceci : forum.ubuntu-fr.org/viewtopic.php?id=221470
Je ne crois pas que le problème vienne de gnome, toutefois, car sans même lancer gnome, il y a déjà de problèmes.
Pour ce qui est des arrêts du serveur X, je pense que c’est l’indication de ce que j’ai moi-même fait.

Tu en penses quoi?

Pour ce qui est du ps x :
sh-3.1# ps x | grep xterm
9811 pts/0 S+ 0:00 grep xterm
sh-3.1# ps x | grep 'X’
9831 pts/0 S+ 0:00 grep X

Mais j’ai dû quitté la session, entre temps, aussi… je suppose donc que c’est normal.

Ok, j’ai relancé le tout avec la commande

nohup strace xinit – :1 2> /tmp/TRACE

L’avantage est que cette fois, même si la machine ne me rends pas la main sur une session, je peux fermer celle-ci sans que ça ferme tout. Ainsi :

sh-3.1# ps aux | grep X
root 12254 0.5 0.3 48092 13328 tty8 S<s+ 16:26 0:00 X :1
root 12294 0.0 0.0 7232 828 pts/0 S+ 16:28 0:00 grep X

sh-3.1# pidof X
12254

Toutefois, je suis toujours à :
-rw------- 1 root root 0 2008-09-28 22:54 .Xauthority

Je vais regarder ce que ça donne chez moi.