gdm as a background daemon
I have a startup script on my server which shows a menu and asks what the user wants, which could be anything from a console to an x session. I want to enable XDMCP though to enable network clients to connect, but this will only currently work while the server itself has started the gdm graphical session.
What I want to know is, Is it possible to run gdm as a background daemon in a startup script, so the server can be in console mode, or it can log in using XDMCP to itself. That will also allow the network clients to log in to XDMCP and create a unified interface.