[Bug 1020113] Re: ltsp: screen session "ssh" not working in precise
Alkis Georgopoulos
1020113 at bugs.launchpad.net
Mon Jul 2 21:21:12 UTC 2012
Better yet, could you try this patch instead?
=== modified file 'client/share/ltsp/screen_session'
--- client/share/ltsp/screen_session 2012-05-14 19:23:51 +0000
+++ client/share/ltsp/screen_session 2012-07-02 21:19:18 +0000
@@ -56,9 +56,9 @@
eval $(getltscfg-cluster -a -l prompt)
fi
- read script args <<EOF
-$(eval echo "\$SCREEN_$num")
-EOF
+ set -- $(eval "echo \$SCREEN_$num")
+ script=$1
+ shift
# Screen scripts in /etc override those in /usr
unset script_path
@@ -75,7 +75,7 @@
for script in $(run_parts_list /usr/share/ltsp/screen-session.d/ S); do
. "$script"
done
- "$script_path" "$args"
+ "$script_path" "$@"
for script in $(run_parts_list /usr/share/ltsp/screen-session.d/ K); do
. "$script"
done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/1020113
Title:
ltsp: screen session "ssh" not working in precise
Status in “ltsp” package in Ubuntu:
New
Bug description:
We have "SCREEN_02=ssh" in our lts.conf. It used to work properly, but
since update to precise, it fails.
What happens:
- Press ALT+F2
- promt "Username:" is shown on top of the screen
- enter user name, press ENTER
- a message on ssh usage is shown on the screen, indicating that ssh was called with wrong parameters
- after a few seconds, screen is cleared and reads "Username:" again
What should happen:
- Press ALT+F2
- prompt "Username:" is shown on top of the screen
- enter user name, press ENTER
- script prompts password
- script starts ssh session to LTSP server
Note: The usage message seems to indicate that the environment
variable "SERVER" is not known to the ssh screen script. Is this
variable known when the ssh script ist called?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ltsp-client (not installed)
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jul 2 15:53:21 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: ltsp
UpgradeStatus: Upgraded to precise on 2012-04-28 (65 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1020113/+subscriptions
More information about the foundations-bugs
mailing list