Re: Tunnel X over ssh
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 14:45:16 -0400
On 2007-10-30, Joe Hesse <joe_hesse@xxxxxxxxx> wrote:
Hi,Leave out the "-v" and redirect standard error to /dev/null or to a log file.
I am trying to "Tunnel X over ssh." It works but it appears there are some
problems. Here is what I have.
I have a local machine which will run the X server. This machine runs
Ubuntu 7.10 and I log in without a display manager so I get a text login
prompt.
I have a remote machine with an ssh server installed. "X11Forwarding yes"
is in sshd_config. I have an xauth program on the remote machine. The
remote machine runs Fedora 7 and has an IP of 198.168.0.25..
Actually the local and remote machine are on the same local network with
private IP addresses. No router separates the two machines.
Here is what I do:
1. On the local machine I run $ xinit to get an xterm window.
2. In the xterm window on the local machine I type "$ ssh -l joe -X -v
192.168.0.25". At this point 15+ messages flash by, all beginning with
"debug1: ..." Some of the debug messages have the text "Unspecified GSS
failure" and "No credentials cache found".
3. After the messages stop, I get a password prompt from the remote
machine. I enter my password and it appears I have a successful ssh
connection from my local machine to the remote machine.
4. In the xterm window I now type "$ gnome-session &". This produces lots
more messages, again all beginning with "debug1: ..."
5. In spite of all the "error" messages, I now have GNOME running on the
remote machine and displaying on my local machine. Once in a while when I
try this I get a popup window on the local machine which says "ESC is
already running, but is not responding ...".
My questions is: Is there a way to make this cleaner without all the error
messages? Is this the best way to do this? At the moment I want to get
this working cleanly and security is not a problem.
gnome-session 2>/dev/null &
.
- References:
- Tunnel X over ssh
- From: Joe Hesse
- Tunnel X over ssh
- Prev by Date: Tunnel X over ssh
- Next by Date: Re: Troubleshooting connection loss (novice question)
- Previous by thread: Tunnel X over ssh
- Next by thread: iptables problem with port translation
- Index(es):
Relevant Pages
|
|