Kjetil Fleten | 27 Nov 02:09 2013
Picon

Preseeding Ubuntu remote-login-service.conf

We are successfully using Mike's excellent guide to Unity Greeter with X2Go Remote Login Support.
http://sunweavers.net/blog/unity-greeter-with-x2go-remote-login-support
One of the things we want to do next, is to tweak the remote-login-service.conf so that username and password are passed to the UCCS-like WebUI of the X2Go Session Broker automaticly.
I have tried add a line to the config file, but the syntax is obviously wrong:

[Remote Login Service]
Servers=MyUCCSTest

[Server MyUCCSTest]
Name=Remote Login
URI=http://x2gobroker.localdomain:8080/uccs/inifile/
echo <mypassword> | thin-client-config-agent <myuserid>

I have also tried a lot of other variations over the above, with no success.

This test works:
$ SERVER_ROOT=http://x2gobroker.localdomain:8080/uccs/inifile/
$ export SERVER_ROOT
$ echo <mypassword> | thin-client-config-agent <myuserid>

Can <mypassword> and <myuserid> be implemented in a similar way to the conf file ?
Anyone that have a good tip ?

--

Med vennlig hilsen / best regards

Kjetil Fleten

Fleten.net AS, Tyinvegen 5151, 2975 Vang i Valdres, Noreg
Tlf +47 95861348, ORG nr. 999 542 018 (NO)

Søndergade 27, 8740 Brædstrup, Danmark
Tlf. +45 41153148 CVR. nr. 35479228 (DK)

thats-IT-jtsa+nplcJCsTnJN9+BGXg@public.gmane.org, www.fleten.net

<div>
    We are successfully using Mike's excellent guide to Unity Greeter
    with X2Go Remote Login Support.<br><a class="moz-txt-link-freetext" href="http://sunweavers.net/blog/unity-greeter-with-x2go-remote-login-support">http://sunweavers.net/blog/unity-greeter-with-x2go-remote-login-support</a><br>
    One of the things we want to do next, is to tweak the
    remote-login-service.conf so that username and password are passed
    to the UCCS-like WebUI of the X2Go Session Broker automaticly.<br>
    I have tried add a line to the config file, but the syntax is
    obviously wrong:<br><br>
    [Remote Login Service]<br>
    Servers=MyUCCSTest<br><br>
    [Server MyUCCSTest]<br>
    Name=Remote Login<br>
    URI=<a class="moz-txt-link-freetext" href="http://x2gobroker.localdomain:8080/uccs/inifile/">http://x2gobroker.localdomain:8080/uccs/inifile/</a><br>
    echo &lt;mypassword&gt; | thin-client-config-agent &lt;myuserid&gt;<br><br>
    I have also tried a lot of other variations over the above, with no
    success.<br><br>
    This test works:<br>
    $ SERVER_ROOT=<a class="moz-txt-link-freetext" href="http://x2gobroker.localdomain:8080/uccs/inifile/">http://x2gobroker.localdomain:8080/uccs/inifile/</a><br>
    $ export SERVER_ROOT<br>
    $ echo &lt;mypassword&gt; | thin-client-config-agent
    &lt;myuserid&gt;<br><br>
    Can &lt;mypassword&gt; and &lt;myuserid&gt; be implemented in a
    similar way to the conf file ?<br>
    Anyone that have a good tip ?<br><br><div class="moz-signature">-- <br><p color="111111">Med vennlig hilsen / best
        regards
        <br><br>
        Kjetil Fleten</p>
      <p>Fleten.net AS, Tyinvegen 5151, 2975 Vang
        i Valdres, Noreg <br>
        Tlf +47 95861348, ORG nr. 999 542 018 (NO)<br><br>
        S&oslash;ndergade 27, 8740 Br&aelig;dstrup, Danmark <br>
        Tlf. +45 41153148 CVR. nr. 35479228 (DK) <br><br><a class="moz-txt-link-abbreviated" href="mailto:thats-IT@...">thats-IT@...</a>, <a href="http://www.fleten.net">www.fleten.net</a></p>
    </div>
  </div>

Gmane