#1 Le 08/01/2012, à 13:27
- floom
[resolu] Comment avoir plusieurs GDM/serveur x sur tty différents ???.
Je cherche à exécuter GDM (l'écran de login utilisateur) dans un second tty (ex F9)
Ensuite je souhaite mettre cela dans le démarrage mais je suppose que c'est un simple script.
J'ai trouvé quelques info mais rien d'applicable dans mon cas..
Merci d'avance
$ uname -a
Linux fool 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ uname -a
ls -R /etc/gdm/
/etc/gdm/:
Init PostLogin PostSession PreSession Xsession
/etc/gdm/Init:
Default
/etc/gdm/PostLogin:
Default.sample
/etc/gdm/PostSession:
Default
/etc/gdm/PreSession:
Default
$ locate gdm.conf
/etc/dbus-1/system.d/gdm.conf
/etc/init/gdm.conf
/var/lib/dpkg/info/gdm.conffiles
/var/lib/dpkg/info/gdm.config
$ cat /etc/init/gdm.conf
# gdm - GNOME Display Manager
#
# The display manager service manages the X servers running on the
# system, providing login and auto-login services
description "GNOME Display Manager"
author "William Jon McCann <mccann@jhu.edu>"
start on ((filesystem
and runlevel [!06]
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
or runlevel PREVLEVEL=S)
stop on runlevel [016]
emits login-session-start
emits desktop-session-start
emits desktop-shutdown
env XORGCONFIG=/etc/X11/xorg.conf
script
if [ -n "$UPSTART_EVENTS" ]
then
if [ -f /etc/X11/default-display-manager ]; then
[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/gdm" ] || { stop; exit 0; }
else
type lightdm >/dev/null 2>&1 && { stop; exit 0; } || true
fi
if [ "$RUNLEVEL" = S -o "$RUNLEVEL" = 1 ]
then
# Single-user mode
plymouth quit || :
exit 0
fi
fi
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE LC_MESSAGES
elif [ -r /etc/environment ]; then
. /etc/environment
export LANG LANGUAGE LC_MESSAGES
fi
export XORGCONFIG
exec gdm-binary $CONFIG_FILE
end script
post-stop script
if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then
initctl emit desktop-shutdown
fi
end script
$cat /etc/X11/default-display-manager
/usr/sbin/lightdm
Dernière modification par floom (Le 08/01/2012, à 17:17)
Hors ligne
#2 Le 08/01/2012, à 13:29
- floom
Re : [resolu] Comment avoir plusieurs GDM/serveur x sur tty différents ???.
j'ai trouvé simple en fait :
$gdm -- :2 vt2
Dernière modification par floom (Le 08/01/2012, à 17:16)
Hors ligne