DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 6 of 6

Thread: ConnectBot, AndroidVNC and SSH with public keys.

  1. Droid Newbie
    SeniorMoment's Avatar
    Member #
    118245
    Join Date
    Sep 2010
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #1

    ConnectBot, AndroidVNC and SSH with public keys.

    I've seen lots of success posts describing how to VNC using ConnectBot and AndroidVNC and SSH with password authentication but none using public keys.

    I have an Ubuntu server which I logon remotely from an Ubuntu laptop using a public key SSH pipe. I start up x11vnc from the terminal session (I don't want to run the vnc server as a deamon for security reasons) forwarding the ports and firing up remmina as my vnc client. All works well.

    What I want to do is achieve this on my HTC Desire.

    My process so far :

    I connect to my remote server through a ConnectBot session using public keys.

    I use the 'Port Forwards' dialogue within ConnectBot as follows:

    Nickname: vnc
    Type: Local
    Source Port: 5900
    Destination: 192.168.1.99:5900 (note: this example is framed within my home network)

    I then fire up my x11vnc server using the following command in the ConnectBot terminal:

    'x11vnc -safer -localhost -nopw -once -noxfixes -auth ~/x11auth -display :0'

    x11vnc starts as normal, with no errors.

    I then hit the home key to switch out of ConnectBot (it is still running in background because it sits in my notification tray) and the run AndroidVNC.

    I try to connect using the following settings:

    The Password box is empty and I don't check the Keep box.
    Address: 127.0.0.1
    Port: 5900
    Colour Format: 64 colours
    Local Mouse Pointer: unchecked
    Force full-screen bitmap: unchecked
    Repeater: No repeater

    After hitting the Connect button I get an Error box pop-up shows “VNC Connection failed!”

    Has anyone managed to get this working ?

    Please advise....
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. BumForALiving's Avatar
    Member #
    49405
    Join Date
    Mar 2010
    Posts
    30
    Phone
    Motorola Droid
    #2
    I use ConnectBot with a public key and Remote VNC. Works well with my dd-wrt router and 3 windows desktops. Tried it just now with AndroidVNC and it worked however the message "Downloading first frame" sits there for a minute or so. Eventually it shows up. If I connect internally via WiFi first frame shows up almost instant.

    From what I see, my settings are as you have them. The only thing I can think of is are you port forwarding 5900 on your home network?
  4. possessedskier's Avatar
    Member #
    15455
    Join Date
    Dec 2009
    Location
    New York State, USA
    Posts
    75
    Phone
    Motorola Droid
    #3
    I remote control my Ubuntu Linux PC from my Droid 1. My settings are the same except the ConnectBot Source Port is 5901 (leave the destination at 5900) and the VNC Port is 5901. I don't port forward either of the VNC ports 5900 or 5901 from my router. You already should be port forwarding the SSH port.

    I did my setup per the instructions on this site: Everything and Nothing: How to VNC from an Android phone to a Linux Computer Securely with an encrypted ssh tunnel.
    Last edited by possessedskier; 09-15-2010 at 09:26 AM.
  5. Droid Newbie
    SeniorMoment's Avatar
    Member #
    118245
    Join Date
    Sep 2010
    Posts
    2
    Phone
    Enter Current Phone Model Here
    #4
    Thanks possessedskier and BumForALiving. Tried both your suggestions but to no avail.

    I'm beginning to wonder if the problem is in my x11vnc command:

    'x11vnc -safer -localhost -nopw -once -noxfixes -auth ~/x11auth -display :0'

    Particularly the display switch ?

    Does this look right to you ? Do you both use x11vnc from the ConnectBot session ?

    Regards,
    colin
  6. BumForALiving's Avatar
    Member #
    49405
    Join Date
    Mar 2010
    Posts
    30
    Phone
    Motorola Droid
    #5
    Sorry, can't help you there. My machines are all windows running RealVNC.

    Another thing to try is the free Remote VNC to see if it's an issue in AndroidVNC.
  7. possessedskier's Avatar
    Member #
    15455
    Join Date
    Dec 2009
    Location
    New York State, USA
    Posts
    75
    Phone
    Motorola Droid
    #6
    I use the Gnome Remote Desktop that installs with Ubuntu Linux. I made no changes to the default settings.

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Exchange Public Folders
    By goodnluck2000 in forum Android General Discussions
    Replies: 8
    Last Post: 10-08-2012, 09:56 AM
  2. using connectbot ssh client - looking for keyboard help
    By tkineagan in forum Motorola Droid
    Replies: 0
    Last Post: 01-14-2010, 12:04 PM
  3. ConnectBot and freeSSHD not working.
    By MrBaz in forum Android Applications
    Replies: 1
    Last Post: 12-22-2009, 09:12 AM
  4. Public apology to Mrpush
    By techguru in forum Off Topic Forum
    Replies: 3
    Last Post: 12-03-2009, 07:40 AM
  5. Have you been seeing any Droids out & about in public?
    By XciteMe83 in forum Android General Discussions
    Replies: 28
    Last Post: 11-14-2009, 03:18 PM

Search tags for this page

android connectbot vnc port forward
,

android vnc over ssh

,

android vnc ssh

,
android vnc ssh tunnel
,
androidvnc ssh
,
connectbot dd-wrt
,

connectbot port forward

,

connectbot port forward vnc

,
connectbot port forwarding
,
connectbot setting
,
connectbot ssh dd wrt
,

connectbot tutorial

,
ssh vnc android
,
sshdroid public key
,
vnc over ssh android
Click on a term to search our site for related topics.
Find us on Google+