From: Dmitry Derjavin <dd@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Вход в систему с одним графическим приложением
Date: Sun, 12 Jun 2011 20:14:56 +0400
Message-ID: <87ipsb10xr.fsf@asia.home.dd> (raw)
In-Reply-To: <201106121010.51413.cas@altlinux.ru> (=?koi8-r?B?IuHOxNLFyiD+?= =?koi8-r?B?xdLF0MHOz9ciJ3M=?= message of "Sun, 12 Jun 2011 10:10:46 +0400")
On Sun, Jun 12 2011 at 10:10, Андрей Черепанов wrote:
> Стоит задача на одном месте запускать одно графическое приложение. Так,
> пользователь включает компьютер, происходит загрузка, автологин, запуск
> приложения на полный экран без всякого WM. После выхода из приложения
> компьютер должен выключаться.
В пользовательском профиле, скажем, /bin/bash; в ~/.bashrc:
startx
sudo poweroff
В ~/.xsession запуск полноэкранного приложения; в /etc/sudoers,
соответственно — разрешение на запуск /sbin/poweroff без ввода пароля.
Видимо, как-то так.
--
~dd
next prev parent reply other threads:[~2011-06-12 16:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 6:10 Андрей Черепанов
2011-06-12 9:55 ` Terechkov Evgenii
2011-06-12 16:14 ` Dmitry Derjavin [this message]
2011-06-12 18:08 ` Eugene Prokopiev
2011-06-13 4:48 ` Андрей Черепанов
2011-06-13 8:44 ` Vladimir A. Svyatoshenko
2011-06-13 11:07 ` Michael Shigorin
2011-06-13 14:39 ` Dmitriy Khanzhin
2011-06-15 7:29 ` Dmitriy Khanzhin
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=87ipsb10xr.fsf@asia.home.dd \
--to=dd@altlinux.org \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git