Tiny Core Linux

Tiny Core Base => Corepure64 => Topic started by: pq5190362 on October 06, 2016, 07:27:20 PM

Title: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 06, 2016, 07:27:20 PM
Hi,

just booted up TinyCorePure64-7.2.iso inside VirtualBox, working fine.

Then installed some apps via "Download + Load", seems to be working fine.

But running those apps does not seem to work. When trying to start them, nothing happens. Only the apps that come pre-installed with TinyCorePure64-7.2.iso do start.

Is this a known issue?
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: coreplayer2 on October 06, 2016, 07:48:40 PM
If you try running the program from the terminal, what error messages do you get?


Sent from my iPhone using Tapatalk
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 03:38:57 AM
If you try running the program from the terminal, what error messages do you get?

Have attached a screenshot of the terminal to this post, see (seems like you need to be logged on to the forum to be able to see the screenshot):

Would have loved to copy the output as text, but unfortunately the shared clipboard from the VirtualBox guest to the host does not work (what extension would that require?).
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 04:13:10 AM
I just tried abiword on corepure64 bare metal and inside virtualbox-5.1.4 and it works fine in both cases - albeit it looks better with adwaita-icon-themes loaded.

Did you try checking if you have the latest version of the various required extensions using the apps gui maintenance/check for updates (don't forget to reboot in the vm once done)?
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 04:50:00 AM
I do not have TinyCorePure64-7.2.iso installed in VirtualBox.

I just boot it up as a live media.

Once it's booted up, I can install any app via "Download + Load". Bot no app actually can be started.

If I do the same using TinyCore-7.2.iso (the 32-bit version), it does work.

So maybe there's a bug in the 64-bit version?
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 04:58:53 AM
In corepure64 are you downloading and loading Xorg-7.7 or using the default Xfbdev?

If you're using Xfbdev, you could try Xorg-7.7 - remember to exit to the prompt before loading Xorg-7.7 and then startx so that xorg-server is running before you try abiword.
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 06:21:53 AM
I have not loaded Xorg-7.7.tcz so far.

So, it's probably using the default Xfbdev.

Anyway, I've now used the apps browser to install Xorg-7.7.tcz via "Download + Load", then exited to the prompt and then restarted X via startx.

However:

Code: [Select]
X -version
results in:

Code: [Select]
Only console users are allowed to run the X server
So xorg-server obviously is not running.

Then I tried:

Code: [Select]
sudo startx
That way xorg-server starts but I am getting a blank desktop with no dock...

Also tried to delete Xfbdev via:

Code: [Select]
tce-audit delete Xfbdev
But Xfbdev is still installed according to:

Code: [Select]
tce-status -i
...

Why is all this necessary in the 64-bit version? In TinyCore-7.2.iso (the 32-bit version) it works out of the box...
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 06:41:26 AM
So xorg-server obviously is not running.

Not so, it was running - you can double-check with "ps aux | grep X"

Note that you should not start X servers as root.

32-bit core uses Xvesa by default, which does not compile for 64-bit.
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 07:01:38 AM
Not so, it was running

No, it does not seem to be running. If it would be running, then the following command would work:

Code: [Select]
X -version
This command also works just fine on my Ubuntu host.

But on TinyCorePure64-7.2.iso it says:

Quote
Only console users are allowed to run the X server

Why would it say that if it would be running?

you can double-check with "ps aux | grep X"

Unfortunately I can't because I can not type a pipe symbol into the GUI terminal  :-\. Alt Gr + | key does not do anything...
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 07:02:59 AM
PS: And launching Abiword and Firefox and Oboard and so on... still does not work.
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 07:12:38 AM
from 32-bit core, but anyway...
Code: [Select]
$ X -version
/usr/local/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
$ ps aux | grep X
 2531 root     /usr/local/bin/Xvesa -br -screen 1366x768x24 -shadow -mouse /dev/input/mice,5 -nolisten tcp -I
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: nitram on October 07, 2016, 07:22:15 AM
Hi pq5190362. Not sure if this helps and i don't know anything about VM or 64-bit. Too bad you can't pipe. Regardless if TC is running Top is built-in, just run  Top  , sort as needed and see if Xorg running. Also simply list /tmp/tcloop (ls /tmp/tcloop) and you will see whether any Xorg is loaded. Or try running  which Xorg  , if it returns something like /usr/local/bin/Xorg it is running, if it returns empty then not. On my TC7 32-bit bare metal install with Xorg running  X -version  i get this:

Code: [Select]
tc@box:~$ X -version
/usr/local/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server

And with sudo:

Code: [Select]
tc@box:~$ sudo X -version

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.9-tinycore i486
Current Operating System: Linux box 4.2.9-tinycore #1999 SMP Mon Jan 18 19:42:12 UTC 2016 i686
Kernel command line: BOOT_IMAGE=/tinycore/boot/vmlinuz nozswap showapps tce=sdb3
Build Date: 02 August 2016  04:04:36PM
 
Current version of pixman: 0.32.8
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 07:52:47 AM
Ah, yeah, sudo did the trick:

Code: [Select]
sudo X -version
Anyway, the apps still can not be launched, same error message as outlined in post #3.
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 07:54:48 AM
I just tried using Xfbdev and abiword works fine, so I'm not sure what to suggest  :(

Perhaps your iso download is corrupted?

BTW if only Xfbdev is loaded and running (and not Xorg-7.7), you will get this:
Code: [Select]
$ X -version
sh: X: not found
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 08:10:36 AM
Unfortunately I can't because I can not type a pipe symbol into the GUI terminal  :-\. Alt Gr + | key does not do anything...

You could copy/paste the "|" symbol in the gui and make a simple script file:
Code: [Select]
$ echo 'ps aux | grep X' > xcheck.sh
$ chmod +x xcheck.sh

..then you can run the script:
Code: [Select]
$ ./xcheck.sh
 1750 root     /usr/local/bin/Xfbdev -mouse /dev/input/mice,5 -nolisten tcp -I

Edit: if you're stuck for a "|" to copy/paste, you could try this in a terminal:
Code: [Select]
$ cat /usr/bin/desktop.sh
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 09:30:55 AM
Ah - I think I see the problem...

the TinyCorePure64 iso contains the glib2 extension, which has been updated - the gtk3 extension is looking for library functions not available in the old version of glib2.

I updated the TinyCorePure64 iso in the repo - maybe you could download it and try again?
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 09:44:54 AM
Thx. But it still does not work with the new ISO.

Perhaps your iso download is corrupted?

Well, no, the old ISO matched the MD5 from the text file:

http://tinycorelinux.net/7.x/x86_64/release/TinyCorePure64-7.2.iso.md5.txt

But the new ISO does not...  :o ???

Downloaded the new ISO several times, but it does not match...

Did you also update the MD5 text file? Or is it still the old one?

BTW if only Xfbdev is loaded and running (and not Xorg-7.7), you will get this:
Code: [Select]
$ X -version
sh: X: not found

No no, with sudo X -version, it actually works and lists the xorg-server version, so seems like xorg-server is running after all.

I just tried using Xfbdev and abiword works fine, so I'm not sure what to suggest  :(

It's not just Abiword. I've also tried Firefox and Onboard.

The reason I booted up the 64-bit version actually is that I wanted to try out your new Onboard (virtual onscreen keyboard) extension  ;D.

But no app can be launched. Only the apps that are pre-installed are able to launch.

You can see the error message from Firefox in post #3.

Here's another attached screenshot with Onboard not launching:

 ???  :o
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 09:46:46 AM
what does this show:
Code: [Select]
$ ls /usr/local/lib/libgio*
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: Juanito on October 07, 2016, 10:06:46 AM
I found an error on the server - the TinyCorePure64-7.2.iso should be OK now...
Title: Re: "Download + Load" not working properly on TinyCorePure64?
Post by: pq5190362 on October 07, 2016, 10:21:41 AM
Now it works (with the latest ISO)  :).