Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: domh on July 26, 2007, 05:55:53 AM

Title: X11 Forwarding refused
Post by: domh on July 26, 2007, 05:55:53 AM
Hi there,

Up until 7.2 I have been successfully able to open X11 forwarding via /etc/SSH or through the regular expand-template command.  I have tried all of my usual tricks to get this to work and alas cannot.

Can someone please tell me how to get X11 forwarding working on 7.2.  I am using Arkeia with X-win32 and X11 forwarding switched on in Putty.
Title: Re: X11 Forwarding refused
Post by: Marco Hess on August 23, 2007, 01:39:12 AM
Can someone please tell me how to get X11 forwarding working on 7.2.  I am using Arkeia with X-win32 and X11 forwarding switched on in Putty.

I did this just the other day. I installed two custom template fragments and found I had to install the xauth package. I confirmed the following commands to work on a test 7.2 SME machine as root:

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/
cd       /etc/e-smith/templates-custom/etc/ssh/sshd_config/

echo X11Forwarding yes    > 50X11Forwarding
echo X11UseLocalhost yes  > 50X11UseLocalhost

expand-template /etc/ssh/sshd_config

yum install xauth

signal-event post-upgrade; signal-event reboot

Then when you enable X11 forwarding in Putty, set host to localhost:0.

I also put this little howto in the Wiki at http://wiki.contribs.org/X11_Forwarding_on_SME

Enjoy!

Marco
Title: Re: X11 Forwarding refused
Post by: cactus on August 23, 2007, 07:40:16 AM
I also put this little howto in the Wiki at http://wiki.contribs.org/X11_Forwarding_on_SME
Did you receive any error messages or did you do something special with the page as I am able to view it, but it does not turn up in the revision history, neither there is a message that the page is created, nor can I edit the page? When I want to view the page after opening the edit tab, using the Article tab I get an edit box meaning the page does not exist?

Reported as bug 3327 (http://bugs.contribs.org/show_bug.cgi?id=3327).
Title: Re: X11 Forwarding refused
Post by: cactus on August 23, 2007, 08:24:57 AM
I also put this little howto in the Wiki at http://wiki.contribs.org/X11_Forwarding_on_SME
Due to database errors the content of your page has been lost, would you be so kind to recreate it?

TIA