Hi there. As the title, I was wondering if there is any way to start GDM but without start the X server.
I’m using GNOME in a lxc container, which of course don’t have a VT by default. But I have started a X Server session on the host system, which is /tmp/.X11-unix/X1 and it’s completely for the container. I have mounted this file to the rootfs then lxc started. I now can start gnome-session using these command:
DISPLAY=:1 gnome-session
# and in archlinux, I can only open the desktop using this command
DISPLAY=:1 gnome-shell
But it’s better if I can start GDM to do the login process instead of using the console that lxc provide.
I have acknowledged that when GDM starts, it start a X server using /usr/bin/Xorg command, but even if I have changed it to a blank file, it just didn’t changed anything. I was wondering if there is a X server implement that does nothing, and I can link this to the Xorg so GDM will do nothing when start the X server and doesn’t produce any error (as I have already have the X1 socket). But I can’t find anything about that.
So I have posted a topic here to see if I can find some help here, or it just can’t be done. Thank you very much!