WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Unable to start application  (Read 11933 times)

Capum150

  • Guest
Unable to start application
« on: May 24, 2016, 03:09:27 PM »
First time I ran TCL live, I was able to run firefox browser. Rebooted and the truth came, I was with persitence down. As you imagine, bumped into volatile data, and the work was gone.
In this PC desktop I was able to have internet access on guest TCL in NAT mode with DHCP enabled.

Found gerald_clark and fellow posters helpful but I stopped at last point where this output:
Code: [Select]
tc@box:~$ tce-run firefox.tcz
XPCOMGlueLoad error for file /tmp/tcloop/firefox/usr/local/firefox/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Steps taken, incapable to run firefox in next reboots, then tried go for persistence:
appbrowser download + load tc-install,
'opt=sda1 home=sda1 tce=sda1 norestore' include in extlinux.conf bootloader
tce-load -i firefox_getLatest.tcz
firefox_getLatest.sh
tce-load -wo (or -i) firefox.tcz

still couldn't manage to run firefox.
If I miss inform something, please warn me.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Unable to start application
« Reply #1 on: May 24, 2016, 03:41:46 PM »
Use Apps' provides tab to show you which app provides libgtk-3.so.0.
Then tce-load -iw the app.

Capum150

  • Guest
Re: Unable to start application
« Reply #2 on: May 24, 2016, 04:10:33 PM »
thanks!
Amazing, it is setup correctly since browser user custom preferences are readily available after reboot! One step further.

Capum150

  • Guest
Re: Unable to start application
« Reply #3 on: June 03, 2016, 10:55:58 AM »
Hello,
Now I am trying to install java JRE. downloaded on demand java-installer, loaded locally, executed /usr/bin/java-installer where he asks to download jdk ?, ok, done... with failure
Code: [Select]
sed: /usr/local/share/applications/sun-javaws.desktop: no such file or directory
cp:write error: no space left on device (till the end of the file)

Code: [Select]
$ df -h
filesystem  size    used   available   use%
/dev/sda1    2.9G   305.7M   2.6G   10%
« Last Edit: June 03, 2016, 11:00:32 AM by Capum150 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: Unable to start application
« Reply #4 on: June 03, 2016, 11:04:50 AM »
Hi Capum150
You ran out of RAM. /usr is in RAM.

Capum150

  • Guest
Re: Unable to start application
« Reply #5 on: June 06, 2016, 09:16:33 AM »
How to troubleshoot this?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Unable to start application
« Reply #6 on: June 06, 2016, 09:32:13 AM »
Assign more ram to the vm

Capum150

  • Guest
Re: Unable to start application
« Reply #7 on: June 10, 2016, 09:34:34 AM »
How could I fix /usr to sda hdd ? If one doesn't have enough RAM left....
Or openjdk + icedtea plugin would be less RAM consuming ?

Need java or jre for viewing accessing a website account.
Great time.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14801
Re: Unable to start application
« Reply #8 on: June 10, 2016, 10:03:49 AM »
If I understood correctly, you are running tinycore in a virtual machine - if that is correct, then you need to assign more memory to the virtual machine.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Unable to start application
« Reply #9 on: June 10, 2016, 12:38:42 PM »
/usr is not a big RAM consumer., but /home is and can be set with home=sda in the boot opions.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: Unable to start application
« Reply #10 on: June 10, 2016, 01:16:41 PM »
Hi gerald_clark
He already did that:
Steps taken, incapable to run firefox in next reboots, then tried go for persistence:
appbrowser download + load tc-install,
'opt=sda1 home=sda1 tce=sda1 norestore' include in extlinux.conf bootloader

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Unable to start application
« Reply #11 on: June 10, 2016, 01:21:59 PM »
Then download and build in /home, not /usr.

Capum150

  • Guest
Re: Unable to start application
« Reply #12 on: June 17, 2016, 10:19:03 AM »
Remove every java/jre related and download sun-jre7.tcz and set onboot.
Code: [Select]
$ java -version
java version "1.7.0"
Java RE (build 1.7.0-b147)
Java HotSport Client VM (build 21.0-b17, mixed mode).
there is a firefox plugin at $JAVA_HOME/.../libnpjp2.so and .../mozilla/plugins/libnpjp2.so
At firefox addons plugins page there is no java entry
There is OpenH264 Video Codec plugin at ~/.mozilla/firefox/[profile folder]/gmp-gmpopenh264/1.5.3/libgmpopenh264.so
place java plugin at this 1.5.3 folder, but i think this is wrong way, didn't work.
So java got installed but it's missing the firefox plugin, so is not complete.
What should I do?