On 2/15/06, Marc Shapiro <[EMAIL PROTECTED]> wrote:
> Is there any way to determine the virtual terminal that an X session is
> running on?

$ man -k vt
...
fgconsole (1)        - print the number of the active VT.
...

It seems to need super user privileges though.  I can see why super
user privileges should be necessary for chvt but not fgconsole.  Does
anyone know why or should it be reported as a "bug".

--Dave

Reply via email to