Evilguru Guru
Joined: 16 Aug 2005 Posts: 390 Location: England
|
Posted: Thu May 04, 2006 4:27 pm Post subject: X11 Forwarding over SSH |
|
|
For a while now I have been using ssh forwarding to allow me to tunnel X to another computer. However, I have not used it in the last few weeks, and when I tried it today I did a:
Code: |
freddie@macserv:~$ ssh -YC freddie@192.168.0.2
Password:
Last login: Thu May 4 17:18:11 2006 from 192.168.0.5
freddie@genware ~ $ gimp
GIMP could not initialize the graphical user interface.
Make sure a proper setup for your display environment exists.
|
But I have not changed a thing in any of my config files so am not sure why this is happening. Here is my ssh config file (/etc/ssh/ssh_config):
Code: |
# $OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
# Host *
# ForwardAgent no
ForwardX11 yes
X11Forwarding yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
Tunnel yes
# TunnelDevice any:any
# PermitLocalCommand no
|
I have no idea why this is happening and have tried restarting sshd as well, with no luck.
Can anyone help me? |
|