Click to See Complete Forum and Search --> : .xsession
Akuji
03-03-2003, 04:57 PM
I'm a real Linux n00b and this really beats the sh*t out of me:
I'm using gkrellm and bbkeys with blackbox and in every tutorial and faq they say to add some exec lines to my .xsession so they execute on login Only... I do not have a .xsession file in my homedirectory! And if I make one that should work it still doesn't work!! So where do I have to add thoses exec-lines??? btw, I'm using Red Hat 8.0.
InferiorWang
03-03-2003, 05:14 PM
are you sure you dont have a .xession? the . files are hidden so you cant see them with a normal ls. if you type 'ls .x*' without quotes and with a cap X if needed you should see all you .x files. or try to vi .xsession (or .Xsession whatever it is)
Akuji
03-03-2003, 05:27 PM
No .xsession or something that looks like it. I do have .Xclients-default which is set to enlightenment but I'm using blackbox (and Gnome is set as the standard desktopmanager for the system). So in which file is blackbox configured as my windowmanager??
bandwidth_pig
03-03-2003, 07:24 PM
What distro are you running? Debian? I think Xsession is found under /etc/X11. Do you have a .xinitrc in your home directory?
Akuji
03-04-2003, 06:59 AM
I'm using Red Hat 8.0. Yes, I have a .xinitrc file in my directory but it's empty to! I tried placing an .Xsession file which should load Gnomeb on startup in my homedirectory but that didn't really work out :(
bandwidth_pig
03-04-2003, 08:30 PM
It's empty?
bash$: whereis xinitrc
If it is indeed empty, try adding:
exec blackbox
to the end of .xinitrc.
dstammer
03-12-2003, 02:47 AM
When I installed WindowMaker on Debian 3.0 box recently, the install did not create .xsession file. I'm logged in as user called dave, so I did the following:
$ cd /home/dave
$ vi .xsession (to create the file)
I entered the names of the executables that I want to run on start up and placed the window manager executable as the last line.
....
xterm&
xscreensaver&
...
exec wmaker
That was about it. When I rebooted, and ran the startx script from the console, it reads .xsession file and boots the window manager, WindowMaker.
Hope this helps.
I had that problem a while ago when i first installed fluxbox on my system. They kept saying that in my user directory i would either have .xinitrc or .xsessions, i had neither. turns out my .xinitrc file was burried in a directory like /etc/X11/xinitrc/ or something like that. look for your file in some of hte other X direcotries, coud possibly be burried like mine was.
cnjohnson
03-13-2003, 09:35 PM
Originally posted by Akuji
I'm a real Linux n00b and this really beats the sh*t out of me:
I'm using gkrellm and bbkeys with blackbox and in every tutorial and faq they say to add some exec lines to my .xsession so they execute on login Only... I do not have a .xsession file in my homedirectory! And if I make one that should work it still doesn't work!! So where do I have to add thoses exec-lines??? btw, I'm using Red Hat 8.0.
Do you have one or both of these files in your home directory:
.Xclients-default
.Xclients
You can edit .Xclients-default and add your commands to start your window manager there. That's how I run both gkrellm and icewm.
Cheers--
Charles