WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X-App on startup blocks terminal ?  (Read 1564 times)

Offline StanTheMan

  • Newbie
  • *
  • Posts: 1
X-App on startup blocks terminal ?
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: X-App on startup blocks terminal ?
« Reply #1 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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: X-App on startup blocks terminal ?
« Reply #2 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 &