PDA

View Full Version : cambiare tty di avvio xorg


Damage92
18-06-2009, 08:16
Su Fedora 10 Xorg si avvia su tty1, vorrei cambiargli tty, come posso fare?

sacarde
18-06-2009, 10:00
bella domanda.......


io se faccio: ps auxwww | grep X

vedo:

/usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-YEM5iy

ma chi lo lancia?

sacarde
18-06-2009, 12:58
forse ho trovato:


dentro il file di configurazione (uso kde 3.5.10)

/opt/kde/share/config/kdm/kdmrc.default

c'e' un parametro:

...
# VTs to allocate to X-servers. A negative number means that the VT will be
# used only if it is free. If all VTs in this list are used up, the next free
# one greater than the last one in this list will be allocated.
# Default is ""
ServerVTs=-7
...
...

Damage92
18-06-2009, 14:13
quindi dipende dal de? :eek:
Uso gnome, e non trovo traccia di qualcosa di simile, oppure è stata omessa.
Solo nella man di Xorg si trova la spiegazione del parametro -vt, ma non trovo dove andarlo a cercare... :cry:

sacarde
18-06-2009, 15:25
prova con:


locate gdmrc

Damage92
18-06-2009, 18:05
nulla, neanche dopo un updatedb...
ci sono alcuni file di configurazione di gdm, ma non vedo nulla di utile...

sacarde
18-06-2009, 19:30
l'hai visto il processo X ?

prova a ricercarlo nei file in /etc



p.s.
in /etc/inittab ?

Damage92
19-06-2009, 12:43
trovato :)

c'è una discussione un pò accesa in un form su Fedora, sul fatto che Xorg si avvii su tty1:
https://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=63207&viewmode=flat&order=ASC&start=0
e tra un flame e l'altro qualcuno ha pensato bene di spiegare come fare.


1) add "start on started prefdm" to /etc/event.d/tty1
2) (GNOME) edit /etc/gdm/custom.conf and add
FirstVT=7
to the top of the file. Or:
(KDE) edit /etc/kde/kdm/kdmrc and set
ServerVTs=-7
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
3) Sigh contentedly at the restoration of your precious tradition.

If you use runlevel 3 + startx, nothing has changed.


alla fine era proprio il file di configurazione di gdm a dover essere modificato, per specificare il VT... :D