* [mdk-re] X вторая сессия @ 2002-03-13 22:03 ROmul 2002-03-13 23:30 ` cornet ` (2 more replies) 0 siblings, 3 replies; 18+ messages in thread From: ROmul @ 2002-03-13 22:03 UTC (permalink / raw) To: mandrake-russian Мира тебе mandrake-russian, Как запустить в какой-то консоли еще одну иксовую сессию. В принципе, мне это не надо, просто интересно :) --- ROmul, The rubberheart... HOMEPAGE: http://exit.webzone.ru ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-13 22:03 [mdk-re] X вторая сессия ROmul @ 2002-03-13 23:30 ` cornet 2002-03-14 11:36 ` [mdk-re] " Michael Shigorin 2002-03-14 15:47 ` [mdk-re] " Sergey Vlasov 2002-03-14 2:33 ` Любимов А.В. 2002-03-14 13:58 ` Eugeny Korekin 2 siblings, 2 replies; 18+ messages in thread From: cornet @ 2002-03-13 23:30 UTC (permalink / raw) To: mandrake-russian ROmul wrote: > > Мира тебе mandrake-russian, > > Как запустить в какой-то консоли еще одну иксовую сессию. В > принципе, мне это не надо, просто интересно :) $ startx -- :1 -- Власенко Олег. Отдел технической поддержки ALT Linux Team. mailto:cornet@altlinux.ru ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-13 23:30 ` cornet @ 2002-03-14 11:36 ` Michael Shigorin 2002-03-14 12:45 ` Dmitry V. Levin 2002-03-14 15:47 ` [mdk-re] " Sergey Vlasov 1 sibling, 1 reply; 18+ messages in thread From: Michael Shigorin @ 2002-03-14 11:36 UTC (permalink / raw) To: mandrake-russian [-- Attachment #1.1: Type: text/plain, Size: 345 bytes --] On Wed, Mar 13, 2002 at 11:31:50PM +0300, cornet wrote: > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > принципе, мне это не надо, просто интересно :) > $ startx -- :1 О, Олег -- может, пролоббируете аттач? Он у-умный ;) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ [-- Attachment #1.2: startx --] [-- Type: text/plain, Size: 2073 bytes --] #!/bin/sh # # (c) 1999 Red Hat Software, Inc. # patched by Michael Shigorin <mike@altlinux.ru> # to open new displays automagically bindir=/usr/X11R6/bin userclientrc=$HOME/.xinitrc userserverrc=$HOME/.xserverrc sysclientrc=/etc/X11/xinit/xinitrc sysserverrc=/etc/X11/xinit/xserverrc clientargs="" serverargs=" -quiet " TMPDIR=${TMPDIR:-/tmp} if [ -f $userclientrc ]; then clientargs=$userclientrc else if [ -f $sysclientrc ]; then clientargs=$sysclientrc fi fi if [ -f $userserverrc ]; then serverargs=$userserverrc else if [ -f $sysserverrc ]; then serverargs=$sysserverrc fi fi # select next free display... 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 whoseargs="client" while [ "x$1" != "x" ]; do case "$1" in /''*|\.*) if [ "$whoseargs" = "client" ]; then if [ "x$clientargs" = x ]; then clientargs="$1" else clientargs="$clientargs $1" fi else if [ "x$serverargs" = x ]; then serverargs="$1" else serverargs="$serverargs $1" fi fi ;; --) whoseargs="server" ;; *) if [ "$whoseargs" = "client" ]; then clientargs="$clientargs $1" else case "$1" in :[0-9]) display="$1" ;; *) serverargs="$serverargs $1" ;; esac fi ;; esac shift done # set up default Xauth info for this machine mcookie=`mcookie` serverargs="$serverargs -auth $HOME/.Xauthority" xauth add $display . $mcookie xauth add `hostname -f`$display . $mcookie # remember which VC will be occupied by X to deallocvt it later XINITLOG="$TMPDIR"/.startx-$HOSTNAME$display while [ -e "$XINITLOG" ]; do XINITLOG="$TMPDIR"/.startx-$HOSTNAME$display-$RANDOM done # here's the race :( # protect logfile >"$XINITLOG" chmod 600 "$XINITLOG" xinit $clientargs -- $display $serverargs 2>&1 | tee -a "$XINITLOG" # clean up deallocvt $(sed -n -e 's/^(using VT number \([[:digit:]]\+\))/\1/p' "$XINITLOG") 2>/dev/null rm -f "$XINITLOG" [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] Re: X вторая сессия 2002-03-14 11:36 ` [mdk-re] " Michael Shigorin @ 2002-03-14 12:45 ` Dmitry V. Levin 2002-03-14 12:53 ` cornet ` (2 more replies) 0 siblings, 3 replies; 18+ messages in thread From: Dmitry V. Levin @ 2002-03-14 12:45 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 687 bytes --] On Thu, Mar 14, 2002 at 10:43:31AM +0200, Michael Shigorin wrote: > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > принципе, мне это не надо, просто интересно :) > > $ startx -- :1 > О, Олег -- может, пролоббируете аттач? Он у-умный ;) Нет - это классический race condition. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.com/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] Re: X вторая сессия 2002-03-14 12:45 ` Dmitry V. Levin @ 2002-03-14 12:53 ` cornet 2002-03-14 13:01 ` Mikhail Zabaluev 2002-03-14 13:40 ` Michael Shigorin 2 siblings, 0 replies; 18+ messages in thread From: cornet @ 2002-03-14 12:53 UTC (permalink / raw) To: mandrake-russian "Dmitry V. Levin" wrote: > > On Thu, Mar 14, 2002 at 10:43:31AM +0200, Michael Shigorin wrote: > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > > принципе, мне это не надо, просто интересно :) > > > $ startx -- :1 > > О, Олег -- может, пролоббируете аттач? Он у-умный ;) > > Нет - это классический race condition. Ну как видите ldv это не понравилось. Не берусь аргументированно с ним спорить по тому увы :-(( -- Власенко Олег. Отдел технической поддержки ALT Linux Team. mailto:cornet@altlinux.ru ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 12:45 ` Dmitry V. Levin 2002-03-14 12:53 ` cornet @ 2002-03-14 13:01 ` Mikhail Zabaluev 2002-03-14 14:37 ` Dmitry V. Levin 2002-03-14 13:40 ` Michael Shigorin 2 siblings, 1 reply; 18+ messages in thread From: Mikhail Zabaluev @ 2002-03-14 13:01 UTC (permalink / raw) To: ALT Linux Spring mailing list; +Cc: Dmitry V. Levin Hello Dmitry, On Thu, Mar 14, 2002 at 12:57:00PM +0300, Dmitry V. Levin wrote: > > On Thu, Mar 14, 2002 at 10:43:31AM +0200, Michael Shigorin wrote: > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > > принципе, мне это не надо, просто интересно :) > > > $ startx -- :1 > > О, Олег -- может, пролоббируете аттач? Он у-умный ;) > > Нет - это классический race condition. Насколько я понимаю, чтобы запускать X на первой свободной "цифре" без гонок, нужно предусмотреть ключик и соответствующий код в параметрах серверов XFree86? -- Stay tuned, MhZ JID: mookid@jabber.org ___________ Cold hands, no gloves. ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 13:01 ` Mikhail Zabaluev @ 2002-03-14 14:37 ` Dmitry V. Levin 2002-03-14 15:00 ` Michael Shigorin 0 siblings, 1 reply; 18+ messages in thread From: Dmitry V. Levin @ 2002-03-14 14:37 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 895 bytes --] On Thu, Mar 14, 2002 at 01:16:58PM +0300, Mikhail Zabaluev wrote: > > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > > > принципе, мне это не надо, просто интересно :) > > > > $ startx -- :1 > > > О, Олег -- может, пролоббируете аттач? Он у-умный ;) > > > > Нет - это классический race condition. > > Насколько я понимаю, чтобы запускать X на первой свободной "цифре" без > гонок, нужно предусмотреть ключик и соответствующий код в параметрах > серверов XFree86? Да, именно там. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.com/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 14:37 ` Dmitry V. Levin @ 2002-03-14 15:00 ` Michael Shigorin 2002-03-14 15:21 ` Dmitry V. Levin 2002-03-14 15:35 ` Andriy Dobrovol's'kii 0 siblings, 2 replies; 18+ messages in thread From: Michael Shigorin @ 2002-03-14 15:00 UTC (permalink / raw) To: ALT Linux Spring mailing list; +Cc: Dmitry V. Levin [-- Attachment #1: Type: text/plain, Size: 391 bytes --] On Thu, Mar 14, 2002 at 02:50:07PM +0300, Dmitry V. Levin wrote: > > Насколько я понимаю, чтобы запускать X на первой свободной "цифре" без > > гонок, нужно предусмотреть ключик и соответствующий код в параметрах > > серверов XFree86? > Да, именно там. А кому-то еще это может быть интересно? -- ---- 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] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 15:00 ` Michael Shigorin @ 2002-03-14 15:21 ` Dmitry V. Levin 2002-03-14 16:55 ` Michael Shigorin 2002-03-14 15:35 ` Andriy Dobrovol's'kii 1 sibling, 1 reply; 18+ messages in thread From: Dmitry V. Levin @ 2002-03-14 15:21 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 709 bytes --] On Thu, Mar 14, 2002 at 02:06:35PM +0200, Michael Shigorin wrote: > > > Насколько я понимаю, чтобы запускать X на первой свободной "цифре" без > > > гонок, нужно предусмотреть ключик и соответствующий код в параметрах > > > серверов XFree86? > > Да, именно там. > А кому-то еще это может быть интересно? Да. Мне интересно. :) Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.com/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 15:21 ` Dmitry V. Levin @ 2002-03-14 16:55 ` Michael Shigorin 0 siblings, 0 replies; 18+ messages in thread From: Michael Shigorin @ 2002-03-14 16:55 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 372 bytes --] On Thu, Mar 14, 2002 at 03:29:27PM +0300, Dmitry V. Levin wrote: > > А кому-то еще это может быть интересно? > Мне интересно. :) "Что же из этого следует?.." (я патчить XFree86 не имею никакого намерения, а пропихивать патч -- никакого веса; да и этот стадион works for me) -- ---- 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] 18+ messages in thread
* Re: [mdk-re] Re: X вторая сессия 2002-03-14 15:00 ` Michael Shigorin 2002-03-14 15:21 ` Dmitry V. Levin @ 2002-03-14 15:35 ` Andriy Dobrovol's'kii 1 sibling, 0 replies; 18+ messages in thread From: Andriy Dobrovol's'kii @ 2002-03-14 15:35 UTC (permalink / raw) To: mandrake-russian Michael Shigorin wrote: > On Thu, Mar 14, 2002 at 02:50:07PM +0300, Dmitry V. Levin wrote: > >>>Насколько я понимаю, чтобы запускать X на первой свободной "цифре" без >>>гонок, нужно предусмотреть ключик и соответствующий код в параметрах >>>серверов XFree86? >>> >>Да, именно там. >> > А кому-то еще это может быть интересно? > > Что именно? Если подробности про параметр, то мне очень интересно. Где и какой параметр нужно предусмотреть? ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: X вторая сессия 2002-03-14 12:45 ` Dmitry V. Levin 2002-03-14 12:53 ` cornet 2002-03-14 13:01 ` Mikhail Zabaluev @ 2002-03-14 13:40 ` Michael Shigorin 2 siblings, 0 replies; 18+ messages in thread From: Michael Shigorin @ 2002-03-14 13:40 UTC (permalink / raw) To: ALT Linux Spring mailing list; +Cc: Dmitry V. Levin [-- Attachment #1: Type: text/plain, Size: 218 bytes --] On Thu, Mar 14, 2002 at 12:57:00PM +0300, Dmitry V. Levin wrote: > Нет - это классический race condition. На тему /tmp? -- ---- 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] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-13 23:30 ` cornet 2002-03-14 11:36 ` [mdk-re] " Michael Shigorin @ 2002-03-14 15:47 ` Sergey Vlasov 2002-03-14 19:09 ` [mdk-re] Re: [JT] " Michael Shigorin 2002-03-15 8:36 ` [mdk-re] " cornet 1 sibling, 2 replies; 18+ messages in thread From: Sergey Vlasov @ 2002-03-14 15:47 UTC (permalink / raw) To: mandrake-russian On Wed, Mar 13, 2002 at 23:31:50 +0300, cornet wrote: > ROmul wrote: > > > > Мира тебе mandrake-russian, > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > принципе, мне это не надо, просто интересно :) > > $ startx -- :1 Только имейте в виду, что это не всегда работает. Например, в README.i810 написано, что там такой режим не поддерживается. У меня на ATI Rage128 Pro тоже не заработало (сначала запустилось, но потом второй X упал). Хотя на старых картах должно работать. ^ permalink raw reply [flat|nested] 18+ messages in thread
* [mdk-re] Re: [JT] X вторая сессия 2002-03-14 15:47 ` [mdk-re] " Sergey Vlasov @ 2002-03-14 19:09 ` Michael Shigorin 2002-03-15 8:36 ` [mdk-re] " cornet 1 sibling, 0 replies; 18+ messages in thread From: Michael Shigorin @ 2002-03-14 19:09 UTC (permalink / raw) To: mandrake-russian On Thu, Mar 14, 2002 at 03:51:19PM +0300, Sergey Vlasov wrote: > > $ startx -- :1 > Хотя на старых картах должно работать. На Trio64/3.3.6 и TNT2/4.* работает как часы. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-14 15:47 ` [mdk-re] " Sergey Vlasov 2002-03-14 19:09 ` [mdk-re] Re: [JT] " Michael Shigorin @ 2002-03-15 8:36 ` cornet 2002-03-15 15:55 ` Sergey Vlasov 1 sibling, 1 reply; 18+ messages in thread From: cornet @ 2002-03-15 8:36 UTC (permalink / raw) To: mandrake-russian Sergey Vlasov wrote: > > On Wed, Mar 13, 2002 at 23:31:50 +0300, cornet wrote: > > ROmul wrote: > > > > > > Мира тебе mandrake-russian, > > > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > принципе, мне это не надо, просто интересно :) > > > > $ startx -- :1 > > Только имейте в виду, что это не всегда работает. Например, в README.i810 > написано, что там такой режим не поддерживается. У меня на ATI Rage128 > Pro тоже не заработало (сначала запустилось, но потом второй X упал). А вот это странно очень! Я доподлинно знаю что у одного моего знакомого на ATI Rage128 второй X запускалсмя именно такой командой, собственно я ему эту команду и насвистел аськой :-) > Хотя на старых картах должно работать. У меня это работало везде, в том числе и на i810/i815. Но к сожалению с некоторых пор, после очередного обновления X и привинчивания аппаратного ускорения на i815 действительно не проходит :-( -- Власенко Олег. Отдел технической поддержки ALT Linux Team. mailto:cornet@altlinux.ru ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-15 8:36 ` [mdk-re] " cornet @ 2002-03-15 15:55 ` Sergey Vlasov 0 siblings, 0 replies; 18+ messages in thread From: Sergey Vlasov @ 2002-03-15 15:55 UTC (permalink / raw) To: mandrake-russian On Fri, Mar 15, 2002 at 08:42:38 +0300, cornet wrote: > Sergey Vlasov wrote: > > > > On Wed, Mar 13, 2002 at 23:31:50 +0300, cornet wrote: > > > ROmul wrote: > > > > > > > > Мира тебе mandrake-russian, > > > > > > > > Как запустить в какой-то консоли еще одну иксовую сессию. В > > > > принципе, мне это не надо, просто интересно :) > > > > > > $ startx -- :1 > > > > Только имейте в виду, что это не всегда работает. Например, в README.i810 > > написано, что там такой режим не поддерживается. У меня на ATI Rage128 > > Pro тоже не заработало (сначала запустилось, но потом второй X упал). > > А вот это странно очень! Я доподлинно знаю что у одного моего > знакомого на ATI Rage128 второй X запускалсмя именно такой > командой, собственно я ему эту команду и насвистел аськой :-) А DRI там включен и работает? У меня на него подозрения, т.к. был какой-то мат про него при обвале. Могу попробовать еще раз, но только на ядре 2.4.15 и XFree 4.1.0.1. > > Хотя на старых картах должно работать. > > У меня это работало везде, в том числе и на i810/i815. > Но к сожалению с некоторых пор, после очередного обновления X и > привинчивания аппаратного ускорения на i815 действительно не > проходит :-( ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-13 22:03 [mdk-re] X вторая сессия ROmul 2002-03-13 23:30 ` cornet @ 2002-03-14 2:33 ` Любимов А.В. 2002-03-14 13:58 ` Eugeny Korekin 2 siblings, 0 replies; 18+ messages in thread From: Любимов А.В. @ 2002-03-14 2:33 UTC (permalink / raw) To: mandrake-russian On Wed, 13 Mar 2002 22:12:40 +0300 "ROmul" <romul.home@mtu-net.ru> wrote: > Мира тебе mandrake-russian, > > Как запустить в какой-то консоли еще одну иксовую сессию. В > принципе, мне это не надо, просто интересно :) startx :1 startx :2 startx :n вроде так. -- С уважением,Любимов А.В. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [mdk-re] X вторая сессия 2002-03-13 22:03 [mdk-re] X вторая сессия ROmul 2002-03-13 23:30 ` cornet 2002-03-14 2:33 ` Любимов А.В. @ 2002-03-14 13:58 ` Eugeny Korekin 2 siblings, 0 replies; 18+ messages in thread From: Eugeny Korekin @ 2002-03-14 13:58 UTC (permalink / raw) To: mandrake-russian ROmul <romul.home@mtu-net.ru> writes: > Как запустить в какой-то консоли еще одну иксовую сессию. В > принципе, мне это не надо, просто интересно :) Кроме того, что уже посоветовали могу предложить еще gdmflexiserver. Мне особенно нравится gdmflexiserver --xnest -- Best regards, -- Eugeny. Might as well be frank, monsieur. It would take a miracle to get you out of Casablanca and the Germans have outlawed miracles. -- Casablanca ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2002-03-15 15:55 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-03-13 22:03 [mdk-re] X вторая сессия ROmul 2002-03-13 23:30 ` cornet 2002-03-14 11:36 ` [mdk-re] " Michael Shigorin 2002-03-14 12:45 ` Dmitry V. Levin 2002-03-14 12:53 ` cornet 2002-03-14 13:01 ` Mikhail Zabaluev 2002-03-14 14:37 ` Dmitry V. Levin 2002-03-14 15:00 ` Michael Shigorin 2002-03-14 15:21 ` Dmitry V. Levin 2002-03-14 16:55 ` Michael Shigorin 2002-03-14 15:35 ` Andriy Dobrovol's'kii 2002-03-14 13:40 ` Michael Shigorin 2002-03-14 15:47 ` [mdk-re] " Sergey Vlasov 2002-03-14 19:09 ` [mdk-re] Re: [JT] " Michael Shigorin 2002-03-15 8:36 ` [mdk-re] " cornet 2002-03-15 15:55 ` Sergey Vlasov 2002-03-14 2:33 ` Любимов А.В. 2002-03-14 13:58 ` Eugeny Korekin
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