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

Re: per command von X zur Konsole und retour



Am 2008-11-26 10:45:48, schrieb Tobias Nissen:
> Du kannst aber leicht herausfinden, wer die X-Sitzung erstellt hat. Wenn
> X auf tty7 läuft (und das ist so gut wie immer der Fall):
> 
>   w | awk '{if ($2=="tty7") print $1}'

Das geht weder mit einem DisplayManager noch per "startx".

--[ command 'w' ]-------------------------------------------------------
 14:17:44 up 23:23,  5 users,  load average: 0,11, 0,13, 0,09
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
michelle tty1     -                Tue19   18:20m  1:08m  0.01s /bin/sh /usr/X11R6/bin/startx
michelle pts/0    :0.0             Tue21    3:35m  1:31  19.03s mc
michelle pts/1    :0.0             Tue21   17:04m  6.90s  6.90s /bin/bash /home/michelle.konzack/bin/td_show_messages
michelle pts/2    :0.0             Tue21    1:19   7:34   7:34  mutt
michelle pts/4    :0.0             14:15    0.00s  0.14s  0.03s w
------------------------------------------------------------------------

Beim einlogen über den  DisplayManager  ist  es  das  gleiche,  mit  der
Ausnahme, das ich überhaupt kein "tty" habe.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    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
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: