How do you set which GUI login screen is seen in run level 5? Adam Oliver http://www.meyedev.com/people/index.html aolive1@umbc.edu AOL IM: Zor_Prime09 Yahoo IM: GendoIkari69 MSN Messenger: GendoIkari69@yahoo.com
/etc/rc.config You can choose XDM, KDM, GDM..etc..etc. :) * Adam Oliver (aolive1@umbc.edu) [020121 10:40]: ->How do you set which GUI login screen is seen in run level 5? -> ->Adam Oliver ->http://www.meyedev.com/people/index.html ->aolive1@umbc.edu -> ->AOL IM: Zor_Prime09 ->Yahoo IM: GendoIkari69 ->MSN Messenger: GendoIkari69@yahoo.com -> -----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- I'm out of my mind, but feel free to leave a message...
----- Original Message -----
From: "Ben Rosenberg"
/etc/rc.config
You can choose XDM, KDM, GDM..etc..etc. :)
Adam, your best bet is to do this with yast. System Administration->Settings of susewm One mistake in rc.config will leave you hosed so it's not worth poking around in it when you have a simple 10 second fix for things like this. John
* Adam Oliver (aolive1@umbc.edu) [020121 10:40]: ->How do you set which GUI login screen is seen in run level 5? -> ->Adam Oliver ->http://www.meyedev.com/people/index.html ->aolive1@umbc.edu ->
What do I do to this file if I want (would like to be able to in other words) to have different GUI's available on different logins when it reaches runlevel 5? ie alt-1 - KDM alt-2 - XDM etc regards scsijon At 10:47 AM 1/21/02 -0800, Ben Rosenberg wrote:
/etc/rc.config
You can choose XDM, KDM, GDM..etc..etc. :)
* Adam Oliver (aolive1@umbc.edu) [020121 10:40]: ->How do you set which GUI login screen is seen in run level 5? -> ->Adam Oliver ->http://www.meyedev.com/people/index.html ->aolive1@umbc.edu -> ->AOL IM: Zor_Prime09 ->Yahoo IM: GendoIkari69 ->MSN Messenger: GendoIkari69@yahoo.com ->
-----=====-----=====-----=====-----=====----- Ben Rosenberg mailto:ben@whack.org -----=====-----=====-----=====-----=====----- I'm out of my mind, but feel free to leave a message...
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Tuesday 22 January 2002 10.34, scsijon-net2000 wrote:
What do I do to this file if I want (would like to be able to in other words) to have different GUI's available on different logins when it reaches runlevel 5?
ie alt-1 - KDM alt-2 - XDM etc
You can't do this straight in rc.config. If I understand you correctly, you would have to hack the /etc/rc.d/xdm script to achieve what you want. In that script, the display manager is started that was chosen in rc.config. Instead, you could write your own little algoritm that, say, cycled through all of them on succesive startups, or whatever rule you want to use. regards Anders
This should be your standard config if you installed the other window
managers with yast. You should have a drop box on your login screen that
says "Session Type". This should have all the wm's installed i.e. kde,
gnome, windowmaker, fvwm, etc. If you hack the files by hand you are on
your own. You'll need to make all the changes in all the necessary files
and SuSEConfig may have trouble parsing the file when you need to make other
changes in the future.
John
----- Original Message -----
From: "scsijon-net2000"
What do I do to this file if I want (would like to be able to in other words) to have different GUI's available on different logins when it reaches runlevel 5?
ie alt-1 - KDM alt-2 - XDM etc
regards scsijon
At 10:47 AM 1/21/02 -0800, Ben Rosenberg wrote:
/etc/rc.config
You can choose XDM, KDM, GDM..etc..etc. :)
* Adam Oliver (aolive1@umbc.edu) [020121 10:40]: ->How do you set which GUI login screen is seen in run level 5? -> ->Adam Oliver
On Tuesday 22 January 2002 15.31, John Scott wrote:
This should be your standard config if you installed the other window managers with yast. You should have a drop box on your login screen that says "Session Type". This should have all the wm's installed i.e. kde, gnome, windowmaker, fvwm, etc. If you hack the files by hand you are on your own. You'll need to make all the changes in all the necessary files and SuSEConfig may have trouble parsing the file when you need to make other changes in the future.
No need to scare people. It's not that complicated. It's just one file that needs changing, and SuSEconfig never "parses" it. furthermore, he mentioned "kdm" and "xdm", and neither of those can be selected from a dropdown. They are display managers, not window managers. //Anders
On Tuesday 22 January 2002 15.31, John Scott wrote:
This should be your standard config if you installed the other window managers with yast. You should have a drop box on your login screen
says "Session Type". This should have all the wm's installed i.e. kde, gnome, windowmaker, fvwm, etc. If you hack the files by hand you are on your own. You'll need to make all the changes in all the necessary files and SuSEConfig may have trouble parsing the file when you need to make other changes in the future.
No need to scare people. It's not that complicated. It's just one file
***Warning*** a sort of offline rant below!
----- Original Message -----
From: "Anders Johansson"
needs changing, and SuSEconfig never "parses" it.
furthermore, he mentioned "kdm" and "xdm", and neither of those can be selected from a dropdown. They are display managers, not window managers.
//Anders
With all due respect Anders: I'm not trying to scare anyone. I'm simply pointing out that editing files is not *always* the best choice. Yast does these things for you. Experienced users can edit files, but they should already know which files to edit. If you have to constantly point them to rc.config they should probably be using yast. On the other hand, if they ask "what variable in rc.config do I edit to do this..." then you know they are experienced enough to do it this way. You have to keep in mind that not everyone on this list has been using linux for years. I try to give the simplest solution possible and if they want more detail, I'll provide it. I still remember how frustrating it was 3 years ago when "gurus" kept telling me to "just" edit this or that file. There are many people on the list who haven't a clue what you're talking about. My answers are formatted for them. Also, you *can* select the wm from a drop box. I'm sitting here looking at the monitor across from me with a kdm login screen and a "Session Type" drop box exactly where I said. ditto for my laptop. Who knows? Maybe I have those because I set them up with yast..??? hmmm... John
On Tuesday 22 January 2002 16.12, John Scott wrote:
You have to keep in mind that not everyone on this list has been using linux for years. I try to give the simplest solution possible and if they want more detail, I'll provide it. I still remember how frustrating it was 3 years ago when "gurus" kept telling me to "just" edit this or that file. There are many people on the list who haven't a clue what you're talking about. My answers are formatted for them.
Yes, this is true. And if it were possible to do what he wanted from within rc.config that would be the preferable solution. As it is, you can't. If you want to start several display managers at once, you *have* to hack the script.
Also, you *can* select the wm from a drop box. I'm sitting here looking at the monitor across from me with a kdm login screen and a "Session Type" drop box exactly where I said. ditto for my laptop. Who knows? Maybe I have those because I set them up with yast..??? hmmm...
And let me repeat: kdm and xdm are *not* window managers. You cannot select kdm from kdm. //Anders
----- Original Message -----
From: "Anders Johansson"
On Tuesday 22 January 2002 16.12, John Scott wrote:
You have to keep in mind that not everyone on this list has been using <snip> about. My answers are formatted for them.
Yes, this is true. And if it were possible to do what he wanted from within rc.config that would be the preferable solution.
As it is, you can't. If you want to start several display managers at once, you *have* to hack the script.
You are correct, but my understanding (reading between the lines) was that he wanted to choose which wm he wanted at login time i.e. kde, gnome, etc. If that's not the case then I misunderstood his question. Choosing between KDM, XDM, GDM at login doesn't compute so my brain auto-extrapolated. As for this actual KDM, XDM, GDM on tty1/2/3, maybe playing with mingetty or inittab...but just thinking about that makes my head hurt. oww! not worth it. John
Also, you *can* select the wm from a drop box. I'm sitting here looking
at
the monitor across from me with a kdm login screen and a "Session Type" drop box exactly where I said. ditto for my laptop. Who knows? Maybe I have those because I set them up with yast..??? hmmm...
And let me repeat: kdm and xdm are *not* window managers. You cannot select kdm from kdm.
//Anders
On Tuesday 22 January 2002 16.42, John Scott wrote:
As for this actual KDM, XDM, GDM on tty1/2/3, maybe playing with mingetty or inittab...but just thinking about that makes my head hurt. oww! not worth it.
It might be worth it if you have several monitors connected to the machine and want to give different looks to different screens. In any case I was wrong too. It's not enough to hack the xdm script. You also have to set up different environments for the managers, with their own config files. At least xdm won't accept command line parameters. It can be done. I set up kdm to handle tty7, 8 and 9 just to demonstrate *really fast* user switching. 1 second with one press of a button. Eat that, microsoft :) //Anders
Is there a guide that talks about having multiple monitors on a linux machine with multiple video cards? It's something I wanted to play with later. Thanks for the response about the rc.config (can't remember who it was). That variable was exactly what I was looking for. Adam Oliver aolive1@umbc.edu http://userpages.umbc.edu/~aolive1/ http://www.meyedev.com/people/aoliver.htm AOL IM: Zor_Prime09 Yahoo IM: GendoIkari69 MSN Messenger: GendoIkari69@yahoo.com -----Original Message----- From: Anders Johansson [mailto:andjoh@cicada.linux-site.net] Sent: Tuesday, January 22, 2002 10:59 AM To: suse-linux-e@suse.com Subject: Re: [SLE] runlevel 5 login screen - fork It might be worth it if you have several monitors connected to the machine and want to give different looks to different screens.
On Tue, 22 Jan 2002, Adam Oliver wrote:
Is there a guide that talks about having multiple monitors on a linux machine with multiple video cards? It's something I wanted to play with later.
If you use SaX2 for configuring XFree86, it should detect the two cards automatically and will offer them both for configuration. So have a look at the SaX2 chapter in the manual :) Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Deutschherrnstr. 15-19 http://www.suse.de/~grimmer/ 90429 Nuernberg, Germany War on Puberty: New program to eliminate teenage crime.
Hmmm, very interesting. How did you do that???? This keeps gettting better and better..... Anders Johansson wrote:
On Tuesday 22 January 2002 16.42, John Scott wrote:
As for this actual KDM, XDM, GDM on tty1/2/3, maybe playing with mingetty or inittab...but just thinking about that makes my head hurt. oww! not worth it.
It might be worth it if you have several monitors connected to the machine and want to give different looks to different screens.
In any case I was wrong too. It's not enough to hack the xdm script. You also have to set up different environments for the managers, with their own config files. At least xdm won't accept command line parameters. It can be done.
I set up kdm to handle tty7, 8 and 9 just to demonstrate *really fast* user switching. 1 second with one press of a button. Eat that, microsoft :)
//Anders
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- Thanks in advance, Stefan -------------------------------------------------------------- Linux a world without borders, fences, windows and gates..... Titanic98 "Which computer do you want to sink today????"
On Tuesday 22 January 2002 23.18, S. Bulterman wrote:
Hmmm, very interesting. How did you do that????
This keeps gettting better and better.....
Anders Johansson wrote:
<snip> I assume you're talking about this. The other bit, with xdm, kdm and gdm working together requires more work. Possibly chroot(), possibly changes in the source.
I set up kdm to handle tty7, 8 and 9 just to demonstrate *really fast* user switching. 1 second with one press of a button. Eat that, microsoft :)
This is really simple. Edit /etc/X11/xdm/Xservers. Look for the line :0 local /usr/X11R6/bin/X :0 vt07 Immediately after it, add a line :1 local /usr/X11R6/bin/X :1 vt08 save, and do killall -HUP xdm This will startup a new kdm login screen on vty08. Hit ctrl-alt-f7 to get back to your original X. ctrl-alt-f8 is where the new session hides. Surprise, surprise :) :2 local /usr/X11R6/bin/X :2 vt09 Will give you a third possibility to login. With X the sky's the limit :) regards Anders
On Tuesday 22 January 2002 23.18, S. Bulterman wrote: I should add that the SuSE "login concept" fails if you do this, since the machine only has one set of hardware and kdm by default tries to assign it to the user logging in. If you want to do this for more than a cheap thrill you'll have to do something with the "TakeDevices" scripts and its friends in /etc/X11 //Anders
----- Original Message -----
From: "scsijon-net2000"
What do I do to this file if I want (would like to be able to in other words) to have different GUI's available on different logins when it reaches runlevel 5?
ie alt-1 - KDM alt-2 - XDM etc
regards scsijon
Please pardon my ignorance if I'm way off base here, but aren't KDM and XDM both 'X' applications themselves? So in order to run them, an X server has to be already running. I believe that you can run only one X server at a time, so I believe that would make it impossible to have XDM and KDM running simultaneously on different vty's. On the other hand, if XDM and KDM are instead framebuffer applications, it might be possible... After I send this message, I'm going to log out and get back to the KDM display, switch to another vty, log in, run `ps aux` and see if an X server is running... Rick Green
On Tuesday 22 January 2002 15.59, Rick Green wrote:
I believe that you can run only one X server at a time, so I believe that would make it impossible to have XDM and KDM running simultaneously on different vty's.
You believe wrong. login on tty1 startx login on tty2 startx -- :1 login on tty3 startx -- :2 repeat until running out of memory or ttys //Anders
participants (8)
-
Adam Oliver
-
Anders Johansson
-
Ben Rosenberg
-
John Scott
-
Lenz Grimmer
-
Rick Green
-
S. Bulterman
-
scsijon-net2000