Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-30-2005, 02:03 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2005
Location: Louisville, KY
Distribution: Debian Sarge
Posts: 29
Rep:
|
X forwarding via SSH
I opened /etc/ssh/ssh_config and turned the XFowarding option from off to on...saved, restarted sshd
didnt work....so i went back and uncommented it (took off the #)..saved, restarted
no beans....i remembered it was easier than this the last time i did it, but one of my buddies told me step by step how to do it, and I forgot now.....
|
|
|
|
08-30-2005, 02:12 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
ssh_config is the client config. If you want to change the server options then edit sshd_config.
|
|
|
|
08-30-2005, 05:10 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Colorado, USA
Distribution: Fedora Core
Posts: 100
Rep:
|
Just as an FYI, I used to use ssh X11 forwarding to forward stuff from home to work but I found that using VNC through ssh was much more faster and snappier. Maybe it's because the X11 server I'm using at work is through cygwin where as VNC is native. Not sure, but I stopped using X11 forwarding through ssh because it was too slow (I only have 384kbps up at home). Of course this is just my experience and your may vary.
|
|
|
|
08-30-2005, 05:35 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2005
Location: Louisville, KY
Distribution: Debian Sarge
Posts: 29
Original Poster
Rep:
|
didn't work either......
it did work before though....anybody know why it doesnt now....
I get the display not found error when i try to launch something,like mozilla........
pretty much I just want a desktop environment that I can use to mess around with when I can't use my apple.....
|
|
|
|
08-30-2005, 07:13 PM
|
#5
|
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
What OS are you ssh'ing from and what OS are you ssh'ing to? You mentioned an Apple? Are you sure you're running an X server on the computer you're ssh'ing from?
The computer you're ssh'ing into must have the "X11Forwarding" or whatever directive uncommented and set to on in sshd_config and if you change it you must restart sshd.
To enable X forwarding when you ssh you need to use the "-X" (uppercase X) flag on the ssh command (or set the "ForwardX11" or whatever directive to on in ssh_config). (In recent versions of OpenSSH, for best results, you need the "-Y" flag or the "ForwardX11Trusted" directive.)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:21 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|