WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to install extensions?  (Read 5734 times)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
How to install extensions?
« on: March 23, 2017, 01:41:16 PM »
Hello,
I have just installed Tiny Core on my RPi3 and I have followed the read file.

Now I have just the command line and I would like to install exceptions, first of all a GUI and then a FTP server but I have found not instructions on how to install them.

Can anyone please help me?

Thanks a lot,
daniele

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #1 on: March 23, 2017, 01:47:03 PM »
For the GUI:
Code: [Select]
tce-load -w TC; tce-load -i TC; startx
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #2 on: March 23, 2017, 01:49:53 PM »
For the GUI:
Code: [Select]
tce-load -w TC; tce-load -i TC; startx

Thanks I have already tried it but I get following error from the command "tce-load -w TC":

Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable

Then when I try to launch "startx", I get "2 cycles done, 1 cycles done"

What shall I do?
Thanks,
daniele
« Last Edit: March 23, 2017, 01:51:36 PM by dcaccount »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #3 on: March 23, 2017, 01:51:37 PM »
Is your RPi connected to the internet?
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #4 on: March 23, 2017, 01:52:26 PM »
Is your RPi connected to the internet?

Yes!
Please check:
Downloading: Xprogs.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
Xprogs.tcz           100% |***********************************************************|   136k  0:00:00 ETA
Xprogs.tcz: OK
Downloading: Xorg.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
Xorg.tcz             100% |***********************************************************|  4096   0:00:00 ETA
Xorg.tcz: OK
Downloading: TC.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #5 on: March 23, 2017, 01:58:21 PM »
Hmm, I don't know why it fails.
However,  TC.tcz  is just a meta-extension for these:
Code: [Select]
Xorg.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz
Try installing them independently.
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #6 on: March 23, 2017, 02:00:11 PM »
Hmm, I don't know why it fails.
However,  TC.tcz  is just a meta-extension for these:
Code: [Select]
Xorg.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz
Try installing them independently.

It says that all are already installed. When I type "startx" I get "1 cycles done"

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #7 on: March 23, 2017, 02:04:39 PM »
What verion of PiCore are you using?
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #8 on: March 23, 2017, 02:06:33 PM »
What verion of PiCore are you using?

8.1.5

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #9 on: March 23, 2017, 02:18:56 PM »
What verion of PiCore are you using?

8.1.5

I have tried once more and I get the error during the install. The download has gone with no problems.
The error I get during the install is following:

fc-cache: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
fontconfig.tcz: OK
cairo.tcz: OK
harfbuzz.tcz: OK
wbar.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
flwm_topside.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
libxkbfile.tcz: OK
/usr/bin/tce-load: line 290: desktop.sh: not found
xkbcomp.tcz: OK

and then when I type startx, I get:
startx
2 cycles done
tc@box:~$ startx
1 cycles done
tc@box:~$ startx
1 cycles done

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #10 on: March 23, 2017, 02:55:21 PM »
Could it be because I am trying to install it from a terminal via SSH?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #11 on: March 23, 2017, 03:16:34 PM »
Yes!
X runs on your Pi ; You won't see it through your SSH client unless you're using some kind of Remote Desktop software.
However, you can forward GUI apps from your RPi to your client via something like
Code: [Select]
ssh -Y <IP-of your-RPi> <GUI-app>

The message
Code: [Select]
1 cycles done
comes from  nohup wbar , I think. So can be ignored.

Also
Code: [Select]
/usr/bin/tce-load: line 290: desktop.sh: not found
is nothing to be concerned about.
As soon as the extension that contains  desktop.sh  is loaded, that message goes away.
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #12 on: March 23, 2017, 03:20:00 PM »
Yes!
X runs on your Pi ; You won't see it through your SSH client unless you're using some kind of Remote Desktop software.
However, you can forward GUI apps from your RPi to your client via something like
Code: [Select]
ssh -Y <IP-of your-RPi> <GUI-app>

The message
Code: [Select]
1 cycles done
comes from  nohup wbar , I think. So can be ignored.

Also
Code: [Select]
/usr/bin/tce-load: line 290: desktop.sh: not found
is nothing to be concerned about.
As soon as the extension that contains  desktop.sh  is loaded, that message goes away.

Thanks!
I have tried: 
ssh -Y tc@192.168.1.12 startx
but now I get:
killall: can't kill pid 3658: No such process

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: How to install extensions?
« Reply #13 on: March 23, 2017, 03:47:34 PM »
That won't work. You can only run individual GUI apps through your SSH client, although  startx  has to be ran on your SSH host before that will work (i.e. X must be running on the host).
If you want to use the full desktop, you need something like  x11vnc.tcz  to be installed on your RPi and some VNC viewer as a client to use it.
Download a copy and keep it handy: Core book ;)

Offline dcaccount

  • Newbie
  • *
  • Posts: 13
Re: How to install extensions?
« Reply #14 on: March 23, 2017, 03:50:28 PM »
That won't work. You can only run individual GUI apps through your SSH client, although  startx  has to be ran on your SSH host before that will work (i.e. X must be running on the host).
If you want to use the full desktop, you need something like  x11vnc.tcz  to be installed on your RPi and some VNC viewer as a client to use it.

All clear, thanks a lot for helping, daniele