← Back to team overview

edubuntu-bugs team mailing list archive

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

 

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 Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/1020113

Title:
  ltsp: screen session "ssh" not working in precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1020113/+subscriptions


References