Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: DanielH on April 06, 2023, 07:48:49 PM

Title: Various apps not working in RPi 1B headless
Post by: DanielH on April 06, 2023, 07:48:49 PM
I've installed TCL in a RPi headless, and installed some apps used to download and share files (curl, wget, lftp, python3.8-pip and then youtube-dl).

I've installed mc too.
mc refuses to start, presenting a message:  aterm: can't open display :0
I can't solve this issue, nor installing aterm.tcz.
How can I solve this problem? Below, my console commands:

tc@cultura:~/Shared$ tce-run mc
tc@cultura:~/Shared$ aterm: can't open display :0

tc@cultura:~/Shared$ tce-size aterm.tcz
  aterm.tcz                                     65536,   0.06 MB
  libICE.tcz                                    36864,   0.04 MB
  libSM.tcz                                     12288,   0.01 MB
  libX11.tcz                                   917504,   0.88 MB
  libXau.tcz                                     4096,   0.00 MB
  libxcb.tcz                                   229376,   0.22 MB
  libXdmcp.tcz                                   8192,   0.01 MB
  libXext.tcz                                   24576,   0.02 MB

  Total size (bytes)                          1298432,   1.24 MB
+ Indicates need to download                        0,   0.00 MB

tc@cultura:~/Shared$
tc@cultura:~$ tce-run aterm.tcz
aterm: can't open display :0

Your answers will be appreciated!
Best regards, DanielH
Title: Re: Various apps not working in RPi 1B headless
Post by: Paul_123 on April 06, 2023, 07:54:51 PM
If you are headless, how do you expect to open a display?  You need to run applications designed for just a shell session.

just type mc on the command prompt to run mc.
Title: Re: Various apps not working in RPi 1B headless
Post by: DanielH on April 06, 2023, 08:31:49 PM
@Paul_123

Thanks you! I've erroneously suppose that the mc command needs to be prepended by tce-run.
My mistake!

From TCL wiki:
Start an Application
To start an application that is not loaded, use tce-run app_name

Best regards, DanielH