trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2019

Re: [trinity-users] TDE in WSL

From: "E. Liddell" <ejlddll@...>
Date: Tue, 22 Oct 2019 17:07:04 -0400
On Tue, 22 Oct 2019 13:44:58 -0600
Jorge Padilla <jorge.padilla.tigo@...> wrote:

> Hi Nik
> 
> Thanks for your advice
> 
> But now the script results in two errors:
> 
> Could not start tdestartupconfig. Check your installation. AND
> 
> Call to lnusertemp failed (temporary directory full?) Check your
> installation
> 
> And this is observed in the shell:
> 
> ./starttde
> [starttde] Starting starttde.
> [starttde] This script is ./starttde
> [starttde] TDE version is R14.0.6
> [starttde] TDE base directory is /opt/trinity
> [starttde] TDEHOME is not set.
> [starttde] Set TDEHOME to /home/jpadilla/.trinity.
> [starttde] Setting TDEROOTHOME to /root/.trinity.
> ./starttde: line 22: test: too many arguments
> ./starttde: line 22: test: too many arguments
> ./starttde: line 46: test: too many arguments
> ./starttde: eval: line 55: syntax error near unexpected token `('
> ./starttde: eval: line 55: `export
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/trinity/games:/usr/games:/usr/local/games:/mnt/c/Program:Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc:/mnt/c/Program:Files:(x86)/Common:Files/Oracle/Java/javapath:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program:Files/PuTTY:/mnt/c/Program:Files/Intel/WiFi/bin:/mnt/c/Program:Files/Common:Files/Intel/WirelessCommon:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/150/DTS/Binn/:/mnt/c/Program:Files:(x86)/Common:Files/PCXTools:/mnt/c/Program:Files/Microsoft:SQL:Server/Client:SDK/ODBC/130/Tools/Binn:/mnt/c/Program:Files:(x86)/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/Tools/Binn:/mnt/c/Program:Files/Microsoft:SQL:Server/140/DTS/Binn:/mnt/c/Program:Files/MacType:/mnt/c/Users/jorge.padilla/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program:Files:(x86)/Nmap:/snap/bin'
> [starttde] XDG_DATA_DIRS:
> /opt/trinity/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
> sh: 1: tdedostartupconfig: not found
> ./starttde: line 450: test: : integer expression expected
> ./starttde: line 454: test: : integer expression expected
> ./starttde: line 500: tde-config: command not found
> [starttde] TDEDIR: /opt/trinity
> [starttde] TDEDIRS:
> ./starttde: line 629: lnusertemp: command not found
> [starttde] Call to lnusertemp failed (temporary directories full?). Check
> your installation.

Checking those lines suggests that:

-The multiple instances of (x86) in your $PATH are causing the path-mangling
part of the script to fail.

-The script can't find programs in /opt/trinity/bin, possibly because the path
mangling is failing (this is where tdedostartupconfig, tde-config, and lnusertemp 
should be).

-Your system has problems when certain options (-z, -eq) are passed to test.

You can probably fix most of this by commenting out the path-mangling
section of the script and setting a $PATH that you've hand-crafted for your
machine and use-case, but someone else may have an easier fix.  (You'd
also have to get rid of whatever's causing the errors at lines 450 and 454.
I think that's the section on forced font DPI, but my version of the script is 
numbered slightly differently.)

E. Liddell

> 
> Greetings
> 
> El mar., 22 de oct. de 2019 a la(s) 12:52, Dr. Nikolaus Klepp (
> office@...) escribi�:
> 
> > Anno domini 2019 Tue, 22 Oct 12:01:04 -0600
> >  Jorge Padilla scripsit:
> > >  Hello
> > >
> > > Anoyone have tried to install TDE in Ubuntu WSL?
> > >
> > > I tried to start it but some errors arose:
> > > :/opt/trinity/bin$ /opt/trinity/bin/starttde
> > > [starttde] Starting starttde.
> > > [starttde] This script is /opt/trinity/bin/starttde
> > > [starttde] TDE version is R14.0.6
> > > [starttde] TDE base directory is /opt/trinity
> > > [starttde] TDEHOME is not set.
> > > [starttde] Set TDEHOME to /home/jpadilla/.trinity.
> > > [starttde] Setting TDEROOTHOME to /root/.trinity.
> > > /opt/trinity/bin/starttde: 1: test:
> > >
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > > unexpected operator
> > > /opt/trinity/bin/starttde: 1: test:
> > >
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > > unexpected operator
> > > /opt/trinity/bin/starttde: 1: test:
> > >
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:
> > > unexpected operator
> > > /opt/trinity/bin/starttde: 1: eval: Syntax error: "(" unexpected
> > >
> > >
> > > I can start kdesktop and twin and konqueror but not the whole desktop
> > > experience.
> > >
> > > Can you help me?
> > >
> > > Greetings
> > >
> >
> > Try to replace /bin/sh with /bin/bash.
> >
> > Nik
> >
> > --
> > Please do not email me anything that you are not comfortable also sharing
> > with the NSA, CIA ...
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > trinity-users-unsubscribe@...
> > For additional commands, e-mail:
> > trinity-users-help@...
> > Read list messages on the web archive:
> > http://trinity-users.pearsoncomputing.net/
> > Please remember not to top-post:
> > http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
> >
> >