I'm trying to install XFree86 and it asks to turn off the display, but I don't know how to do that.
What command do I do this with?
I'm using the latest version of Ubuntu (22.04).
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
In Ubuntu 22.04, the login/password screen is NOT run by the display server (X or Wayland) -- it's run by the display manager (gdm or lightdm).
When you see that login/password screen, the display server is not running nor even loaded.
Upon a succesful login, the display manager launches the display server and triggers the loading of the entire desktop.
That's one reason why loading your desktop takes a moment. Your whole desktop stack is loading.
Upon logout, the display server is stopped. That's why you return to the login/password screen (the display manager).