[ALTSP] нужен <<толстый>> клиент

Michael Shigorin mike at osdn.org.ua
Sat Sep 12 18:27:45 UTC 2009


On Fri, Sep 11, 2009 at 04:42:23PM +0600, Константин Михайленко wrote:
> Соответственно, что можно почитать/сделать?

Мужики, помогайте с ltsp-trunk -> ltsp.git ;-)
Страна зовёт и всё такое.

----- Forwarded message from St?phane Graber <stgraber/ubuntu.com> -----

Date: Mon, 31 Aug 2009 00:07:20 -0400
From: St?phane Graber <stgraber/ubuntu.com>
To: ltsp-developer/lists.sourceforge.net
Subject: [Ltsp-developer] Draft implementation of fat clients in ltsp-trunk

Hello everyone,

As some of you may have noticed, I pushed a small change to one of ldm's
rc.d scripts today to introduce fat client support in upstream LTSP.

The way I'm planning it to work is the following:
- - Thin client and Fat client chroots will be the same
- - The client mode (fat or thin) will be configured using a lts.conf
parameter (LTSP_FATCLIENT true/false)
- - The chroot in order to support fat client must include both a regular
LTSP chroot + the content of a regular application server

The way it's currently implemented uses SSH for login, then SSH to mount
/home as usual. Only difference between thin and fat client mode is that
in fat client mode, it'll start a local /etc/X11/Xsession instead of a
remote one. The SSH socket is still kept established both to access the
home directory and to start remote applications if wanted.

As it's currently implemented in ldm-trunk, I successfully built a fat
client chroot based on Ubuntu karmic, by installing "ubuntu-desktop" in
the chroot, then removing "gdm", "network-manager-.*", "modemmanager",
"ubufox", "apport-gtk", "apport", "apport-symptoms" and finally clearing
orphan packages.

The same result can be obtained by doing the following in the chroot
using current bzr code (not released yet):
export LTSP_HANDLE_DAEMONS=false
mount -t proc proc /proc
apt-get install ubuntu-desktop
apt-get remove --purge gdm network-manager.* modemmanager ubufox
apport-gtk apport apport-symptoms
apt-get autoremove --purge
rm /var/cache/apt/archives/*.deb

Then update your chroot image with:
ltsp-update-image -n --arch i386

And finally boot it with LTSP_FATCLIENT=true set in lts.conf


That addition although far from being complete (it could use a bit more
integration in ldm regarding the list of languages and sessions
available) is already usable. It also introduces the concept of remote
apps, that's the opposite of local apps.
A problem that we first saw using localapps is that you can't for
example start OpenOffice on the application server from a local firefox,
a similar need appears with fat clients where you may want to start an
application on the server instead of locally.

For that I pushed a draft of a ltsp-remoteapps script in ltsp-trunk.
It's currently lacking a few environment variable and a way to have the
user use the SSH socket in order to work, once these issues solved and a
bit of MIME type magic applied, we should have a rocking localapps
support as well as a rocking fat client support.


All that having been written today, it's very likely that I forgot quite
a few major points, if so, feel free to comment and improve.

I also updated the hackfest agenda, adding a few points for fat clients
and remote applications.

--
St?phane Graber
Ubuntu developer
http://www.ubuntu.com

_____________________________________________________________________
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

----- End forwarded message -----

-- 
 ---- WBR, Michael Shigorin <mike at altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


More information about the Ltsp-server mailing list