LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-21-2003, 07:16 AM   #1
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Icewm background program in .xinitrc causing X crash


Hey Guys.
Well.... iceWM just plain kicks Ass dont it ??? epecially with iceCrack2 theme.


ANYWAY, from the documentaion, ive found that you have to
execute a program called icewmbg to display the background image.
which works Fine when issued from Xterm after bootup.

(oohhh, i should mention my default runlevel is runlevel 3.
and i have entered the command 'exec startx' in th last line of my
~/.bash_profile)

to load icewm i have the command
exec icewm
in my ~/.xinitrc file

but when i add 'exec icewmbg' to ~/.xinitrc
X will not load.
it starts to load, shows the nVidia Logo, then
at the point the WM would load, im left in runlevel 3
with the message "waiting for x to shutdown"

ive tried
exec icewm
exec icewmbg

exec icewmbg
exec icewm

exec icewm &
exec icewmbg &

exec icewmbg &
exec icewm &


but all have the same result.
so where exactly am i meant to issue the
icewmbg command ???
 
Old 10-21-2003, 05:20 PM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
exec icewmbg &
exec icewm

Should work.
 
Old 10-21-2003, 05:23 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
That's interesting.

Try adding a sleep command between the execution of icewm and icewmbg.

sleep 5

-Shade
 
Old 10-21-2003, 07:06 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
yeah, fixed it g00$e was right.

i was treating xinitrc as a config file not a script.

it seems X is designed to shutdown when the xinitrc script has finished executing.
so adding the thread '&' to all but the main WM at the end causes all binary's to execute,
and closes X when icewm finishes execution.

thanX
 
Old 10-21-2003, 11:25 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Nice to know!

Thanks for posting the resolution, too many people don't.

-Shade
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IceWM won't set background GT_Onizuka Linux - General 3 07-22-2008 03:40 PM
Icewm doesn't set background rickenbacherus Linux - Software 1 06-21-2004 04:11 PM
Can't change IceWM background Rognon Linux - Software 7 06-21-2004 09:23 AM
Stop xwmconfig from changing background color in .xinitrc??? Shay Slackware 1 12-04-2003 12:36 PM
how do I set IceWM background? hollywoodb Linux - Newbie 3 10-25-2003 12:09 AM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration