LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Start new display with XDM (http://www.linuxquestions.org/questions/linux-general-1/start-new-display-with-xdm-546941/)

Wynd 04-17-2007 11:42 PM

Start new display with XDM
 
I am logged in on display :0 with XDM. Is there a way I can start a new display :1 with XDM running, to allow someone else to log in without me having to log out? I know KDM can do this with the kdmctl command but I don't want to use a DE-specific login manager.

unreal128 04-19-2007 12:06 PM

In KDE, it allows you to lock your session and switch to another user (KDE menu button) from the GDM/KDM/XDM login. Is this what you are looking for?

Wynd 04-19-2007 03:49 PM

Yup, that's it. I would like to be able to do that with XDM.

Wynd 04-22-2007 01:02 PM

Does anyone know if that's possible?

unreal128 04-23-2007 01:54 PM

I think there is some confusion. I thought I had answered your question in my initial response. What I am basically saying is that you can go to the "switch user" option in the KDE menu button and start another session as the XDM prompt.

Wynd 04-24-2007 07:21 PM

You might have misunderstood me as well. In KDE, you need to have KDM (not XDM) running to even get that option. If you do have it running and click it, it will give you another display with KDM as the login manager. I would like to do this, but without any KDE components (say, with XDM and Fluxbox or something).

unreal128 04-26-2007 12:29 PM

I think you could just lock your session and then alt+F? to the XDM login screen. If X starts on the same session as XDM, I think there is a way to spawn XDM separately so you can alt+F? to it. Although, I am at a loss as to how to do that. Sorry. :(

Wynd 04-26-2007 09:26 PM

No, there is no way to do that that I know of, which is the point of me asking. If I alt+F? to the next terminal, there is nothing there -- no console login, nothing.

unreal128 04-28-2007 07:15 PM

I wasn't aware that you were not able to get a console login either. If a console isn't popping up on any of the sessions (ctrl(+)alt+F1/2/3/4/5/6) then you will need to check your /etc/inittab file. It should at least have entries like...
Code:

c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

What distribution are you running? Slackware shouldn't have this problem, at least that I know off.

Wynd 04-30-2007 02:38 PM

Sorry, I meant "next" as in "all the ones after vt7." I have the CLI terminals, but I am trying to start another XDM to log someone else in.

unreal128 04-30-2007 09:10 PM

If you are refering to getting XDM to start on a display other than session seven, then it would be very hard. Once you login, XDM hands over the windowing to xinit and your window manager. Although if you want XDM to start up for another actual display or network login, then XDM does provide for that. The manual pages tell you how to add it to your XDM config files.

http://www.xfree86.org/current/xdm.1.html#sect20


All times are GMT -5. The time now is 10:12 PM.