Click to See Complete Forum and Search --> : Fluxbox, Red Hat 9.


noctlacos
04-12-2003, 11:58 PM
I have Red Hat 9.0, and i've recently compiled fluxbox. Since I wasn't able to find .xsession or .xnitrc in my home directory(or anywhere for that matter, damn red hat....), I looked up on what was the .xsession, and I copy-paste a .xsession file that someone posted on a forum. Here's what is says:

. $HOME/.bash_profile
xsetroot -solid '#056'
exec /usr/local/bin/fluxbox

Now, this works perfectly when I log as root, My gdm takes me to fluxbox. But I want it to work in my user account. I copy-pasted the .xsession from my root directory to my user home directory. It doesn't work. I tried to changer the root in the line:
xsetroot -solid '#056' to the user's name, and once again it didn't. How can I do this?

I'm quite new to linux, so I might not be doing the brightess of things...

serz
04-13-2003, 02:28 AM
I got the same problem.

Make a .xinitrc in your home directory, and add "exec fluxbox".

rid3r
04-13-2003, 02:51 AM
see if your .xsession is not owned by root / has the read-only permissions
$ su
# chown noctlacos:users .xsession
# exit
$ chmod 755 ~/.xsession
(755 = -rwx-rx-rx-)
just an idea.

noctlacos
04-13-2003, 08:23 AM
Hi,
Isn't .xinitrc for when I try to start it with startx?
(I'm using GDM, so I only need .xsession)
Nevertheless, I tried it and it doesnt work.

I also tried checking for permissions and I did what rid3r said, still, no luck.

Anyone know the redhat equivalent of .xsession? I'm sure it must be somewhere ; I am using GDM.

Thanks in advance.

SuperNu
04-13-2003, 07:55 PM
These are two discussions that should help you out in adding new sessions to GDM. I have posted my directions in the first link and the second is one that do_guh_new started.

http://linuxnewbie.org/forum/showth...&threadid=59282
http://linuxnewbie.org/forum/showth...&threadid=65583

--SN

noctlacos
04-13-2003, 10:38 PM
It works! Succes at last!!
I did what you said and its working perfectly!
Thanks , SuperNu, and thanks to everyone!
:D