[Bug 1020113] Re: ltsp: screen session "ssh" not working in precise

Alkis Georgopoulos 1020113 at bugs.launchpad.net
Fri Nov 16 18:06:14 UTC 2012


Hi Rüdiger,

the problem with the screen scripts is that some of them are using a
single escaped string + eval to pass the parameters to xinit, and some
are using "$@", multiple parameters. And xinit has problems if one of
the parameters is "--", because it has a special meaning for that. And
xfreerdp is also using "--" to separate the plugin parameters, and
things start to get confusing (we've had bugs there before).

So personally I was waiting to have some free time to get through all
the screen scripts code and fix all similar bugs at once, rather than
fixing them individually. It other words the patch above should be fine
for all screen scripts, but I'd like to do some tests with difficult
command lines like xfreerdp <params> -- --plugin <plugin params> --
--other-plugin <other-plugin-params> before I feel confident enough to
push the fix. Of course other devs may get some free time before me and
test/commit the fix earlier.

-- 
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 Linux Terminal Server Project:
  Triaged
Status in “ltsp” package in Ubuntu:
  Invalid

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/ltsp/+bug/1020113/+subscriptions




More information about the foundations-bugs mailing list