* [Sarlug] Screen as demonstration utility @ 2009-07-08 17:00 Evgeny Sinelnikov 2009-07-09 5:49 ` Eugene Horohorin 0 siblings, 1 reply; 7+ messages in thread From: Evgeny Sinelnikov @ 2009-07-08 17:00 UTC (permalink / raw) To: Saratov Linux User Group Maillist Здравствуйте, хочу поделиться новой, для меня, фишкой, связанной с демонстрацией консоли нескольким пользователям... Оказывается, для этого можно воспользоваться screen'ом. Но, для этого нужно будет сделать его суидным. Весь процесс подробно описан в статье: http://linux.com/archive/feature/56443 Желающие могут сделать перевод :) Мне показалось, что эта штука может быть полезной при проведении мастер-классов, в частности на SFD2009. -- Sin (Sinelnikov Evgeny) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sarlug] Screen as demonstration utility 2009-07-08 17:00 [Sarlug] Screen as demonstration utility Evgeny Sinelnikov @ 2009-07-09 5:49 ` Eugene Horohorin 0 siblings, 1 reply; 7+ messages in thread From: Eugene Horohorin @ 2009-07-09 5:49 UTC (permalink / raw) To: Saratov Linux User Group Maillist Must run suid root for multiuser support. 2009/7/8 Evgeny Sinelnikov <sin@info.sgu.ru>: > Здравствуйте, > > хочу поделиться новой, для меня, фишкой, связанной с демонстрацией > консоли нескольким пользователям... Оказывается, для этого можно > воспользоваться screen'ом. Но, для этого нужно будет сделать его > суидным. Весь процесс подробно описан в статье: > http://linux.com/archive/feature/56443 > > Желающие могут сделать перевод :) > > Мне показалось, что эта штука может быть полезной при проведении > мастер-классов, в частности на SFD2009. > > -- > Sin (Sinelnikov Evgeny) > _______________________________________________ > Sarlug mailing list > Sarlug@lists.lug.ru > https://lists.lug.ru/mailman/listinfo/sarlug -- У каждого в башке свои тараканы... ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <2941043d0907090008h50d591f9kd26b9eb2caa0f4a4@mail.gmail.com>]
* Re: [Sarlug] Screen as demonstration utility @ 2009-07-09 7:50 ` Nikita Borodikhin 2009-07-09 10:39 ` Sicness 0 siblings, 1 reply; 7+ messages in thread From: Nikita Borodikhin @ 2009-07-09 7:50 UTC (permalink / raw) To: Saratov Linux User Group Maillist Доброго времени суток! Dmitry Agafonov пишет: > Чтобы это работало - нужны локальные аккаунты, что обычно не гуд > (представил свой бук на конференции). > > Вот моё решение-экспромт: > > На "учительском месте" (<сервер>): > > В inetd на любой <порт> вешаем сервис > tail -f session_file > или можно через netcat (но надо извращаться, ибо nc не умеет несколько > клиентов одновременно, как минимум в убунтовской сборке) > > В консоли для вещания запускаем: > script -f session_file > и делаем всё, что надо. > > На местах "слушателей": > > nc <сервер> <порт> А не универсальнее ли использовать linuxvnc? По-моему, VNC-протокол будет удобнее телнета, т.к.: * независим от платформы * независим от терминала (позволит иметь цвет) * можно даже попробовать делать трансляцию через WEB-страницу, через AJAX-оболочку (попадалось такое на java) * можно через vncsnapshot делать JPEG и выкладывать на автообновляющуюся web-страницу безо всякого javascript и прочих мудствований Но и минусы, конечно, тоже есть, например, в linuxvnc, по-моему, нету штатного ключика для игнорирования обработки клавиш, но эту обработку выкинуть - минутное дело. С уважением, -- Nikita V. Borodikhin, NIKB-RIPN BNV7-RIPE Registered Linux user #256562 with the Linux Counter ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sarlug] Screen as demonstration utility 2009-07-09 7:50 ` Nikita Borodikhin @ 2009-07-09 10:39 ` Sicness 2009-07-10 9:58 ` Evgeny Sinelnikov 0 siblings, 1 reply; 7+ messages in thread From: Sicness @ 2009-07-09 10:39 UTC (permalink / raw) To: Saratov Linux User Group Maillist Nikita Borodikhin пишет: > Доброго времени суток! > > А не универсальнее ли использовать linuxvnc? > > По-моему, VNC-протокол будет удобнее телнета, т.к.: > * независим от платформы > * независим от терминала (позволит иметь цвет) > * можно даже попробовать делать трансляцию через WEB-страницу, > через AJAX-оболочку (попадалось такое на java) > * можно через vncsnapshot делать JPEG и выкладывать на автообновляющуюся > web-страницу безо всякого javascript и прочих мудствований > > Но и минусы, конечно, тоже есть, например, в linuxvnc, по-моему, нету > штатного ключика для игнорирования обработки клавиш, но эту обработку > выкинуть - минутное дело. VNC конечно удобнее, но не всегда надо. Думаю лишнее будет передавать всякие картинки (рабочий стол) и лишние события, если всё что надо показать - делается в консоле. Особено если канал узкий или дорогой. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sarlug] Screen as demonstration utility 2009-07-09 10:39 ` Sicness @ 2009-07-10 9:58 ` Evgeny Sinelnikov 2009-07-10 10:04 ` Sicness 0 siblings, 1 reply; 7+ messages in thread From: Evgeny Sinelnikov @ 2009-07-10 9:58 UTC (permalink / raw) To: Saratov Linux User Group Maillist 9 июля 2009 г. 14:39 пользователь Sicness (ctolbhuk@gmail.com) написал: > Nikita Borodikhin пишет: >> Доброго времени суток! >> >> А не универсальнее ли использовать linuxvnc? >> >> По-моему, VNC-протокол будет удобнее телнета, т.к.: >> * независим от платформы >> * независим от терминала (позволит иметь цвет) >> * можно даже попробовать делать трансляцию через WEB-страницу, >> через AJAX-оболочку (попадалось такое на java) >> * можно через vncsnapshot делать JPEG и выкладывать на автообновляющуюся >> web-страницу безо всякого javascript и прочих мудствований >> >> Но и минусы, конечно, тоже есть, например, в linuxvnc, по-моему, нету >> штатного ключика для игнорирования обработки клавиш, но эту обработку >> выкинуть - минутное дело. > > VNC конечно удобнее, но не всегда надо. Думаю лишнее будет передавать > всякие картинки (рабочий стол) и лишние события, если всё что надо > показать - делается в консоле. Особено если канал узкий или дорогой. Тут ведь дело ещё и в клиентах... На винде Putty раздать проще, при том, что ssh почти всегда готов к работе... Да и работает он надёжнее. Я думаю, что можно попытаться сделать такой shell, который сразу в нужную сессию заходит на просмотр. -- Sin (Sinelnikov Evgeny) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sarlug] Screen as demonstration utility 2009-07-10 9:58 ` Evgeny Sinelnikov @ 2009-07-10 10:04 ` Sicness 2009-07-10 14:53 ` Eugene Horohorin 0 siblings, 1 reply; 7+ messages in thread From: Sicness @ 2009-07-10 10:04 UTC (permalink / raw) To: Saratov Linux User Group Maillist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Evgeny Sinelnikov пишет: > Тут ведь дело ещё и в клиентах... На винде Putty раздать проще, при > том, что ssh почти всегда готов к работе... Да и работает он надёжнее. > Я думаю, что можно попытаться сделать такой shell, который сразу в > нужную сессию заходит на просмотр. Не особо шарю, но вроде достаточно что бы при входе выполнялась команда screen -x <user>/<session_name> Реально сделать 1го юзера, у которого в shell и будет стоять эта команда? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iJwEAQECAAYFAkpXEgkACgkQ5jgWcLqRXldXdgP+N6fAsZYvxqBLaFova7NGhGkW R89aleCqTexmpdrt+bvxVFuyjn2TFlnsTkEYDaoMlVUEcEUf8r8+1nwRAwESJ81h JvbF6ErsZNUBldKKxPPeZFfAT8UksClzStLyA2FzGZWgQWLG2WFjyMaPZsHELZtR J/SAXPFt1vRmE36+r4w= =f6C+ -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sarlug] Screen as demonstration utility 2009-07-10 10:04 ` Sicness @ 2009-07-10 14:53 ` Eugene Horohorin 0 siblings, 0 replies; 7+ messages in thread From: Eugene Horohorin @ 2009-07-10 14:53 UTC (permalink / raw) To: Saratov Linux User Group Maillist насколько я помню там будут проблемы с предоставленим R/O доступа -- иначе начнется срач. проверено 2009/7/10 Sicness <ctolbhuk@gmail.com>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Evgeny Sinelnikov пишет: >> Тут ведь дело ещё и в клиентах... На винде Putty раздать проще, при >> том, что ssh почти всегда готов к работе... Да и работает он надёжнее. >> Я думаю, что можно попытаться сделать такой shell, который сразу в >> нужную сессию заходит на просмотр. > > Не особо шарю, но вроде достаточно что бы при входе выполнялась команда > screen -x <user>/<session_name> > > Реально сделать 1го юзера, у которого в shell и будет стоять эта команда? > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iJwEAQECAAYFAkpXEgkACgkQ5jgWcLqRXldXdgP+N6fAsZYvxqBLaFova7NGhGkW > R89aleCqTexmpdrt+bvxVFuyjn2TFlnsTkEYDaoMlVUEcEUf8r8+1nwRAwESJ81h > JvbF6ErsZNUBldKKxPPeZFfAT8UksClzStLyA2FzGZWgQWLG2WFjyMaPZsHELZtR > J/SAXPFt1vRmE36+r4w= > =f6C+ > -----END PGP SIGNATURE----- > _______________________________________________ > Sarlug mailing list > Sarlug@lists.lug.ru > https://lists.lug.ru/mailman/listinfo/sarlug -- У каждого в башке свои тараканы... ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-10 14:53 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-07-08 17:00 [Sarlug] Screen as demonstration utility Evgeny Sinelnikov 2009-07-09 5:49 ` Eugene Horohorin 2009-07-09 7:50 ` Nikita Borodikhin 2009-07-09 10:39 ` Sicness 2009-07-10 9:58 ` Evgeny Sinelnikov 2009-07-10 10:04 ` Sicness 2009-07-10 14:53 ` Eugene Horohorin
Saratov Linux User Group This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \ sarlug@lists.lug.ru sarlug@lug.ru public-inbox-index sarlug Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sarlug AGPL code for this site: git clone https://public-inbox.org/public-inbox.git