Sun Secure Global Desktop (SGD) – installation and configuration on OpenSolaris

The latest version available (as of Oct 2009) is 4.5 so I went over to SUN’s website and got a copy.

Visited the SGD support WIKI and followed the instructions.

Before starting the install you need to create two users..
Here the info is pasted from the error you get if you try to carry out the install without first creating the users….

<QUOTE>
You must create two user accounts before you can install Secure Global Desktop.

– The user names must be “ttaserv” and “ttasys”.
– Both must have their primary group set to “ttaserv”.
– You can use any UIDs and GID you want.
– Both users must have a valid shell, for example /bin/sh.
– Both users must have writeable home directories.
– We recommend that you lock the user accounts (passwd -l).
</QUOTE>

The easiest way of doing this is to carry out the install without creating the users (knowing it will fail) then run the script /tmp/SGDCreateUsers.sh that is created. Once the group and the users are created the install is a simple pkg add….

pfexec pkgadd -d /tempdir/tta-version.sol-x86.pkg

Once the install finishes you are told to start the server – DON’T DO THIS YET.

FIRST — here are a couple of things the check that are specific to SGD on OpenSolaris
1. Is the libXm.so.4 library installed?
This blog here suggested that SUNWmfrun (the motif software package) and SUNWxwrtl must be installed for SGD to work and explains exactly why. I think that this advice is PARTIALLY outdated as of version 4.5 of SGD and there is now a specific errata in the manual covering this (#6756705) about missing LibXm.so.4.
Either follow the instructions in the installation manual OR if you have installed (or will install) the Sun Ray Server you should go the route of installing SUNWxwrtl and SUNWmfrun since these are both required for SRS on OpenSolaris. More details in the installing SRS post……

2. Modify the procs.exp script
This blog provides a modification to the /opt/tarantella/var/serverresources/expect/procs.exp script that should be made to overcome a problem in launching opensolaris apps in SGD. I’ve reproduced the relevant section of that post here.
<QUOTE>
To fix the problem, edit /opt/tarantella/var/serverresources/expect/procs.exp and change the following lines from:

416:    send -s "if \[ -f /bin/ksh \]; then HISTFILE=/dev/null; export HISTFILE; exec /bin/ksh; fi\n"
417:    wait_for_prompt

to

416:    send -s "if \[ -f /bin/ksh \] && \[ -x /bin/uname \] && \[ \"`/bin/uname -sr`\" != \"SunOS 5.11\" \];
then HISTFILE=/dev/null; export HISTFILE; exec /bin/ksh; fi\n"
417:    wait_for_prompt

The conditions for using ksh are now, /bin/ksh exists, /bin/uname exists and application server is OpenSolaris. Feel free to customize this logic to your own needs.
</QUOTE>
I should note that in the lastest SGD manual for 4.5 this is mentioned as bug #6831077 (they suggest an alternative fix – see the mailing list thread here).

OK NOW START THE SGD SERVER

pfexec /opt/tarantella/bin/tarantella start

On first starting the server you have to run through a configuration menu. I just choose the default options.

The SGD server should now run and you should be able to remotely access you desktop(s).

Reference sources and links…
– Various posts about getting SGD to work on OpenSolaris
http://blogs.sun.com/mrpotatohead/entry/opensolaris_as_an_sgd_application
http://learningsolaris.com/archives/2009/03/16/opensolaris-sun-secure-global-desktop/
http://www.mail-archive.com/sgd-users@filibeto.org/msg00778.html

– Sun’s page on SGD – obtain the latest version from here
http://www.sun.com/software/products/sgd/index.jsp

– Sun’s WIKI page for SGD documentation and support
http://wikis.sun.com/display/SecureGlobalDesktop/Home

145 Comments

  1. Shannon Said,

    December 14, 2014 @ 8:31 am

    .

    thank you!!…

  2. alexander Said,

    December 15, 2014 @ 1:10 am

    .

    ñïñ çà èíôó!!…

  3. Samuel Said,

    December 16, 2014 @ 9:30 pm

    .

    ñïàñèáî çà èíôó….

  4. Bobby Said,

    December 17, 2014 @ 9:39 am

    .

    ñïñ!!…

  5. luther Said,

    December 17, 2014 @ 11:02 pm

    .

    thank you!!…

  6. donald Said,

    December 19, 2014 @ 8:28 pm

    .

    ñïñ….

  7. Aaron Said,

    December 21, 2014 @ 10:44 am

    .

    thank you!…

  8. Freddie Said,

    December 21, 2014 @ 8:12 pm

    .

    ñýíêñ çà èíôó….

  9. Austin Said,

    December 24, 2014 @ 7:57 am

    .

    ñïñ!…

  10. herbert Said,

    December 24, 2014 @ 5:48 pm

    .

    ñïñ çà èíôó!…

  11. mark Said,

    December 24, 2014 @ 6:19 pm

    .

    áëàãîäàðþ!…

  12. Austin Said,

    December 26, 2014 @ 12:26 pm

    .

    ñýíêñ çà èíôó!…

  13. Jose Said,

    December 26, 2014 @ 2:42 pm

    .

    thank you!!…

  14. philip Said,

    December 26, 2014 @ 3:08 pm

    .

    ñïñ çà èíôó!!…

  15. frederick Said,

    January 15, 2015 @ 5:32 am

    .

    ñýíêñ çà èíôó!!…

  16. Richard Said,

    January 15, 2015 @ 6:07 am

    .

    hello!…

  17. Dean Said,

    January 15, 2015 @ 6:40 am

    .

    ñýíêñ çà èíôó….

  18. Donnie Said,

    January 15, 2015 @ 6:15 pm

    .

    ñïàñèáî çà èíôó!…

  19. Lee Said,

    January 16, 2015 @ 2:05 pm

    .

    ñïñ!!…

  20. louis Said,

    January 19, 2015 @ 12:22 am

    .

    thanks for information….

  21. adrian Said,

    January 19, 2015 @ 7:26 pm

    .

    good….

  22. nicholas Said,

    January 27, 2015 @ 5:07 pm

    .

    ñïñ!…

  23. Jonathan Said,

    January 28, 2015 @ 2:41 am

    .

    tnx for info!!…

  24. Ben Said,

    January 29, 2015 @ 4:59 am

    .

    hello!!…

  25. arthur Said,

    January 30, 2015 @ 1:11 am

    .

    ñïàñèáî!…

  26. Cecil Said,

    January 30, 2015 @ 10:49 pm

    .

    thanks for information!!…

  27. thomas Said,

    February 3, 2015 @ 1:00 am

    .

    ñïñ çà èíôó!!…

  28. Stuart Said,

    February 3, 2015 @ 1:50 am

    .

    thank you….

  29. Lynn Said,

    February 3, 2015 @ 8:47 pm

    .

    ñïàñèáî çà èíôó….

  30. Bryan Said,

    February 3, 2015 @ 9:48 pm

    .

    áëàãîäàðþ!…

  31. calvin Said,

    February 4, 2015 @ 1:38 pm

    .

    áëàãîäàðþ….

  32. max Said,

    February 7, 2015 @ 6:00 am

    .

    thank you!…

  33. terrance Said,

    February 7, 2015 @ 6:32 am

    .

    ñïñ!!…

  34. Theodore Said,

    February 7, 2015 @ 12:31 pm

    .

    ñïñ çà èíôó!…

  35. isaac Said,

    February 10, 2015 @ 5:06 am

    .

    good!!…

  36. craig Said,

    February 10, 2015 @ 5:42 am

    .

    ñïñ!…

  37. Julius Said,

    February 10, 2015 @ 6:18 am

    .

    thanks!!…

  38. luis Said,

    February 10, 2015 @ 10:40 am

    .

    ñïñ!!…

  39. Ruben Said,

    February 10, 2015 @ 11:17 am

    .

    ñïñ çà èíôó….

  40. Marc Said,

    February 10, 2015 @ 11:53 am

    .

    tnx….

  41. Robert Said,

    February 10, 2015 @ 12:29 pm

    .

    tnx for info!!…

  42. rodney Said,

    February 11, 2015 @ 6:44 pm

    .

    ñïàñèáî çà èíôó….

  43. clyde Said,

    February 12, 2015 @ 8:48 pm

    .

    ñïñ!…

  44. morris Said,

    February 13, 2015 @ 7:08 am

    .

    ñïàñèáî çà èíôó!!…

  45. nathaniel Said,

    February 14, 2015 @ 5:14 am

    .

    good….