LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-26-2004, 10:55 AM   #1
debuser
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Multiple login managers?


Hello

I have been successful in getting multiple X sessions on more than one virtual terminals. Now my question is, can I have two different login managers too? I would like kdm on vt7 and gdm on vt8. I have tried searching on google and everybody is only talking about multiple X sessions using the same manager. Is it even possible to have kdm and gdm running at the same time?

Thanks
 
Old 03-26-2004, 10:59 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
xdm, kdm, gdm, all of them create an instance of X just like any window manager. Therefore it would seem to make sense that you could start them on different displays. I would imagine that if you look at perhaps their config files or on their command lines you can place them onto different displays.

Just shooting from the hip, maybe if you call gdm the same way you call xinit:

gdm -- :1

to start it on the second display.
 
Old 03-26-2004, 11:11 AM   #3
debuser
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
What you are saying is right maybe...

I have kdm installed a smy default manager. To get multiple kdm sessions, I have changed my Xservers -

:0 local@tty1 /usr/X11R6/bin/X -nolisten tcp vt7
:1 local@tty2 reserve /usr/X11R6/bin/X -nolisten tcp :1 vt8

This gets me two login sessions without me typing anything after startup.

All I want now is kdm to start on vt7 and gdm to start on vt8 automatically...
 
Old 03-26-2004, 11:33 AM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Well, what is starting KDM? What I mean is, it looks like you've instructed X to start two sessions. So is X configured somewhere to, when it starts those X sessions, load KDM? And if so, could you make two seperate config files (one that tells X to start kdm) and one that tells X to start gdm and then in your lines specified above pass a specific config file to each instance?
 
Old 03-26-2004, 11:58 AM   #5
debuser
LQ Newbie
 
Registered: Mar 2004
Location: Boston
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks jpbarto

You have given me a good lead. I now have to find how kdm starts up. My initial find was I found a file under /etc/X11 called 'default-display-manager' which has

/usr/bin/kdm

as the only line in it. So I am assuming when X starts up, it sees this file and starts up kdm. I have to do some reading and find more about this.

If I find a solution I will post it here.

Thanks
 
Old 03-26-2004, 12:44 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Just to give you another thought, I use GDM and it is started by my init scripts in /etc/rc.d (gdm then starts X for itself). My initial thought was you could create two init scripts (one kdm, one gdm) that start X for themselves each on their own display.

Again, just listing another possibility.

Good luck,
jpbarto
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing login managers stonehurstX11 Mandriva 3 04-19-2006 01:59 PM
Using multiple package managers B1-66ER Linux - General 2 09-16-2005 10:44 PM
login managers and consoles eeades Slackware 3 08-31-2005 11:19 AM
installing multiple window managers jagibbs Linux - Software 2 11-24-2004 03:53 PM
Switching login managers Twiggy794 Linux - Software 1 12-07-2003 10:59 PM


All times are GMT -5. The time now is 11:21 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration