At boot ltsp client obtained error : screen_session not found getltscfg-cluster

Bug #1575073 reported by Oleg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LTSP5
Won't Fix
Undecided
Unassigned

Bug Description

# ltsp-info

server information:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

server packages:
ii ldm-server 2:2.2.18-1
un ltsp-client <нет>
un ltsp-client-core <нет>
ii ltsp-docs 1.2-1
ii ltsp-server 5.5.7-1
ii ltsp-server-standalone 5.5.7-1
un ltsp-utils <нет>
ii ltspfs 1.4-2

packages in chroot: /opt/ltsp/amd64
ii ldm 2:2.2.18-1
un ldm-themes <нет>
ii ldm-ubuntu-theme 2:2.0.47
un ldm-ubuntu-themes <нет>
ii ltsp-client 5.5.7-1
ii ltsp-client-core 5.5.7-1
ii ltspfsd 1.4-2
ii ltspfsd-core 1.4-2

found: /opt/ltsp/amd64/etc/lts.conf

found image: /opt/ltsp/images/amd64.img

I create image command:
# ltsp-build-client --purge-chroot --mount-package-cache --mount-package-dir=/var/cache/apt/archives/ --late-packages="mc htop x11vnc" --prompt-rootpass --copy-sourceslist --ltsp-cluster --apt-keys=/etc/apt/trusted.gpg

load computer from network, appears error:
 /usr/share/ltsp/screen_session: 56: /usr/share/ltsp/screen_session: getltscfg-cluster: not found

This file(getltscfg-cluster) not found on ltsp client.

Tags: ltsp-cluster
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Hi, ltsp-cluster isn't supported in upstream LTSP anymore, so I'm marking this "Won't Fix".
We'll remove all references to ltsp-cluster from the LTSP code in the next big version, unless someone that wants to maintain ltsp-cluster (or wishes to sponsor its development) steps up and does it.

Changed in ltsp:
status: New → Won't Fix
Revision history for this message
Rafael dos Prazeres (rafaelprazeres) wrote :

Firstly, I ask that writing mistakes be ignored, as I am not fluent in the English language yet.

I recently had to configure an LTSP-Cluster boot server on Ubuntu 16.04.6 LTS and did the following:

1 - I copied the getltsp-cluster script from https://github.com/opinsys/ltsp/blob/master/client/getltscfg-cluster/getltscfg-cluster to the "/usr/bin" directory located in chroot

2 - I changed line number 116 of the "/usr/bin/getltscfg-cluster" script to:

    echo INTERFACE_MAC = $ (ifconfig | grep $ {INTERFACE} | cut -f9 -d "")> $ cache_info

3 - I granted execute permission to the "/usr/bin/getltscfg-cluster" script

4 - I changed line number 28 of the "/usr/bin/ltsp-cluster-info" script located in chroot to:

    INTERFACE_MAC = $ (/ sbin / ifconfig | grep $ {INTERFACE} | awk '{print $ 5}')

5 - I updated chroot with the command ltsp-update-image

After performing the steps described above, I booted a thinclient pxe and it was properly registered in the LTSP-Cluster Control Center.

Revision history for this message
Rafael dos Prazeres (rafaelprazeres) wrote :

Ooops, sorry for the typo.

INTERFACE_MAC = $ (/sbin/ifconfig | grep $ {INTERFACE} | awk '{print $ 5}')

Revision history for this message
Rafael dos Prazeres (rafaelprazeres) wrote :

Consider the following correction in comment # 2. Sorry for the typo again.

2 - I changed line number 116 of the "/usr/bin/getltscfg-cluster" script to:

echo INTERFACE_MAC=$(ifconfig | grep ${INTERFACE} | cut -f9 -d" ") > $cache_info

4 - I changed line number 28 of the "/usr/bin/ltsp-cluster-info" script located in chroot to:

INTERFACE_MAC=$(/sbin/ifconfig | grep ${INTERFACE} | awk '{ print $5 }')

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Hi, LTSP5 is not developed anymore so there's no need to send code about ltsp-cluster...

The new ltsp is: https://ltsp.github.io.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.