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 >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 28 2007,20:49 QUOTE

After starting X, press Ctrl+Alt+F1 (Alt+ one of the other F keys depending on your setup to return to X) and look to see if there are any error messages listed from the xinit script. You can use Alt+PageUp if you need to scroll up.

I think it's very strange that you can run cron_start_frame.sh from a terminal window, but the very same command doesn't work from .xinitrc


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
vstech Offline





Group: Members
Posts: 18
Joined: Oct. 2007
Posted: Oct. 29 2007,00:53 QUOTE

I tried the alt-ctr-f1 and all I see is a bright blue screen???

alt-ctrl-f2 brings me back to my desktop, all the other combinatoins (f3,f4...) are blue screens.

I am thinking maybe I need to reinstall DSL, but I am so close to being done, I hate to start over again, but then, I too don't understand why the script runs from a shell but not from .xinitrc
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 29 2007,04:14 QUOTE

Quote (mikshaw @ Oct. 28 2007,15:49)
After starting X, press Ctrl+Alt+F1 (Alt+ one of the other F keys depending on your setup to return to X) and look to see if there are any error messages listed from the xinit script. You can use Alt+PageUp if you need to scroll up.

Any other way to scroll up? (page up, arrows, etc., don't work)

I'm still curious whether it's the particular script or something about cron that doesn't work from .xinitrc (if nobody else has cron loaded, I could experiment when I have time).

Edit:  oh....just saw the script; I thought this was related to cron...guess not..   The problem is probably that your app, FEH (or components), isn't loaded correctly prior to running the script;  so just run the script after the desktop is fully loaded...no problem.
Back to top
Profile PM 
vstech Offline





Group: Members
Posts: 18
Joined: Oct. 2007
Posted: Oct. 29 2007,12:11 QUOTE

Quote (jpeters @ Oct. 28 2007,23:14)
Edit:  oh....just saw the script; I thought this was related to cron...guess not..   The problem is probably that your app, FEH (or components), isn't loaded correctly prior to running the script;  so just run the script after the desktop is fully loaded...no problem.

I thought of that also... I did put a & at the end of the fluxbox and put flid=$!

on the next line I put a wait $flid

then put the lines in to run the script.

No change.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 29 2007,15:00 QUOTE

Quote
Any other way to scroll up? (page up, arrows, etc., don't work)
My bad. I said Alt+PageUp, but it's Shift+PageUp. In either case, though, it hadn't occured to me that this doesn't work when there is an application currently running in the tty. Maybe there is another way, but I don't know it.
Personally I redirect output to a file and tail it, so any error messages appear in aterm after X has started (if successful, otherwise I look in the log file).

I still don't have a good idea, but I stress the importance of finding specific error messages. Until you know the source of the problem, you won't be able to find a solution.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
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