ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Автостарт X на свободном дисплее
@ 2001-12-17 13:19 John
  2001-12-17 14:50 ` Michael Shigorin
  0 siblings, 1 reply; 7+ messages in thread
From: John @ 2001-12-17 13:19 UTC (permalink / raw)
  To: Mandrake

Здравствуйте!

У меня в .bashrc написано

[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc

if [ -n "`ls /tmp/.X*-lock 2>/dev/null`" ]; then  
    display=:$[1+0$(ls /tmp/.X*-lock | tail -1 | sed -n 
's/.*X\([[:digit:]]\+\)-lock$/\1/p')]
else
    display=:0
fi

echo startx -- $display
startx -- $display

При логине выдается

startx -- :0
"" in "list" comandad display ":0
"" in "add" comandad display ":0
"" in "list" comandad display "master.home:0
"" in "add" comandad display "master. home:0


Сам по себе startx -- :0 отрабатывает как надо. Что делать?

С уважением Прокопьев Евгений

PS: Баш не сильно знаю, писал не сам, здесь подсказали





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-12-24 13:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17 13:19 [mdk-re] Автостарт X на свободном дисплее John
2001-12-17 14:50 ` Michael Shigorin
2001-12-19 15:49   ` Peter V.Saveliev
2001-12-19 17:41     ` Michael Shigorin
2001-12-19 18:46       ` Peter V.Saveliev
2001-12-19 22:40         ` Michael Shigorin
2001-12-24 13:16           ` Peter V.Saveliev

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