0

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).

3
  • What DE - desktop environment - are you running? What do you mean by "stop X session"? Aug 5 at 2:11
  • Installing lightdm is the wrong way to control whether or not your display server (either X or Wayland) is running. ALL display managers already do that. That's what they do. This seems like an XY Question: Instead of asking about how to control the X server, you should ask about whatever problem has led you to believe that such control is a desirable solution.
    – user535733
    Aug 5 at 2:18
  • 1
    Does this answer your question? How do I logout in Ubuntu 17.10 with wayland?
    – user535733
    Aug 5 at 2:47

1 Answer 1

0

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).

14
  • And how do I logout? Sorry for my lack of knowledge, I'm new to Linux. Aug 5 at 2:25
  • How to logout of Gnome: askubuntu.com/questions/1006471
    – user535733
    Aug 5 at 2:40
  • How to logout of Gnome using a terminal instead of your mouse: askubuntu.com/questions/180628
    – user535733
    Aug 5 at 2:40
  • 1
    That's a very ambitious goal for somebody who is "new to Linux," mostly because that project has not released in 13 years; it pre-dates many Ubuntu system components and is unlikely to work for you without hours of expert help. What is the issue you are encountering that leads you to believe that XFree86 is the best solution?
    – user535733
    Aug 5 at 16:42
  • 1
    qjoypad is in the standard repositories. I doubt it requires XFree86.
    – ubfan1
    Aug 5 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.