[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Re: Text-only sessions in K12



All you have to do is set the runlevel in the lts.conf file for the workstation in question to 3.

This way, even after you start the session to the prompt, the user can still start an X session by issuing startx at their prompt.

Worked for me. . .

DS

P.S. This was under older versions so it may be messed up now and not work like that. . .

(newer isn't always better. . .)

Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond leopards k12 ar us
"A Dollar Saved is a Dollar Earned"


>>> Paul Amaranth <Paul Auroragrp Com> 6/10/2008 11:35 AM >>>
This is more difficult than you would think.

You're running a graphical display manager that expects you're going to
log into an X session.

The SCREEN stuff is for local programs running on the client, so that
won't work as you've found out (except ... see below).

You could set up a telnet client on one of the SCREENs that would
give what you want.  One of those should be commented out in the lts.conf
file.  You should be able to set it up to telnet to your desired
server and present a login prompt.

Ssh would be more difficult since you've have to get the user keys into
the ltsp tree so it would be visible to the client.

You might be able to get a local xterm running to log into the server.
Run in full screen mode, that would give you pretty much what you want.
You can use the -geometry argument to set the size.  You'd set up a
script to run by one of the SCREEN commands for this.

Setting the users .xsession file to 
>    # $HOME/.xsession startup script
>    xterm &
>    ratpoison

as Kevin Squire suggested would work. The ratpoison window manager is
not part of the 4.2 ltsp distribution, but you could use icewm
In that case, you could change that to

    # $HOME/.xsession startup script
    icewm &
    xterm -geometry ...

Change the ... to get a full screen xterm.

If they ended xterm it would log out, or the logout on icewm would do it
as well.

Another way is to muck about with the PostLogin scripts run by gdm.
That's probably way too much trouble for what you want.

There's probably other ways, but that's all I can think of at the moment.

-- 
Paul Amaranth, GCIH  | Rochester MI, USA              
Aurora Group, Inc.   |   Security, Systems & Software 
paul AuroraGrp Com   |   Unix & Windows               

_______________________________________________
K12OSN mailing list
K12OSN redhat com 
https://www.redhat.com/mailman/listinfo/k12osn 
For more info see <http://www.k12os.org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]