Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Virtual Terminal Number


Sluggers,

I'm running two X sessions on my 'puter using this entry in gdm.conf

  [servers]
  0=/usr/bin/X11/X vt7
  1=/usr/bin/X11/X vt8

I toggle between them using ctrl-alt-F7/F8.

My question is, does anyone know if it is possible to show which virtual terminal I'm about to log into in the gdm login dialog? And maybe on the
desktop as well. (I loose track of which terminal I'm currently on).

The welcome message in gdm is set using the following line in gdm.conf,

  Welcome=Welcome to %n

Does anyone know if the virtual terminal is in a variable somewhere that could be displayed in this message? something like

   Welcome to %n (%vt)

I know that with Debian and multiple mingetty text consoles it shows which console you are about to login to as part of the login
prompt / welcome message. RedHat doesn't, does anyone knows how to fix
that?

TIA's

Pete