Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 3 [4] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: .xinitrc not running script< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 29 2007,16:27 QUOTE

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.
Back to top
Profile PM 
robc Offline





Group: Members
Posts: 24
Joined: Jan. 2007
Posted: Oct. 29 2007,16:38 QUOTE

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.
Back to top
Profile PM 
vstech Offline





Group: Members
Posts: 18
Joined: Oct. 2007
Posted: Oct. 29 2007,19:43 QUOTE

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

Thanks to all for your hlep.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 29 2007,23:00 QUOTE

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.
Back to top
Profile PM 
18 replies since Oct. 28 2007,02:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 3 [4] >/
reply to topic new topic new poll
Quick Reply: .xinitrc not running script

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code