[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian X startup



Matt Johnson said:
> 3. Now I want to hack the X startup scripts to
> *automatically* go to one machine's log in screen
> (I'll call that machine the "application server"). I
> know the line I need to add will be X -query
> 192.168.0.10 (where that is the IP of the "application
> server"), but I don't know how best to do this. Do I
> change the default runlevel to 3, then add this line
> to a script?

I'm not certain what you're trying to do. I assume you're using the XDMCP
chooser and want to have it to now skip the chooser and just have the X
server connect to some specific machine?

> Do I leave the runlevel at 5, but change
> an X startup script?

Debian runs doesn't use runlevels 3 4 or 5 by default (0 is halt and 6 is
reboot I think). You could use these runlevels to provide the alternate
behavior you seek by altering the /etc/init.d/x* script to run the command
necessary (once you determine what that command is).

> And crucially, whatever the
> solution, when the user logs out from a "terminal",
> that "terminal" must then present the next user with a
> login screen to the "application server", not return
> to a command prompt or gdm of the terminal. I don't

If gdm is running you should not have a command prompt. Did you change the
default runlevel? Otherwise what does "gdm of the terminal" mean. Sounds
like the login screen to me.

> want anyone to "choose" - just be straight onto the
> gdm of the application server.

I think I understand what you mean. I do that everyday with Exceed on
WinNT but I don't know what the options are. I suspect your original
thought is correct. Start an X server and specify the options necessary to
do XDMCP query to host xyz.

Mike



Reply to: