[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to determine the VT of a running X session?



Am 2006-02-15 13:27:10, schrieb David Berg:

> I hadn't tried it outside of X and there it does work as a non-root
> user.  but in X I get:
> 
> dberg@ubuntu:~$ fgconsole
> Couldnt get a file descriptor referring to the console

Weired, because I can use it in a XTerm without any problems.
Works under Woody, Sarge and Etch.

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: