Need to help out a damsel in distress (username “damsel”) sitting on a remote debian/ubuntu box (“remotehost”)? Have you set up ssh on a non-standard port (port 12345) already? Great. Keep reading.
Step 1: Install x11vnc on the remote machine:
ssh remotehost sudo apt-get install x11vnc
Step 2: Spin up x11vnc on the remote host:
ssh remotehost sudo -u damsel x11vnc -noxdamage -speeds dsl -solid -display :0 -passwd SECRET
Keep this ssh running. -speeds dsl -solid makes vnc more responsive.
Step 3: Forward the remotehost’s vnc port, 5900, to your local host using ssh:
ssh -p 12345 -L 5900:127.0.0.1:5900 remotehost
Step 4: Start up your VNC viewer application, pointing to localhost.
Tightvnc is a great vncviewer and is installable through macports:
sudo port install tightvnc
Then run:
vncviewer localhost
Related posts:
- Accessing git over ssh on a non-standard port
Simple ssh access to a git repo can be sufficient for a small dev team–but what if you’re using a non-standard ssh port? The solution–do as Linus says. Use ~/.ssh/config....... - How to set up native subversion (javahl) with Subclipse on Mac OS X
Note that this is for Ganymede (Eclipse 3.4.x). Install the javahl binding with MacPorts: sudo port install subversion +bash_completion sudo port install subversion-javahlbindings Run eclipse, and add this upgrade site:...... - Automatic panoramas with hugin and autopano
I’ve only been using hugin for an hour now, and I’m really impressed. The mac binary doesn’t include the ability to automatically determine how images overlap, but it’s pretty easy......