Re: can't start X11 consolehelper apps on remote SSH server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adam Monsen wrote:
On 4/22/07, *Rex Dieter* <rdieter@xxxxxxxxxxxx <mailto:rdieter@xxxxxxxxxxxx>> wrote:
[...]

    Try
    ssh -Y box_b
    instead.  Does that help?

[...]

Nope, same error.

--
Adam Monsen
Running suid (set user id) programs from sudo only changes the the effective uid and not the real uid. These suid programs can see that and often refuse to be fooled.

Therefore, they try to connect as root, not you. The ssh tunnel will refuse a connection from root unless allowed.

In /etc/ssh are TWO config files. One for the sshd server, and the other one governs all outbound ssh tunnels. This is the one that changed the defaults in the last few years and confused all of us old dogs.

You will notice in /etc/ssh/ssh_config

#   ForwardAgent no
#   ForwardX11 no
#   Tunnel no

These are the bad boys that had their defaults changed.


Try creating a local config file with this in it:

# My local ssh config
ForwardAgent yes
ForwardX11 yes
Tunnel yes


Then try:

ssh -F my_config box_b

That should fix it. If it does, then edit the one in /etc/ssh appropriately.

Good luck!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux