Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-06-2011, 01:36 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Exclamation Amazon AMI Linux


This is my first post so I hope I get the question out as completely as possible.

I Have an Amazon Ec2 Linux instance on which i am trying to get X11 forwarding enabled.
I have already set AllowTcpForwarding yes & X11Forwarding yes, X11DisplayOffset 10, X11UseLocalhost yes in /etc/ssh/sshd_config

I then used export DISPLAY=localhost:0.0 & also ticked the box in PuTTY where it says enable X11 Forwarding
I am still unable to connect. I am not even sure if all packages required are installed. is there anyone who has done this before who can give me a checklist of some kind or if there is a Step by Step guide that I can follow? I tried looking on the aws website but they dont seem to have any document that I can use to enable X11 (even VNC will do if thats easier to set up) I did try yum install tightvnc but it just said no such package.

My ultimate goal is to be able to install Oracle on this instance but I need to use the GUI interface to go thru the steps.

Thanks in advance
Old 06-06-2011, 09:17 AM   #2
Registered: Jun 2009
Location: Maryland
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 41

Rep: Reputation: 3
Since you say you're using PuTTY on your local machine I'm assuming it's running Windows. If that's the case then you probably don't have X installed on it. There are a few different X servers that you can use but personally I've only used the one that comes bundled with Cygwin. So, install that and start the X server (it should make sense once you install and see it) then try to connect again. Let us know how it goes.
Old 06-06-2011, 05:08 PM   #3
LQ Newbie
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up Thank you

Thanks flakblas, I am now able to use X11 forwarding. I used a tool called Xmanager & in Putty when I checked the enable X11 Forwarding, I did not fill anything in the box below it (i.e. I removed the localhost:0.0 that I had in there.
I just tested with xclock & it runs fine.
Next step... Oracle installation. Thanks so much once again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Create A LAMP Setup (Apache2, PHP, MySQL) On CentOS 5.x In An Amazon Linux AMI 32bits O LXer Syndicated Linux News 0 02-07-2011 10:11 AM
How to built an amazon ec2 slackware AMI from scratch fietske Slackware 0 01-18-2010 05:55 PM
ami graphic workshop professional for linux? ungua Linux - Software 2 02-02-2005 09:11 AM
Ami aetolus Linux - Newbie 0 03-31-2004 05:02 AM
Ami zeratul3 Linux - Newbie 0 09-24-2003 11:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration