LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2004, 09:05 PM   #1
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
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.
 
Old 01-15-2004, 07:29 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 01-25-2004, 09:52 PM   #3
csvke
Member
 
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
wicked.
but my script was simply
exec blackbox
Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm is not working Smokey Linux - Software 1 09-16-2004 10:12 PM
RedHat/Fedora and blackbox pandasonic Linux - Software 3 11-21-2003 08:20 AM
Use blackbox in RedHat 8 mustardseed Linux - Software 3 02-23-2003 11:38 AM
BlackBox On redhat 8 buff330 Linux - Software 1 01-24-2003 09:37 PM
and now blackbox stops working psyklops Linux - General 1 01-31-2002 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration