From: John <john@rmts.donpac.ru> To: Mandrake <mandrake-russian@altlinux.ru> Subject: [mdk-re] Автостарт X на свободном дисплее Date: Mon Dec 17 13:19:02 2001 Message-ID: <3C1DC7CE.1090609@rmts.donpac.ru> (raw) Здравствуйте! У меня в .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: Баш не сильно знаю, писал не сам, здесь подсказали
next reply other threads:[~2001-12-17 13:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-17 13:19 John [this message] 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
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=3C1DC7CE.1090609@rmts.donpac.ru \ --to=john@rmts.donpac.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