Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.