Re: Screen script DISPLAYNUM
Michael Shigorin <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Mar 23, 2008 at 12:44:15AM -0400, Warren Togami wrote:
> === modified file 'screen.d/ldm'
> TTY=$(tty)
> TTYNUM=${TTY#/dev/tty}
BTW there can be "/dev/console" in some circumstances. Falling
back to 7 or 0 might be better than passing "-vtconsole" or
anything like that to X server.
> Why is this TTYNUM minus one? With TTYNUM minus one,
> SCREEN_07=ldm ends up on VT6 which makes no sense.
+1
--
---- WBR, Michael Shigorin <mike-u2l5PoMzF/[email protected]>
------ Linux.Kiev http://www.linux.kiev.ua/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net