ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] User remains logged on to pts/0 after exiting X :-(
Date: Mon Sep 24 21:04:02 2001
Message-ID: <20010924200256.520cead3.vsu@mivlgu.murom.ru> (raw)
In-Reply-To: <20010923231347.A10586@hb.ant-on.net>

On Sun, 23 Sep 2001 23:13:47 +0400
HB <npecca@yahoo.com> wrote:

> Когда я (пользователь hb) выхожу из KDE, этот выход происходит как-то
> странно, "не до конца". После выхода пользователь hb с терминалом pts/0
> остается logged on. Это так и должно быть?

Интересно было бы посмотреть на вывод /usr/sbin/lsof /dev/pts/0
во время работы KDE и после выхода (когда остался висящий
пользователь), чтобы выяснить, что за процесс зарегистрировал
вход на псевдотерминале, и остался ли он после завершения работы
KDE.

> Кроме того, если перейти на тот терминал, где до этого был KDE, нажав
> Alt-F7, то мы видим пустой черный экран с мигающим на нем курсором (т. е.
> это текстовый режим). Такое ощущение, что там еще "что-то осталось", в
> отличие от других, на самом деле "пустых" терминалов, т. к. при нажатии
> Alt-F8, Alt-F9, ..., Alt-F12 не происходит ничего.

Так Вы запускаете KDE через startx?  Тогда так и должно быть - X
занимает виртуальную консоль под себя, а после завершения
освобождает, но не уничтожает. Для окончательного уничтожения
есть утилита deallocvt (сам не пробовал, только смотрел
описание).

> Кто виноват? Что делать? Кому на Руси жить хорошо?

> Что меня особенно удивляет, как может быть пользователь logged on,
> если от его имени не запущено _ни одного_ процесса?

Возможно, например, кто-то не убрал за собой запись в
/var/run/utmp.



  parent reply	other threads:[~2001-09-24 21:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-23 23:08 HB
2001-09-24 14:40 ` Michael Shigorin
2001-09-24 18:20   ` HB
2001-09-24 21:04 ` Sergey Vlasov [this message]
2001-09-27 14:30   ` HB
2001-09-27 19:42     ` Sergey Vlasov
2001-09-27 22:14       ` HB

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010924200256.520cead3.vsu@mivlgu.murom.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git