Click to See Complete Forum and Search --> : How do I make GKRELLM start automatically when the system starts


RX-Heaven
11-12-2003, 06:38 PM
Please help and please explain in still a noob.

RX

serz
11-12-2003, 06:48 PM
You have to edit your .xinitrc (in your home directory).

Here's an example:

gkrellm &
exec pekwm

Note the &, also, be sure that "gkrellm" is before "exec <your window manager>".

RX-Heaven
11-12-2003, 06:53 PM
Sorry...I cant find it under home....RH9 by the way.

RX

Hypz
11-12-2003, 07:08 PM
should be in /etc/X11/xinit

dboyer
11-12-2003, 07:20 PM
for RH9, the file you want is in /etc/X11/gdm/Sessions/

you just edit the text file that cooresponds to the window manager you are using... the command serz gives should work good... you just add `gkrellm &` to the top of whatever session file suits you...

RX-Heaven
11-13-2003, 11:05 AM
Thanks all...Im a straight newb...How do I figure out which windows manager im using. I havent changed anything from the default install.

RX

funnyjedi
11-13-2003, 12:29 PM
If you are using the default, then you should be using GNOME. Try this. Click on Main Menu -> Preferences -> More Preferences -> Sessions. There is a tab for startup programs and you can add /usr/bin/gkrellm to it. This should do it.

RX-Heaven
11-13-2003, 01:33 PM
lol...oops...im sorry....Using KDE.

RX

funnyjedi
11-13-2003, 02:56 PM
I think you should be able to do it the same way in KDE on redhat-9.

Or you can start gkrellm and logout without closing it. By default KDE restarts the old session.

RX-Heaven
11-13-2003, 03:50 PM
2 Things guys.....First of all....When I got to prefs, more prefs, sessions...Nothing happens. 2nd I cant find the initrc file. Its not in etc/x11/gdm/sessions

RX

jlh
11-13-2003, 05:00 PM
RX - which version of KDE and Gkrellm you using? There is a problem with some versions of gkrellm not restarting automatically in KDE 3.1.4. Supposedly fixed with the newest gkrellm build, but I haven't tried it yet.

funnyjedi
11-13-2003, 05:16 PM
edit this file
/etc/X11/gdm/Sessions/KDE

#!/bin/bash

exec /etc/X11/xdm/Xsession kde

Add gkrellm & before the exec line.
So this is how the new KDE file will look

#!/bin/bash

gkrellm &
exec /etc/X11/xdm/Xsession kde

this will start gkrellm for everyone on your computer who logs in using KDE though.