HD Install :: .xinitrc not running script



Quote (vstech @ Oct. 28 2007,14:24)
ok,

thehatsrule, I added the line to make a log script, but no script is ever made... I am thinking the line is never executed to run the cron_start_frame.sh, but I have moved that line all around the .xinitrc script and NEVER get a log file.

I experimented around with .xinitrc.  There's just no way NOT to get a log file, even if you put in garbage. So if I write at the top, say before KEYTABLE,  "garbage>/tmp/garbage.log",   it will produce an empty file in /tmp called garbage.log.  Not to get a log file means ./.xinitrc isn't running.
Before you try a reinstall you may want to try a clean .xinit. Just restart with liveCD with the norestore cheatcode and copy the .xinit file over. Then put
Code Sample
/mnt/hda1/mydsl/scripts/cron_start_frame.sh &
in the new .xinit file.

You also may want to tell dsl which screen to use before starting feh. I know I had problems getting X apps to run from scripts because of this. Just add:
Code Sample
export DISPLAY=:0
before
Code Sample
/usr/bin/feh -qxzrZF -D 10 /mnt/hda6/pictures/*.* &


P.S.: Just curious, have you tried adding sudo to the beginning of the line in th .xinit file? Sometimes if the mounted directory permissions are not set properly then you can run into problems.

Ok... recreating the .xinitrc file worked... the script now runs the display program from .xinitrc.

Thanks to all for your hlep.

Quote (vstech @ Oct. 29 2007,14:43)
Ok... recreating the .xinitrc file worked... the script now runs the display program from .xinitrc.

Thanks to all for your hlep.

I'm wondering how the old one even managed to boot the desktop, given it wasn't reading anything.

Quote
My bad. I said Alt+PageUp, but it's Shift+PageUp.
Doesn't seem  to be any way to scroll up the page on my Dell; too bad, that's a nice trick. It does scroll up if I get out of x via contrl-alt-backspace using shift-page up, but then I lose anything previously loaded when restarting x.


original here.