Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Connecting to Ubuntu EC2 host via VNC
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vladimir  
View profile  
 More options Aug 27 2010, 11:05 am
From: Vladimir <vlad.perso...@gmail.com>
Date: Fri, 27 Aug 2010 08:05:00 -0700 (PDT)
Subject: Connecting to Ubuntu EC2 host via VNC
Hi!

I am new in all things Linux, so please forgive me if my questions
look trivial. However, I have experience running EC2 Windows
instances. I decided to switch to Ubuntu EBS ( ami-714ba518 ) but I
would like to have GUI to operate it.
I have found an old post by Eric Hammond (
http://groups.google.com/group/ec2ubuntu/browse_thread/thread/507f737...
) and follow it step-by-step, but stuck on this one: starting the
vncserver: sudo vncserver:1 . I know it is installed, but the command
doesn't get recognized.

Another issue: if I use PUTTY from my Windows desktop, how to setup
"tunneling"?
the command " ssh -L9000:localhost:5901 -i IDENTITY root@HOST " is for
a command-line tool, but how to do it with PUTTY ?

Any help will be appreciated.

Thanks,

Vladimir


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Kaminski  
View profile  
 More options Aug 27 2010, 11:31 am
From: Peter Kaminski <kamin...@istori.com>
Date: Fri, 27 Aug 2010 08:31:26 -0700
Local: Fri, Aug 27 2010 11:31 am
Subject: Re: [ec2ubuntu] Connecting to Ubuntu EC2 host via VNC
As I remember, Eric ended up recommending NX/FreeNX over VNC. But it's
worth trying both.

The vncserver line probably just needs a space before the ":1", as it's
a command line argument:

sudo vncserver :1

For the PuTTY tunnel, in the PuTTY Configuration window, go to the
Connection->SSH->Tunnels panel.

 From the -L string, the first port number goes to "Source port", and
the host and second port number goes to "Destination".  So enter 9000
for "Source port" and "localhost:5901" in "Destination".  Select the
"Local" radio button if it's not already selected, and make sure to
click the "Add" button and confirm that the tunnel is now listed in the
"Forwarded ports" box.

The IDENTITY file named after the -i switch needs to be converted to PPK
format using PuTTYgen.  Then you can specify the filename for PuTTY in
the Connection->SSH->Auth panel.  I think PuTTY might also automatically
ask you where the file is if you don't specify it there -- either way
would work.

Pete

On 8/27/2010 8:05 AM, Vladimir wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chad Woolley  
View profile  
 More options Aug 27 2010, 12:57 pm
From: Chad Woolley <thewoolley...@gmail.com>
Date: Fri, 27 Aug 2010 09:57:01 -0700
Local: Fri, Aug 27 2010 12:57 pm
Subject: Re: [ec2ubuntu] Connecting to Ubuntu EC2 host via VNC

On Fri, Aug 27, 2010 at 8:05 AM, Vladimir <vlad.perso...@gmail.com> wrote:
> Hi!

> I am new in all things Linux, so please forgive me if my questions
> look trivial. However, I have experience running EC2 Windows
> instances. I decided to switch to Ubuntu EBS ( ami-714ba518 ) but I
> would like to have GUI to operate it.

I'd strongly recommend becoming minimally proficient with the command
line instead of trying to manage from a GUI.  Keep notes on everything
you learn, and you'll get up to speed quickly.

The ##bash channel on IRC and associated wiki are useful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Sikar  
View profile  
 More options Aug 28 2010, 2:13 pm
From: Daniel Sikar <dsi...@gmail.com>
Date: Sat, 28 Aug 2010 11:13:08 -0700 (PDT)
Local: Sat, Aug 28 2010 2:13 pm
Subject: Re: Connecting to Ubuntu EC2 host via VNC
Hi Vladimir

This is the recipe I use:

1. Run and access Ubuntu EC2 instance.

2. Change user:

$ sudo su

3. Update apps:

$ apt-get update

4. Install x-window

$ apt-get install x-window-system-core xserver-xorg gnome-desktop-
environment

5. Install tight vnc server

$ apt-get install tightvncserver

6. run vncserver, entering access password when required

$ vncserver

7. Access the running instance through VNC viewer on Windows or Remote
Desktop Viewer on Linux
using Public DNS on port 1 e.g. ec2-79-125-80-150.eu-
west-1.compute.amazonaws.com:1

Good luck and best regards

Daniel

On Aug 27, 5:57 pm, Chad Woolley <thewoolley...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »