![]() |
wiki: logging into a linux pc using VNC and SSH
I just posted a first draft how-to on the wiki explaining a way to connect to a pc running (Ubuntu) linux from a Internet Tablet using TightVNC and SSH. It is meant for people with basic knowledge of the commandline. Feel free to add any improvements.
|
Re: wiki: logging into a linux pc using VNC and SSH
Here's how I do just the opposite (logging into n800 from Ubuntu via VNC tunnelled through ssh):
Needed: - x11vnc installed on n800 - vnc password file, placed in /home/user/.vnc/passwd, created on Ubuntu using vncpasswd and copied to n800 Code:
ssh -t -n -L 5903:localhost:5900 n800 'x11vnc -localhost -rfbauth .vnc/passwd -display :0' & |
Re: wiki: logging into a linux pc using VNC and SSH
Hi,
EDIT this post is obsolete, all problems solved and solution posted in the wiki: http://www.internettablettalk.com/wi...ng_VNC_and_SSH I use VNC over ssh with my N810 connecting to a computer running Ubuntu 7.10 with its standard VNC server. On the ubuntu computer I first installed openssh-server (which then runs as a service at every reboot). On my tablet (OS2008, chinook) I installed the openssh-client from https://garage.maemo.org/projects/openssh/ Using X Terminal on my N810 I connect via Code:
ssh -X -l username-at-remote-computer ip-address-or-dyndns-of-remote-computer Code:
vncviewer localhost Code:
vncviewer localhost -fullscreen But:
But apart from these "minor-problems" I'm still glad to have VNC on my N810 at all. :D Cheers Franko30 |
Re: wiki: logging into a linux pc using VNC and SSH
Quote:
Hi, sorry I have to quote myself - but I forgot s.th. in the previous post: When starting VNCviewer from the application launcher for connections within my local network, everything works as stated in its release notes ("+" and "-" buttons for right and middle mouseclick). So the question is: How can I use my ssl-connection invoked via X Terminal with VNCviewer started via the application launcher? Thanks in advance Franko30 |
Re: wiki: logging into a linux pc using VNC and SSH
Quote:
|
VNC and SSH with x11vnc
Hi again,
Today I tried several possibilities to use VNC via ssh but none of those already described here (and in the wiki) works for me. Using trial and error, I found out the following:
Howto use x11vnc with an N810 running OS2008 (example: Ubuntu 7.10 machine as host, Nokia tablet as client):
Important notice! When using SSH, only the actual SSH tunnel is secure. Remember that you have to open a port on the firewall of your local Ubuntu machine (or its Internet gateway). Therefore thousands of script kiddies can try to gain root access via SSH on your Ubuntu machine the moment you open the ports on your firewall. To prevent this, you need to block SSH Brute Force Attacks and disable SSH root access. This is explained on the following web pages: Using-pam-to-block-brute-force-attacks Protecting Linux against automated attackers Keeping SSH access secure the most important thing is: "PermitRootLogin no" in the /etc/ssh/sshd_config file I'm going to put the x11vnc stuff and the articles about securing ssh in two Wiki articles - but not tonight, it's getting kind of late... Cheers Franko30 |
Re: wiki: logging into a linux pc using VNC and SSH
Hi Frank. One of the reasons I prefer tightvnc over x11vnc is that with tightvnc you can set the screen dimensions with the -geometry argument to match the n800. With x11vnc you are forced to use the screen dimensions of the existing session and end up ith scrollbars around the screen, and slowness because of the extra screen information being sent. Do you know if the geometry can be set somehow?
|
Re: wiki: logging into a linux pc using VNC and SSH
Quote:
Maybe there's another option in the man pages I didn't recognize as being "geometry relevant". A question to you: What do you use tightvnc for, when all it does is create a new virtual desktop for the remote connection. Is there any possibility at all to gain access to the desktop of the user currently logged in (and therefore control already opened applications like video recording software and such)? Cheers Franko30 |
Re: wiki: logging into a linux pc using VNC and SSH
Quote:
Quote:
|
Re: wiki: logging into a linux pc using VNC and SSH
Quote:
Sorry, not possible: It's a video-recorder software written in Java that I have to access. I have to use its GUI :( So, I'll stick with my x11vnc setup. Thanks anyway. Franko30 |
All times are GMT. The time now is 00:57. |
vBulletin® Version 3.8.8