Skip to content

How to install a GUI in Amazon Linux 2022?

3

AL 2 supports MATE, or at least makes it possible to install it. Is there a repo AL2022 can connect to for adding extras?

asked 3 years ago2.6K views
4 Answers
12
Accepted Answer

Amazon Linux 2023 now has a desktop as well:

AWS
answered 10 months ago
  • Thank you! I've already switched to ALMA Linux but now I'll have to go back and reconsider AL'23. How did you find out about this btw? The AL blog?

  • I'm part of the team that worked on this release 😉

0

https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#graphical-desktop-support

Graphical desktop support: AL2023 is cloud-centered and optimized for Amazon EC2 usage and currently does not include a graphical or desktop environment. To provide feedback on GitHub, see https://github.com/ .

AWS
answered 2 years ago
-3

Amazon Linux 2022, like Amazon Linux 2023, is primarily designed for headless (non-GUI) server environments, and unfortunately, it doesn't officially support GUI (graphical desktop) environments like GNOME or KDE out of the box.

If you need a GUI, here are your best options:

  1. Use a different AMI: Consider using EC2 instances with Ubuntu, CentOS, or RHEL, which have better GUI support.
  2. Workaround (not recommended for production): You might be able to compile and install a lightweight desktop environment (like XFCE or LXDE), but this can lead to stability and compatibility issues.

Alternative: Use Amazon Linux 2, which has some community-tested guides for minimal GUI setups.

Let me know if you'd like a step-by-step for Ubuntu or Amazon Linux 2 with GUI!

answered 10 months ago
  • This information is outdated. Amazon Linux 2023 now ships a GNOME based GUI, see my comment above.

-4

Exactly the post you are looking for with the details. Read the section specific to the manual/automated way as you deem necessary for your own situation.

Link- https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-2-install-gui/

Hope this helps. if it did, please click on accepted answer on the post.

AWS
SUPPORT ENGINEER
answered 3 years ago
  • I'm afraid that's for Amazon Linux 2, not Amazon Linux 2022 which has no amazon-linux-extras. Thanks.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.