ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: therion <therion@pochta.ru>
To: community <community@altlinux.ru>
Subject: [Comm] Будильник
Date: Mon, 3 Nov 2003 08:42:27 +0500
Message-ID: <200311030842.27952.therion@pochta.ru> (raw)

Приветствую всех
Возникла такая небольшая, но неприятная проблема - захотел будильник сделать: комп автоматически стартует, ну и проигрывается музыка. Запуск проигрователя (mpg123 либо mplayer, неважно), понятное дело, cron осуществляет. 
Короче, сама суть: скажем запуск производится от пользователя user, crond запускает процесс на выполнение в любом случае - залогинен данный user в этот момент или нет. Ясно-понятно, что при загрузки машины, если конечно не использовать autologin (что делать очень не охото, по разным причинам) система выдает приглашение на ввод логина и пароля, cron отрабатывает, но музыки нет.
При этом, если то же самое задание отрабатывает когда user залогинен, то полный порядок. И что самое интересное, не обязательно чтобы он постоянно висел в какой-то консоли, достаточно чтобы после загрузки машины user хотя-бы один раз вошел.
Если кто-то сталкивался с чем-то подобным (возможно дело как-то завязано с инициализацией устройства dsp) просьба откликнуться.
Как резервный вариант: как сделать чтобы автоматически происходила регистрация пользователя, но не средствами KDE, а в консоле (runlevel 3 скажем или 2)? По последнему вопросу можно просто ткнуть в доки. Спасибо.

             reply	other threads:[~2003-11-03  3:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03  3:42 therion [this message]
2003-11-03  9:08   ` therion
2003-11-03  9:49     ` Denis S. Filimonov
2003-11-03 11:23       ` therion
2003-11-03 11:41         ` Denis S. Filimonov
2003-11-04  3:10           ` therion
2003-11-04  5:44             ` Denis S. Filimonov
2003-11-04  6:16               ` therion
2003-11-04  6:26                 ` Denis S. Filimonov
2003-11-04  6:47                   ` therion
2003-11-04 10:58                     ` Denis S. Filimonov
2003-11-05  4:08                       ` therion
2003-11-05  4:18                         ` Denis S. Filimonov
2003-11-03 10:29     ` Andrey Golovin
2003-11-03 11:03       ` therion

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=200311030842.27952.therion@pochta.ru \
    --to=therion@pochta.ru \
    --cc=community@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