Sujet: [X11] --nolisten tcp ...pq?
18/08/2008 @ 15:18:01: blietaer: [X11] --nolisten tcp ...pq?
Je ne trouve pas pq startx démarre en -nolisten tcp
pas de fichier de config qui contienne cette option...
ni ds /etc/X11/..

Debian/KDE3


root 4326 4320 1 11:16 tty7 00:02:51 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-AscQ4y
18/08/2008 @ 15:48:47: philfr: [X11] --nolisten tcp ...pq?
C'est kdm qui démarre ton X, non ?

-> /etc/kde3/kdm/kdmrc
18/08/2008 @ 15:50:52: philfr: [X11] --nolisten tcp ...pq?
Mais je te déconseille de changer cette option :oh:
18/08/2008 @ 16:10:52: blietaer: [X11] --nolisten tcp ...pq?
et tu fais tout par tunnel ssh alors?

ds mon /etc/kde3/kdm/kdmrc :

[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=bli
#ServerArgsLocal=-nolisten tcp
ServerCmd=/usr/bin/X -br

c'est bien moi qui à mon avis avait du mettre le nolisten en commentaire...mais est-ce bien un commentaire dans un kdmrc?
gvim ne le colore pas en tous cas...
18/08/2008 @ 16:39:18: philfr: [X11] --nolisten tcp ...pq?
et tu fais tout par tunnel ssh alors?


Oui...

c'est bien moi qui à mon avis avait du mettre le nolisten en commentaire...mais est-ce bien un commentaire dans un kdmrc?


Oui, chez moi il y a toute la doc de kdmrc en commentaire... Si tu y tiens, tu peux essayer ServerArgsLocal=""
18/08/2008 @ 17:21:30: blietaer: [X11] --nolisten tcp ...pq?


Et ca veut dire ouvrir le ssh avec l'option "-X" ou jouer avec du Xauth?
le Xauth marche si le 6000 est fermé?
18/08/2008 @ 18:24:25: philfr: [X11] --nolisten tcp ...pq?
Juste -X fait tout ce qu'il faut.
18/08/2008 @ 18:36:37: ovh: [X11] --nolisten tcp ...pq?
blibli> ce tuto devrait fortement t'intéresser :
http://come-david.developpez.com/tutoriels/remoteX/
:cupra:

(je me suis personnellement occupé de la partie windows)
19/08/2008 @ 09:09:24: blietaer: [X11] --nolisten tcp ...pq?
superbe ca ovh!!!
tu devrais en pondre d'autres!
et sur ce site-ci!
26/08/2008 @ 15:43:32: blietaer: [X11] --nolisten tcp ...pq?
Tiens et pq j'ai qu'une console qui marche (CTLR-ALT-F1) et pas les autres (toutes noir sur F2, F3, F4, F5,...sauf F7, bien sur)
26/08/2008 @ 16:21:07: philfr: [X11] --nolisten tcp ...pq?
Parce qu'elles ne sont pas démarrées dans ton /etc/inittab.
Mais sous ubuntu, la console est merdique, car elle est à moitié en utf-8 et à moitié pas...

C'est fait pour dégoûter les curieux/téméraires....
26/08/2008 @ 16:25:08: Dr_Dan: [X11] --nolisten tcp ...pq?
Sous ubuntu, le bon vieux inittab à été remplacé par plusieurs fichier de config dans /etc/event.d :oh:
27/08/2008 @ 11:12:37: blietaer: [X11] --nolisten tcp ...pq?
oops pardon j'ai pas situé le contexte : Debian Lenny.



# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:4:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
# <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
#1:2345:respawn:/sbin/getty -n -l /usr/local/sbin/autologin 38400 tty1
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3



12/09/2008 @ 14:52:04: blietaer: [X11] --nolisten tcp ...pq?
Ben ..ils ont l'ai un peu démarré là non?
12/09/2008 @ 15:34:13: philfr: [X11] --nolisten tcp ...pq?
Tu les vois dans ton ps aux ?
15/09/2008 @ 09:43:29: blietaer: [X11] --nolisten tcp ...pq?
nope.
ps aux | grep tty

root 3659 5.6 3.7 86896 78028 tty7 SLs+ 09:25 1:00 /usr/bin/X -br -auth $HOME/.Xauthority :0 vt7 -auth /var/run/xauth/A:0-ULKiF2
root 4034 0.0 0.0 1760 500 tty1 Ss+ 09:25 0:00 /sbin/getty 38400 tty1
root 8515 0.0 0.0 1832 572 pts/10 S+ 09:43 0:00 grep tty
15/09/2008 @ 09:59:21: philfr: [X11] --nolisten tcp ...pq?



# The default runlevel.
id:4:initdefault:



Ton runlevel au boot est 4.



# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
#1:2345:respawn:/sbin/getty -n -l /usr/local/sbin/autologin 38400 tty1
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6



Les autres consoles ne sont démarrées qu'en init 2 et 3.

Si tu fais telinit 2, elles seront démarrées.
Je ne sais pas pourquoi tu as le seul debian dont le default runlevel est à 4...
15/09/2008 @ 10:07:29: blietaer: [X11] --nolisten tcp ...pq?
et il devrait être à?
En attendant, j'ajoute :2345: à tous les tty....
15/09/2008 @ 10:11:00: philfr: [X11] --nolisten tcp ...pq?
2 sur tous les debian pristine que je connais.

Les ?ubuntu je ne suis pas sûr.
15/09/2008 @ 10:15:55: blietaer: [X11] --nolisten tcp ...pq?
pristine?!
Moi c'est une Debian lenny.
Tiens ouais c'est bizarre
et en level 2 on a l'xorg qd meme?

Merci pour ton aide, mtn au pire je sais les démarrer en mano.
Retour