Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox startup - nothing works
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Tue Jul 09, 2002 5:25 am    Post subject: Fluxbox startup - nothing works Reply with quote

So I want to run a few apps at fluxbox startup.
Nothing works.
Running XDM:
from /etc/rc.conf:

Code:
XSESSION=mac


in /etc/X11/Sessions:

Code:
mac@orthanc mac $ ls /etc/X11/Sessions/
Xsession  fluxbox  mac


in /etc/X11/Sessions/mac

Code:
orthanc Sessions # more mac
/usr/bin/fluxbox
gkrellm -w 
bbpager
bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg > /dev/null &
wmix 
wmxmms


Startup looks like this: system boots up, gives me XDM login screen.
I log in - it loads my style, and nothing else.
:-(
however, when I run
Code:
 /etc/X11/Sessions/mac

as my user, it sets the background and launches all the correct apps - why is xdm / flux / rc.conf not running this script?

~Mac~
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jul 09, 2002 5:38 am    Post subject: Reply with quote

I'm not a user of login managers, so my first question is this: Is mac a login manager?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Tue Jul 09, 2002 5:41 am    Post subject: Reply with quote

No, mac is both my username and the name of the session I figured I'd build for myself.

~Mac~
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jul 09, 2002 5:53 am    Post subject: Re: Fluxbox startup - nothing works Reply with quote

Instead of this:
MacMasta wrote:
Code:
orthanc Sessions # more mac
/usr/bin/fluxbox
gkrellm -w 
bbpager
bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg > /dev/null &
wmix 
wmxmms
Try this:
Code:
exec gkrellm -w  &
exec bbpager &
exec bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg > /dev/null &
exec wmix  &
exec wmxmms  &
exec /usr/bin/fluxbox

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
abhishek
Retired Dev
Retired Dev


Joined: 28 Jun 2002
Posts: 393
Location: Los Angeles, CA

PostPosted: Tue Jul 09, 2002 5:59 am    Post subject: Reply with quote

yeah i agree with that. twhen i had fluxbox before gkrellm in my .xinitrc gkrellm didnt conme up. when i flipped em it worked.
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Tue Jul 09, 2002 6:56 am    Post subject: No luck Reply with quote

Yeah, that didn't help:
Code:

mac@orthanc mac $ more /etc/X11/Sessions/mac
exec gkrellm -w &
exec bbpager &
exec bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg &
exec wmix  &
exec wmxmms &
exec /usr/bin/fluxbox


Now what?

~Mac~
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jul 09, 2002 7:03 am    Post subject: Reply with quote

I would set XSESSION=fluxbox,
ensure /etc/X11/Sessions/fluxbox contains:
Code:
/usr/bin/fluxbox

Then in ~/.xinitrc put:
Code:
exec /usr/bin/fluxbox

If that works, then add the following lines (before exec fluxbox):
Code:
exec gkrellm -w &
exec bbpager &
exec bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg &
exec wmix  &
exec wmxmms &
If it stops working, remark them out, and enable 1 at a time until it stops working.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jul 09, 2002 7:07 am    Post subject: Reply with quote

That may not work. xdm (and others) may ignore the .xinitrc file. I'm pretty sure this has been covered,
so you may search for xdm, gdm or kdm. The solution is most likely similar. I'm not a *dm user, so I'm not
familiar with the process.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
BernieKe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 130
Location: California/Bangalore/Belgium

PostPosted: Wed Jul 10, 2002 11:11 am    Post subject: Reply with quote

just use xinit then to start the windowmanager
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Wed Jul 10, 2002 7:49 pm    Post subject: Reply with quote

If you are using kdm (maybe the same applies to xdm, i don't know..) you might want to look at this thread because I have a hunch, which I will test later tonight (much later) that you can use the same file (/etc/X11/Sessions/fluxbox) to start up things like gkrellm 'n stuff just like you would normally do in a .xinitrc file. Most of this you seem to have already tried, but you should make sure that there's a shebang line at the top of you session file. I would think yours would look something like this:
Code:
mac@orthanc mac $ more /etc/X11/Sessions/mac
#!/bin/sh
exec gkrellm -w &
exec bbpager &
exec bsetbg /home/mac/images/digitalblasphemy/denouement1600.jpg &
exec wmix  &
exec wmxmms &
exec /usr/bin/fluxbox

Unfortunately, I'm not near a gentoo box and I can't test this theory. Also, make sure it's permissions are set correctly as that will no doubt cause it to make you want to tear out your spleen and feed it to your slightly confused dog.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Jul 11, 2002 2:58 am    Post subject: Reply with quote

To quote an old favorite:

Quote:
Heavens no, H ell Yeah!


That got it working - to imagine, it was just the buggered little shebang all the time.

(I love unix - we actually have something called a shebang!)

~Mac~
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Jul 11, 2002 11:37 am    Post subject: Reply with quote

MacMasta wrote:
(I love unix - we actually have something called a shebang!)

~Mac~

I'm not sure what to think about that from a guy named Mac. :) I'm glad it worked for you.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum