Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg/fluxbox issues {solved}
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
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 3:23 am    Post subject: xorg/fluxbox issues {solved} Reply with quote

hi all, my system is acting somewhat funny right now and im slowly working out all the bugs, but one of my problems is that when i was in command line and i ran startx, i got the rather ugly defalut window manager that you get when you first configure xorg. now i re created the .xinitrc file in the root directory, but when i startx i dont have the certian programs i have set in startup starting. i checked the startup file and i cannot figgure out what is wrong, the programs are still there. they just arent initializing
any help or insight is appreciated


Last edited by projkt4 on Sun Feb 06, 2005 11:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Feb 06, 2005 3:43 am    Post subject: Reply with quote

You're running X as root? Bad bad. First thing you need to do is create yourself a user (run something like useradd yourcoolusername -m -G users,wheel,portage,audio,video,cdrom,floppy) then start using that user exclusively and only root up (by running su) when needed.

Now make a new .xinitrc in your user's home directory and make sure all the programs you want started at X startup are BEFORE your command to start the window manager and if the program you're starting does not start itself as a background process then you'll need to append an ampersand sign to the command (e.g. /usr/bin/gaim &). Now make sure its executable: chmod +x ~/.xinitrc
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 3:57 am    Post subject: Reply with quote

i do hava user, and if i log in as user and startx i get the same results. i had to add the .xinitrc to that directory as well. the startup files are even the same. but i still dont get thos apps starting when i load x. the reason i am running in root is because for whatever reason i cannot su -l from my user, and i want to be able to have full useability.

how do i look at a user profile to see what functions and rights it has?
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 06, 2005 3:59 am    Post subject: Reply with quote

Edit rc.conf and change XSESSION= to XSESSION="fluxbox". And uncomment it if it's commented.
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 4:05 am    Post subject: Reply with quote

did that, it was commented out and set to gnome, and i uncommented it and set to fluxbox, but when i startx my apps still dont initialize on startup

they are in the startup file though. any other tips?
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 06, 2005 4:16 am    Post subject: Reply with quote

Now instead of messing around with xinit, why don't you use the ~/.fluxbox/startup file?
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 4:25 am    Post subject: Reply with quote

what can i do with it, i have one, it still has the items i want started up right away in the file. i dont know what else to do with that file
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 06, 2005 6:16 am    Post subject: Reply with quote

~/.fluxbox/startup is very well documented. Just add lines like
Code:
gkrellm &
at the end to start programs automatically. The & is essential.
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Feb 06, 2005 6:26 am    Post subject: Reply with quote

If you're using the mechanism provided by Gentoo to start your window manager (the XSESSION var in /etc/rc.conf) then you'll need to remove $HOME/.xinitrc. Make sure all the programs you want to start are in $HOME/.fluxbox/startup BEFORE the command to start fluxbox.
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 8:37 pm    Post subject: Reply with quote

allow me to clarify.

I ALREADY HAVE THE CORRECT ENTRYS IN MY .fluxbox/startup FILE. THERE IS A PROBLEM WITH THEM INITIALIZING.

so, though i appreciate the help, i am confident that there is nothing wrong with my startup file. i am having proplems with the programs ALREADY ENTERED in that file. so what i am looking for is a reason for why this file isnt being read properly.
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Feb 06, 2005 9:04 pm    Post subject: Reply with quote

Have you removed your .xinitrc yet?
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
lamaistres
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 268
Location: Seattle

PostPosted: Sun Feb 06, 2005 9:16 pm    Post subject: Reply with quote

re-edit .xinitrc by disabling everything and add
Code:
startfluxbox

Make sure that the apps in .fluxbox/startup have an ampersand at the end
Code:
foo-foo &

Post your .xinitrc and .fluxbox/starup file if it doesn't work.
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 11:06 pm    Post subject: Reply with quote

Arainach wrote:
Have you removed your .xinitrc yet?



and thats what did it. thank you for the help.
sorry i was snappish in my previous post, i was a little frustrated.
thanks to all that posted, you all rule.
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