![]() |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
So you were able to get that Mirage Driver installed on your Vista machine? |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
THAT mirage driver installed the display adapter in device manager, but doesn't actually do anything (again, vista 64 = poop). (Plus I dont want to run TightVNC anyway, b/c of it not running correctly as a service on my machine.) -==-==-=-=-= However, I found a mirror/hooks/whatever driver for UltraVNC. Honestly tho, after using it, I don't see a speed difference. I get just the slightest lag (maybe 1 - 1.5 seconds) without it, and I don't see the improvement with it. In any case, the setup I have works nicely for me. My need for it equals that of having a secure remote control. I think playing games over it would just be a new way for me to kill my battery faster. I guess with my system config, I should be gearing this more towards the general population, which is why I'm gonna try workin the stuff you've found into the guide. I'm just having a slow time of it because I quit smoking yesterday and have been finding random, ever-changing ways to distract myself (the gum sure helps). It will get done... at some point, probably soon. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
I just naturally assumed that if you were able to install that driver correctly that you would get similar results that I was seeing on my end with this. And I'm like you as well, I have really no interest in playing any games from my desktop. But you know how it is, you find something new and suddenly you feel this need to give it a few stress tests to see how far you can push the concept. Apparently, with this added driver installed on my Windows machine, it can pretty much handle anything I throw at it now. Sorry, that you didn't get the same experience. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
By lag, I mean the time between it happening on my pc and when it happens over vnc viewer. It's not sluggish or anything. I also have killer upstream speed, so maybe thats why. From what your saying, you're assuming mine doesn't work as well as yours.... does yours show things on the vnc viewer that you haven't done on the pc yet? Cuz, THEN I'd be jealous... :confused: |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
I really wish I could show you before and after pictures in regards to that add on, driver update.
Even better, offering you a video demonstration. Subjectively, I would say that I'm getting twice the speed. If you think about it, having double the performance is huge! Overall though, I would say the experience of logging into my computer after that driver update on my tablet is now about 20 times better. It's a shame you didn't get similar results. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
So how slow was it before?
I have satisfactory / "as-good-as-i-would-expect" speed right out of the gate. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
I'll try to keep this simple.
If you can play Solitaire (not sure if Vista has this as a default game) in real time, like you're actually playing it on your original computer, without any graphic weirdness, then you're getting the same results I'm seeing on my end. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
Now I wish I could get a 32-bit Windows to install on my PC. I wonder what 20x better than good is...... |||EDIT OooooOh, I just tried Skitchin' on my Gens emulator over VNC... awesomeness... unfortunately, I can't seem to get it working with anything but my pc gamepad (attached to my pc, sadly), so I had to use that. Still looked pretty sweet tho. Again, not really wanting to kill battery like that. Just wanted to see if it would work. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
Maybe it's because my Windows machine has a standard Intel display chip with no additional drivers or graphic cards installed. Who knows. Anyway, I've got a couple of questions for ya. I'm having some slight difficulty double clicking folders and files on the tablet. Is there an option I can change on my home computer to make this any easier? In VNC Viewer, where can I delete the history IP addresses? I have a ton of them back when I didn't know what I was doing. :D Lastly, is there any possible way to have VNC Viewer display a specific part of the screen upon start up? For example, like the extreme bottom left. Thanks ahead! |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
As far as the clicking goes, you could probably change the double-click speed setting in windows control panel > mouse (or whatever). What I do, is just get the icon I want highlighted, and hit enter on the n810 kb. As far as the other questions, you should refer to the documentation of whichever VNC software you are using. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Hey qole!
Quote:
|
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
CopSSH sets up cygwin + openssh. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Okay!
Cool! I already have that on my Desktop but haven't fired up the installation for it yet. I was wondering why that was there. :) |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Hey, someone who thought that they were "cooler" than you changed up your instructions.
I just followed what I was being told to do. :) And yeah, I'm not using SSH to gain access to my computer. I figure that there's nothing of interest on my hard drive anyway so no real reason for it to be encrypted or secured. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
CopSSH was actually the easiest part of the whole setup. Super straight-forward installer which does pretty much everything except activating the windoze acct you want to use. |||EDIT Well like I said, when I first got it all setup, I received a random incoming connection to my VNC server ... that was semi-scary. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
OK, I just totally revamped the guide (post #1).
It actually got bigger... 15,000 characters exactly! I *think* I worked in everything I've learned about the subject. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Thanks for the update!
If it weren't for this thread, I never would have had the guts to install all of this junk. :) Hey, got any good suggestions on a poker site that I could use this with? There's so many out there... |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Instead of CopSSH you can install Cygwin. This yields you additional utilities, allowing you to configure your Windows machine more UNIX-like :D
With a full Cygwin environment you can be sure you can update to the latest OpenSSH version. My experience with 3rd party OpenSSH servers is that they are not kept up to date, or are abandoned. Also, you won't get conflicts with different cygwin.dll. You can also use RDP (over SSH) instead of VNC. RDP is pretty efficient. I use NX (over SSH) and can use RDP/VNC from there (VNC for Mac). VNC was made for on LANs. Not Internet. RDP and NX also have other advantages such as Sound, Printer, File Sharing support. And RDP server runs even when you are not logged in (as service). SSHFS is neat, but I don't remember if it supports locking, nor do I remember about its efficiency. If your connection gets b0rked your shell will hang. If you have the bandwidth, which by the sounds of it you do, simply set up a VPN (using e.g. OpenVPN) and call it a night. Everything will work as if you are on LAN. Downside is that there isn't an OpenVPN client for Symbian so I had to set up IPsec as well. [...] You could use SSH, wget the torrent, and have e.g. rTorrent (or uTorrent, Vuze) watch ~/Desktop then there is no GUI required. Requires less bandwidth. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
allnameswereout:
Could you link to the NX or RDP clients for the tablets? That would be very helpful. Another very helpful thing to do would be to start a new thread detailing how, step-by-step, someone could set up a VPN (with Windows) and then connect to it with their tablet. Seriously. Be helpful. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Well, VPN set up is quite a generic term.
OpenVPN should work on Windows Vista or Windows 7 http://snowulf.com/archives/622-Open...indows-7!.html OpenVPN and Vista might have a problem with UAC as described here http://forums.untangle.com/openvpn/5...ate-works.html NX client (Qtnx) howto https://wiki.evolvis.org/nx-mobile/index.php/Main_Page Pyrdesktop howto http://talk.maemo.org/showthread.php?t=22716 Quick overview of differences between technologies http://talk.maemo.org/showthread.php...ghlight=freenx I know CopSSH is Cygwin based. As soon as you start using more 3rd party Cygwin applications you'll run in DLL hell. I know CopSSH is OpenSSH 5.2p, but my experience with previous OpenSSH ports for Windows is that they are abandoned. By using Cygwin you easily are able to keep your Cygwin software centralized and up to date, while allowing other UNIX utilities to be installed. Using wget to grab a torrent while logged in with Terminal is just one example. I don't have a tablet right now, and I wouldn't use VPN on Windows, but the howto I used to set up OpenVPN was https://help.ubuntu.com/community/OpenVPN Also, RDP and NX clients do the resizing auto. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
I've been reading this thread and trying to follow the instructions carefully, but I can't seem to get past step one. When I try to ssh into my computer, I get the response:
/etc/ssh.ssh_config line 50: Unsupported option "GSSAPIAuthentication" /etc/ssh.ssh_config line 51: Unsupported option "GSSAPIDelegateCredentials" ssh: connect to host 192.168.2.20 port 2222: No route to host I have checked with the PFPortChecker that the ports are open(5800 & 5900), and that I edited the CopSSH ssh_config and sshd_config files were edited, uncommenting the port line to "port 2222" to no avail. Any help will be greatly appreciated! |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
You might have configured your WiFi as DMZ, not allowing traffic to/from WiFi to LAN. Also, when you are out and about you will want to SSH to your _external_ IP address. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Thanks for the quick response guys!
I did first go through all the other steps before trying this, and I have also rebooted my system since then a few times. And I've just checked the DMZ settings on the routers settings page, and I followed these instructions (I'm doing this from home, using the same wifi as my laptop): Quote:
Thinking about the last line on allnameswereout's post, I tried to ssh with my external ip address (even though both laptop and n810 are using the same wifi router), and this time it did request my password, but then immediately logged me out. here is the command I used: Quote:
Quote:
|
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
jmc8501, I meant that you probably had DMZ on. Can you check your N810 IP address and your Windows computer IP address are in the same subnet? Probably, your WiFi gets 192.168.2.0/24 and your LAN gets 192.168.1.0/24.
In the second command you pasted, you were able to connect to connect from WAN to your SSH server on external_ip:2222. The fact you are immediately logged out might indicate your login shell is b0rked. Check your SSHd logs. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
My computer's ip is 192.168.2.20, and my tablets is 192.168.2.2 - does that mean they are on the same subnet? (I'm a complete beginner...)
I tried checking the log files on my computer for CopSSH, but they seemed empty (specifically the "sshd-stderr.log" and "sshd-stdout.log" files) - what do you mean by "your login shell is b0rked."? |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
As for your first question: If we assume your netmask is 255.255.255.0, yes. Some routers have option to still not allow traffic between WLAN and LAN.
As for your second question, short story: try adding -N flag to your SSH command and see what happens. And the long story: What I meant with that b0rked statement is that, in that case you posted ssh client log, routing and portforwarding works, you are able to send and receive TCP packets to OpenSSH server port 2222. The SSH protocols match, the authentication succeeds... so you get far further than when it is stuck on no route to host. ..but then it immediately logs out. If it executed your port forwarding it'd stay connected until you quit it (or networking problem), and to kill the tunnel you'd use ^C (Ctrl+C). Instead, you get debug1: Exit status 1 (different than 0; 0 means no error), in this case usually problem is 1) login shell doesn't exist 2) or is set to /bin/false (or something similar). Check the OpenSSH's /etc/passwd and see if it is correct set. The -N flag will not execute the remote command and is recommended in situations like these. @ Jay that reminds me, if you don't want to use OpenSSH to remotely log in to your computer to get a shell but do wish to use only port forwarding (ie. only want to use OpenSSH to run VNC server) you can harden OpenSSH server further. Worth it to discuss or not...? |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
If user only wants to run OpenSSH server on Windows computer to port forward VNC over, other features like allowing a remote shell are unnecessary. So you can instead of /bin/bash give a shell like /bin/true and use -N flag in ssh command. This way, someone who sees you typing your password cannot remotely log in to your Windows computer over SSH. SSH keys might also be interesting. Not sure if SSHFS requires a shell though. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
I have found the "passwd" file on my laptop, but how do I set it correctly, "/bin/true" ? And there is no "openssh" folder or "passwd" folder in the /etc on my N810 (although it does have an "openvpn" folder, a program which I've been trying to delete for some time..http://talk.maemo.org/showthread.php...063#post340063 ) I tried adding the "-N" at the end of the command, but I've gotten a different response this time - it says "connecting to host..." and the "connection timed out" Now, even if I remove the -N command, I get the same response. As a side note, I tried using the bash shell on my laptop that comes with Copssh, and tried to ssh to a work computer, but it told me: $ ssh mauricio@[known ip-address] ssh: connect to host [known ip-address] port 2222: Connection timed out This "[known ip-address]" is one that I connect to regularly using PuTTY (which I also have installed on my laptop) and it gives me no problems. I'm not sure if this is relevant, of course. Thanks! PS: I found a "last log" text file and a "wtmp" text file. The former was mostly blank, except for a few *random* characters and my IP address, and the second had many more random characters along with my username and my IP addresss floating around. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
ssh mauricio@[known ip-address] -p 22 That will set the SSH port to the standard 22 rather than the non-standard 2222. That's probably what's going wrong there. |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Thanks qole, that does allow me to ssh our from my laptop successfully! Could this be related to my inability to ssh into my laptop from my N180?
|
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
For some reason your ssh client picks default port 2222 this is defined in either ~/.ssh/config or /etc/ssh/ssh_config |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
I'm not sure I understand tunnelling very well but do I NEED to forward port 5900? The reason I ask is that I want to VNC to a machine where I'm not the admin of the firewall it's behind.
This firewall only lets me connect to the machine through one port, say port 1234, I can ssh to this machine through this port but how can I also use VNC? Is it possible? |
Re: Using VNC Viewer Over an SSH Tunnel [Step-By-Step]
Quote:
|
All times are GMT. The time now is 14:54. |
vBulletin® Version 3.8.8