Re: Trouble working with SSH
Posted: 3. Jul 2011, 21:40
I am starting feel like an idiot here.
1) open terminal on client and run:
Now I try either:
2a) open second terminal on client and run:
which yields:
Or:
2b) open second terminal on client and run:
then run:
which yields:

1) open terminal on client and run:
Code: Select all
Original-Art-iMac:~ gallerydir$ ssh -p 6666 -C -L 5901:localhost:5901 dennis@111.222.333.444 'sudo x11vnc -rfbauth ~/.vnc/passwd -auth /var/state/gdm/:0.Xauth -display :0'
2a) open second terminal on client and run:
Code: Select all
Original-Art-iMac:~ gallerydir$ vncviewer -compresslevel 9 local host
Code: Select all
-bash: vncviewer: command not found
2b) open second terminal on client and run:
Code: Select all
ssh -p 6666 dennis@111.222.333.444
Code: Select all
dennis@darkstar:~$ vncviewer -compresslevel 9 localhost
Code: Select all
Error: Can't open display:





