ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Borisenkov <grizlik78@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] kdm4 + lxde и переключение пользователей
Date: Mon, 16 Jan 2012 12:12:15 +0400
Message-ID: <4F13DBDF.10205@gmail.com> (raw)

Короткий вопрос: почему kdm4 создаёт файл /var/run/xdm.pid, а не 
/var/run/kdm.pid ?

$ cat /proc/`cat /var/run/xdm.pid`/cmdline
kdm-nodaemon

Это для чего-то надо или просто так получилось?

Теперь, почему интересуюсь. Если используется связка lxde + gdm, то 
переключение пользователей доступно. Сейчас точно не помню, но кажется с 
kdm из KDE3 оно тоже работает. А вот с kde4 пункт сменить пользователя в 
меню выхода отсутствует. Исследование исходников показало, что в файле 
lxsession-logout.c производится поиск kdm.pid с последующей проверкой 
cmdline по этому PID на наличие подстроки kdm.
Создание ссылки kdm.pid -> xdm.pid помогает.
Кто не прав?


             reply	other threads:[~2012-01-16  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16  8:12 Alexey Borisenkov [this message]
2012-01-16 12:11 ` Sergey V Turchin
2012-01-16 12:36   ` Alexey Borisenkov
2012-01-16 13:08     ` Sergey V Turchin
2012-01-16 16:08       ` Alexey Borisenkov

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=4F13DBDF.10205@gmail.com \
    --to=grizlik78@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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