WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Capum150

  • Guest
Unable to start application
« on: May 24, 2016, 11:09:27 AM »
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: 4247
Re: Unable to start application
« Reply #1 on: May 24, 2016, 11:41:46 AM »
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, 12: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, 06: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, 07:00:32 AM by Capum150 »

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5420
Re: Unable to start application
« Reply #4 on: June 03, 2016, 07: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, 05:16:33 AM »
How to troubleshoot this?

Offline Juanito

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

Capum150

  • Guest
Re: Unable to start application
« Reply #7 on: June 10, 2016, 05: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9542
Re: Unable to start application
« Reply #8 on: June 10, 2016, 06: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: 4247
Re: Unable to start application
« Reply #9 on: June 10, 2016, 08:38:42 AM »
/usr is not a big RAM consumer., but /home is and can be set with home=sda in the boot opions.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5420
Re: Unable to start application
« Reply #10 on: June 10, 2016, 09:16:41 AM »
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: 4247
Re: Unable to start application
« Reply #11 on: June 10, 2016, 09:21:59 AM »
Then download and build in /home, not /usr.

Capum150

  • Guest
Re: Unable to start application
« Reply #12 on: June 17, 2016, 06: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?