LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Get blackbox working under GDM in Redhat 9? (https://www.linuxquestions.org/questions/linux-software-2/get-blackbox-working-under-gdm-in-redhat-9-a-134911/)

csvke 01-14-2004 08:05 PM

Get blackbox working under GDM in Redhat 9?
 
As I tracked back to some old posts, I can get round the problem of installing the blackbox and using it by
1) adding an .xinitrc file with the line
exec blackbox

2) editing the default runlevel from 5 to 3 in the file /etc/inittab
id:3:initdefault:


The problem is,
is there any way that i can 'add' a choice under 'session' in GDM (the gnome login page) so i can choose using gnome, kde or blackbox when i login, instead of using console login and explicitly type startx to get blackbox started?

Cheers.

hw-tph 01-15-2004 06:29 AM

If you look in /etc/X11/Sessions of /etc/X11/gdm/Sessions you will probably find the scripts used to launch the desktops/WM's you have installed from GDM. You can create a script here called "blackbox" and simply enter the same contents as your .xinitrc, or something like this:
Code:

# GDM Session script for locally built blackbox
exec /etc/X11/Xsession /usr/local/bin/blackbox

Make it executable (chmod a+x scriptname) and restart GDM and choose blackbox from the menu. The contents of your session script can vary quite a lot, sometimes a simple "exec blah" will do.


Håkan

csvke 01-25-2004 08:52 PM

wicked.
but my script was simply
exec blackbox
Cheers


All times are GMT -5. The time now is 01:59 PM.