My pasteblog

This is not my Zettelkasten but a durable .bash_history

Subscribe to RSS feed

Posts tagged with "ssh"

Remote X

,

How to access graphical user interfaces on a remote Linux machine
-----------------------------------------------------------------

Two computers involved:
- Windows notebook
- Linux server in datacenter
On the remote server in the datacenter I do NOT have X installed.

root@remote:~# grep X11 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

root@remote:~# echo DISPLAY

(empty output)

Login as standard user, try echo $DISPLAY again. Will be empty. As per "X11DisplayOffset" above, do
user@remote:~$ export DISPLAY="localhost:10.0"

On the Windows machine with Cygwin installed, do
ssh -XC -v user@remote

Then run a X-based graphical program, for testing I found x-www-browser. It will show up on the local Windows machine.

ssh open confirm rwindow

,

This is a wifi driver problem with wl. ndiswrapper might help, too -- but I have not tried.

The solution from this bug report (https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/259816/) works for me :
Open a console and type : "sudo iwpriv eth1 set_vlanmode 0"



https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/237894/comments/23

SSH tunnel irc email

,

ssh -a -f -x -L 110:localhost:110 -L 6667:irc.server.com:6667 -L \
25:localhost:25 your_mail_server.com

ssh -L 3306:localhost:3306 databaseServer
February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29