Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: StanTheMan on January 04, 2018, 04:14:00 AM

Title: X-App on startup blocks terminal ?
Post by: StanTheMan on January 04, 2018, 04:14:00 AM
Hey!
I just started using tinycore for a automotive project with Qt and got some small program working on the starup by creating a startup script in the .X.d folder.
The problem is, that I cant operate anymore, also when I press Ctrl + Alt + F1 (shows kind of a terminal, but doesn't jump in the 'command mode', where I can enter commands)

Before I added the script to the startup I was able to jump into the terminal by pressing this shortcut and pressing enter afterwards.

Can you help me with this one?
Thanks in advance
Title: Re: X-App on startup blocks terminal ?
Post by: Juanito on January 04, 2018, 04:30:30 AM
You don't mention whether you're using Xvesa, Xfbdev or Xorg-7.7, which is it?

After <ctrl - alt - f1> enter "sudo killall Xvesa" (or Xfbdev/Xorg).

Then remove your script from ~/X.d and "startx".

What are the contents of your script?
Title: Re: X-App on startup blocks terminal ?
Post by: Rich on January 04, 2018, 05:55:51 AM
Hi StanTheMan
Your script needs to be launched in the background. Place your script in  ~/.local/bin. Then place a file in ~/.X.d that launches
your script like this:
Code: [Select]
YourScriptName &