Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: schmo on November 04, 2015, 12:40:08 PM

Title: bootlocal.sh - Can't open Xserver
Post by: schmo on November 04, 2015, 12:40:08 PM
Hi all,

i try to build an digital photoframe with some extra functions.

I want to start feh (an image viewer) on startup. I added that command into /opt/bootlocal.sh

But it does not start. If is switch to tty1 it gives me: "Error: Can't open X display. It *is* running, yeah?"
I also tried to add some delay, but it is the same message.

Any suggestions?

Greetings
Title: Re: bootlocal.sh - Can't open Xserver
Post by: gerald_clark on November 04, 2015, 12:57:24 PM
X programs cannot be started in bootlocal.sh.  X is not running at that point.
Please read the book  - Chapter 19.   http://tinycorelinux.net/book.html