Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In the ~/.ssh/config (or /etc/ssh/ssh_config for global) change or add
ForwardX11Trusted Yes
You can also add other variables such as the server and username if you wish.
You can find more information on that in the ssh config (5) man page.
Last edited by Zero-0-Effect; 10-25-2005 at 12:52 PM.
Did you not read my post or the man page for ssh config ??
Your post appeared as I was typing mine.
So ForwardX11Trusted assumes the -Y option? That's what the OP is going for. I read the man page entry you cited and its description is a little unclear to me.
If you've tested this and it works as advertised, that's good.
If you've tested this and it works as advertised, that's good.
When I read the man page it sounded exactly like what that is supposed to do. Im wanting to see if this works myself really. At the moment I cant test it out but here shortly Ill be back at home and will do so.
Quote:
Sorry for being stupid, I am new at this. I will search for your posting ( if I can find it ).
That response wasnt for you, and the post I was referring to was the second post in this thread.
Quote:
Your post appeared as I was typing mine.
Guess the same thing happend to both of us now. He posted just before I posted.
Originally posted by pomsailasuta does ssh works if both both PC are behind firewalls?
I used 'ssh -Y -l login_name IP'
it works for me but I can not display any application from the other Linux.
I did do xhost + command.
It should work. You shouldn't do any "xhost" stuff. Is the SSH server set to allow X forwarding? (Make sure the "X11Forwarding yes" directive is set in /etc/ssh/sshd_config)
My works just fine now. thanks for all your suggestions.
My problem is that the IP address that my router assigned to my PC is not known to the outside world except
in my house, so after I switched to my internet subscriber line, it works!!!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.