Amazon Linux AMI: No X Windows option?

Hey all, quick question: is it at all possible to install Gnome + VNC on a Amazon Linux AMI instance? All research points to “NO”, and I can’t find a workaround for this.

A little bit shocked by that, may have to consider switching from Amazon Linux to Centos instead…

EDIT: a lot of comments are based around “a real server shouldn’t have X Windows on it”. Look, server philosophy aside, this was requested by a client. I’m just looking to provide a solution, not debate an issue.


Related discussions:

The Amazon Linux AMI is intended as a very light weight and secure platform. X Windows would detract from both aims.

Does this not work? yum groupinstall “GNOME Desktop”

Nothing wrong with using CentOS though. or just use ssh -X in a pinch(if your desktop runs Linux).

Yeah, why exactly would you want a graphical environment for a server?

This. I know some people think they need it, but most of the cases are for ease of use or not understanding the power of the CLI

If you really want install Ubuntu. A real server is not meant to have X window.

Most likely it is fear of CLI though.

Amazon AMI is roughly based on Centos so you can try SSH’ing into a Centos box and checking out what source repos its connected to.

Switch to CentOS if this is an absolute requirement. I use CentOS builds for a lot of my lab work, and have nothing but good things to say about it.

If at all possible, I’d try to move the client towards using a remote X server.

As a side note, I don’t see the X groups on my Amazon Linux instance, but I do see the server listed as individual packages.

As far as I know, Amazon Linux does not target compatibility with centos. This seems like a good way to end up in dependency hell.

And there are other flavors of linux that can provide it. Their linux has certain goals they stick with.

I would agree with you except that after being on Amazon AMI for years (running about 20 instances in production) I have pretty much just treated Amazon AMI like CentOS without problems. Test everything in non-production first, though.

Try installing Oracle sqlldr without the GUI when you don’t already have a response file.

A while ago, I tried to install open source puppet on Amazon Linux using the Puppet Labs Yumrepo. The process failed horribly. I was able to install from gem no problem.

My experience so far is that Amazon Linux works like CentOS/RHEL, and performs well in the Amazon environment. But I wouldn’t trust it to have the same libraries as any of the official CentOS distributions. That alone can cause problems when trying to install RPMs targeting CentOS/RHEL.

Thanks for the feedback!

The Amazon Linux Ami wasn’t designed to support X Windows. In order
to achieve this use Ununtu or perhaps Redhat. You won’t find much of a console access
available in EC2 so you’ll have to run a VNC server or something similar.