Discussion:
[Ltsp-discuss] deb jessie: why does ltsp mounts server:/home/user on thin clients?
SZABO Zsolt
2015-09-07 06:39:40 UTC
Permalink
I have recently made a rather fresh instal off ltsp-clients upon debian
jessie, and I experience a slow ldm login process... Some times the
clients restart ldm since there is "no response from server".

Maybe it is related that the clients mount nfs userdirs, that fat-clients
may need but not my thin clients.

There is no such variable as LOCAL_APPS... but the ltsp-localappsd is
running on the clients:

# getltscfg -a |grep -v export
VOLUME="40"
TIMESERVER="192.168.3.9"
SERVER="192.168.3.2"
SYSLOG_HOST="192.168.3.1"
RDP_SERVER="/v:192.168.3.3"
RDP_OPTIONS="/f /bpp:16 /kbd:0x040E /vc:rdpsnd,sys:alsa
/drive:media,/media/root"
USE_XFS="N"
XFS_SERVER="192.168.3.2"
LDM_DIRECTX="Y"
X_IGLX="Y"
X_BLANKING="56"
X_NUMLOCK="Y"
CONSOLE_KEYMAP="hu"
XKBLAYOUT="hu"
SCREEN_04="xfreerdp"
SCREEN_05="ldm"
SCREEN_DEFAULT="05"
SCREEN_08="top"
SCREEN_09="alsamixer"
SCREEN_12="shell"
LDM_GUESTLOGIN="Y"
LDM_PASSWORD="xxx"
LDM_LANGUAGE="hu_HU.UTF-8"

TIA,
--
Zs
SZABO Zsolt
2015-09-07 08:11:11 UTC
Permalink
Post by SZABO Zsolt
I have recently made a rather fresh instal off ltsp-clients upon debian
jessie, and I experience a slow ldm login process... Some times the
clients restart ldm since there is "no response from server".
Maybe it is related that the clients mount nfs userdirs, that fat-clients
may need but not my thin clients.
OK. It is not NFS but sshfs:
# mount |grep home
server:/home/labor1 on /home/labor1 type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

But why it is needed?
--
Zs
Post by SZABO Zsolt
There is no such variable as LOCAL_APPS... but the ltsp-localappsd is
# getltscfg -a |grep -v export
VOLUME="40"
TIMESERVER="192.168.3.9"
SERVER="192.168.3.2"
SYSLOG_HOST="192.168.3.1"
RDP_SERVER="/v:192.168.3.3"
RDP_OPTIONS="/f /bpp:16 /kbd:0x040E /vc:rdpsnd,sys:alsa
/drive:media,/media/root"
USE_XFS="N"
XFS_SERVER="192.168.3.2"
LDM_DIRECTX="Y"
X_IGLX="Y"
X_BLANKING="56"
X_NUMLOCK="Y"
CONSOLE_KEYMAP="hu"
XKBLAYOUT="hu"
SCREEN_04="xfreerdp"
SCREEN_05="ldm"
SCREEN_DEFAULT="05"
SCREEN_08="top"
SCREEN_09="alsamixer"
SCREEN_12="shell"
LDM_GUESTLOGIN="Y"
LDM_PASSWORD="xxx"
LDM_LANGUAGE="hu_HU.UTF-8"
SZABO Zsolt
2015-09-07 08:58:27 UTC
Permalink
Post by SZABO Zsolt
Post by SZABO Zsolt
I have recently made a rather fresh instal off ltsp-clients upon debian
jessie, and I experience a slow ldm login process... Some times the
clients restart ldm since there is "no response from server".
Maybe it is related that the clients mount nfs userdirs, that fat-clients
may need but not my thin clients.
# mount |grep home
server:/home/labor1 on /home/labor1 type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
But why it is needed?
Ok, I have figured out that the default value of LOCAL_APPS is True...

Now, I will try to set it off and test the login processes...

--
Zs
Valtteri Suojanen
2015-09-07 09:03:38 UTC
Permalink
Hi
Your topic is related to mount points but you mention slow ldm login. They could be related... most likely they are related to mounting user home dir. Home dir needs to be mounted. Have you tested creating new user and login with that?

I have had similar slow login issues with Ubuntu with difference that LDM_DIRECTX=false. Server stops sending tcp packets because perhaps some home dir files are too large for the default tcp setting on Ubuntu Os. I don't know if it actually stops but slows or tries to pack large files smaller. The client waits for the ldm desktop session (home dir?) some very long time and ldm-client just dies. At least in Ubuntu 14.04 there was limits how large tcp packets your interfaces can send to network. You can change the settings. If I remember the file right it's etc/ sysctl.conf. So slow ldm login, it could be related to home dir large files and server tcp settings. I can send the sysctl.conf example later here if you wish

If you use thin clients you use sshfs (default) or nfs to mount the home dirs. Unfortunately I don't know if there is any difference to the TCP performance between ssh and nfs.

This is just one guess...

Br, Valtteri Suojanen

----- AlkuperÀinen viesti -----
LÀhettÀjÀ: "SZABO Zsolt" <***@mm.bme.hu>
LÀhetetty: ‎7.‎9.‎2015 9:46
Vastaanottaja: "ltsp-***@lists.sourceforge.net" <ltsp-***@lists.sourceforge.net>
Aihe: [Ltsp-discuss] deb jessie: why does ltsp mounts server:/home/user onthin clients?

I have recently made a rather fresh instal off ltsp-clients upon debian
jessie, and I experience a slow ldm login process... Some times the
clients restart ldm since there is "no response from server".

Maybe it is related that the clients mount nfs userdirs, that fat-clients
may need but not my thin clients.

There is no such variable as LOCAL_APPS... but the ltsp-localappsd is
running on the clients:

# getltscfg -a |grep -v export
VOLUME="40"
TIMESERVER="192.168.3.9"
SERVER="192.168.3.2"
SYSLOG_HOST="192.168.3.1"
RDP_SERVER="/v:192.168.3.3"
RDP_OPTIONS="/f /bpp:16 /kbd:0x040E /vc:rdpsnd,sys:alsa
/drive:media,/media/root"
USE_XFS="N"
XFS_SERVER="192.168.3.2"
LDM_DIRECTX="Y"
X_IGLX="Y"
X_BLANKING="56"
X_NUMLOCK="Y"
CONSOLE_KEYMAP="hu"
XKBLAYOUT="hu"
SCREEN_04="xfreerdp"
SCREEN_05="ldm"
SCREEN_DEFAULT="05"
SCREEN_08="top"
SCREEN_09="alsamixer"
SCREEN_12="shell"
LDM_GUESTLOGIN="Y"
LDM_PASSWORD="xxx"
LDM_LANGUAGE="hu_HU.UTF-8"

TIA,
--
Zs
Loading...