* [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
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-17 13:19 [mdk-re] Автостарт X на свободном дисплее John @ 2001-12-17 14:50 ` Michael Shigorin 2001-12-19 15:49 ` Peter V.Saveliev 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2001-12-17 14:50 UTC (permalink / raw) To: Mandrake On Mon, Dec 17, 2001 at 01:24:14PM +0300, John wrote: > У меня в .bashrc написано ~/.bash_profile или ~/.bash_login ? Кстати, может, Вам просто пущать пару *dm'ов на паре иксов сразу, если часто надо? У меня бегает один wdm (на пару с windowmaker'ами), а если кому надо сбоку сесть -- обучены перейти в консоль, влогиниться, набрать startx (который потом в моем варианте исполняет схожие по смыслу со скипнутым действия). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-17 14:50 ` Michael Shigorin @ 2001-12-19 15:49 ` Peter V.Saveliev 2001-12-19 17:41 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Peter V.Saveliev @ 2001-12-19 15:49 UTC (permalink / raw) To: mandrake-russian On Mon, 17 Dec 2001 13:16:35 +0200 "Michael Shigorin" <mike@lic145.kiev.ua> wrote: > У меня бегает один wdm (на пару с windowmaker'ами), а если кому надо > сбоку сесть -- обучены перейти в консоль, влогиниться, набрать > startx (который потом в моем варианте исполняет схожие по смыслу > со скипнутым действия). К слову, Михаил, я поюзал Ваш скрипт, и заметил особенность. Если запустить k сессий X, где k>=2, а затем, находясь в n-й сессии, где n>=2, ее закрыть, то происходит мертвый взвис при бегании по консолям в текстовом режиме с помощью Alt-Richt/Alt-Left и достижении закрытой консоли. С чем это может быть связано? Ясное дело, не со скриптом, наверное, с работой иксов с графическими терминалами, но может есть мысли, как это пофиксить? Или потрясем разработчиков, мол, проблем у них мало, надо подкинуть? Петр. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-19 15:49 ` Peter V.Saveliev @ 2001-12-19 17:41 ` Michael Shigorin 2001-12-19 18:46 ` Peter V.Saveliev 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2001-12-19 17:41 UTC (permalink / raw) To: mandrake-russian [-- Attachment #1: Type: text/plain, Size: 1259 bytes --] On Wed, Dec 19, 2001 at 03:50:55PM +0300, Peter V.Saveliev wrote: > К слову, Михаил, я поюзал Ваш скрипт, и заметил особенность. Если > запустить k сессий X, где k>=2, а затем, находясь в n-й сессии, где > n>=2, ее закрыть, то происходит мертвый взвис при бегании по консолям > в текстовом режиме с помощью Alt-Richt/Alt-Left и достижении закрытой > консоли. С чем это может быть связано? Ясное дело, не со скриптом, Попробуйте выгнать из него deallocvt -- может, кто-то нервно реагирует. Проблем на S3 Trio64/XF86_S3-3.3.6 и TNT2/XFree86-4.0.[23] с nv и nvidia не было в течение ~ года, который он (скрипт) у меня работает. > наверное, с работой иксов с графическими терминалами, но может есть > мысли, как это пофиксить? Или потрясем разработчиков, мол, проблем у > них мало, надо подкинуть? А что за карта/драйвер? Фреймбуфер есть? Попробуйте сами позапускать startx -- :N и потом после закрывания deallocvt на освобожденную VT, перемежая пробежками с Alt-L/R. Только что проверил, открыв еще 3 сессии и активно попереключавшись, по очереди повырубал (с пробежками). Скажем так, "ничего умного он не делает" -- я там разве что /tmp races подозреваю ;) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-19 17:41 ` Michael Shigorin @ 2001-12-19 18:46 ` Peter V.Saveliev 2001-12-19 22:40 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Peter V.Saveliev @ 2001-12-19 18:46 UTC (permalink / raw) To: mandrake-russian On Wed, 19 Dec 2001 15:42:01 +0200 "Michael Shigorin" <mike@lic145.kiev.ua> wrote: <skip> > Попробуйте выгнать из него deallocvt -- может, кто-то нервно > реагирует. Проблем на S3 Trio64/XF86_S3-3.3.6 и > TNT2/XFree86-4.0.[23] с nv и nvidia не было в течение ~ года, > который он (скрипт) у меня работает. Попробую. <skip> > А что за карта/драйвер? Фреймбуфер есть? Попробуйте сами S3Virge/s3virge, нет. > позапускать startx -- :N и потом после закрывания deallocvt на > освобожденную VT, перемежая пробежками с Alt-L/R. Только что > проверил, открыв еще 3 сессии и активно попереключавшись, по > очереди повырубал (с пробежками). Это тоже. О результатах - завтра. Петр. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-19 18:46 ` Peter V.Saveliev @ 2001-12-19 22:40 ` Michael Shigorin 2001-12-24 13:16 ` Peter V.Saveliev 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2001-12-19 22:40 UTC (permalink / raw) To: mandrake-russian On Wed, Dec 19, 2001 at 06:50:10PM +0300, Peter V.Saveliev wrote: > > А что за карта/драйвер? Фреймбуфер есть? Попробуйте сами > S3Virge/s3virge, нет. Бывали к ним претензии у друзей :( -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [mdk-re] Автостарт X на свободном дисплее 2001-12-19 22:40 ` Michael Shigorin @ 2001-12-24 13:16 ` Peter V.Saveliev 0 siblings, 0 replies; 7+ messages in thread From: Peter V.Saveliev @ 2001-12-24 13:16 UTC (permalink / raw) To: mandrake-russian On Wed, 19 Dec 2001 21:36:05 +0200 "Michael Shigorin" <mike@lic145.kiev.ua> wrote: > > S3Virge/s3virge, нет. > Бывали к ним претензии у друзей :( Похоже, что все так. Просто запуск startx -- :1 приводит к тому, что попереключавшись между X-сессиями, намертво висну через k попыток. Петр. ^ 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