Re: How to determine the VT of a running X session?
Am 2006-02-15 10:53:15, schrieb Marc Shapiro:
> Is there any way to determine the virtual terminal that an X session is
> running on?
>
> Using 'who' only tells me who is logged onto a VT, which would be fine,
> except that it does not show VTs with X sessions.
w -f $LOGNAME |grep startx |sed -e "s/\ \ / /g;s/\ \ / /g" |cut -d " " -f2
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: