|
| |||
| X11 Forwarding I'm trying to get more familiar with *nix. Today I downloaded and installed Cygwin/X on to my WinXP machine at work. I could then ssh into my Fedora Core 5 Linux box and run 'konqueror &' and the Konqueror web browser would be displayed on my WinXP box. How do I do the same with our Mac OS X 10.4.x box with X11 installed? I can successfully ssh into it. The DISPLAY environment variable has been manually set with: export DISPLAY=ip_address_of_winxp_box:0 /etc/sshd_config has been modified with the line X11 Forwarding Yes (instead of No) When I run: /Applications/Safari.app/Contents/* MacOS/Safari & it comes back with an error something along the lines of "only root or the console user can do that", so then I did: sudo /Applications/Safari.app/Contents/* MacOS/Safari & Safari comes up but its displaying on the Mac box and not my WinXP box. What am I doing wrong? |
| |||
| Re: X11 Forwarding In article <4507d543$0$9241$afc38c87@news.optusnet.com.au>, "cpu" <postmaster@[127.0.0.1]> writes: > > >I'm trying to get more familiar with *nix. > >Today I downloaded and installed Cygwin/X on to my WinXP machine at work. I >could then ssh into my Fedora Core 5 Linux box and run 'konqueror &' and the >Konqueror web browser would be displayed on my WinXP box. > >How do I do the same with our Mac OS X 10.4.x box with X11 installed? > >I can successfully ssh into it. The DISPLAY environment variable has been >manually set with: > >export DISPLAY=ip_address_of_winxp_box:0 > >/etc/sshd_config has been modified with the line >X11 Forwarding Yes (instead of No) > >When I run: > >/Applications/Safari.app/Contents/* MacOS/Safari & > >it comes back with an error something along the lines of "only root or the >console user can do that", so then I did: > >sudo /Applications/Safari.app/Contents/* MacOS/Safari & > >Safari comes up but its displaying on the Mac box and not my WinXP box. > >What am I doing wrong? > ssh -X ??? -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" |
| |||
| Re: X11 Forwarding In article <4507d543$0$9241$afc38c87@news.optusnet.com.au>, "cpu" <postmaster@[127.0.0.1]> writes: > > >I'm trying to get more familiar with *nix. > >Today I downloaded and installed Cygwin/X on to my WinXP machine at work. I >could then ssh into my Fedora Core 5 Linux box and run 'konqueror &' and the >Konqueror web browser would be displayed on my WinXP box. > >How do I do the same with our Mac OS X 10.4.x box with X11 installed? > >I can successfully ssh into it. The DISPLAY environment variable has been >manually set with: > >export DISPLAY=ip_address_of_winxp_box:0 > >/etc/sshd_config has been modified with the line >X11 Forwarding Yes (instead of No) > >When I run: > >/Applications/Safari.app/Contents/* MacOS/Safari & > >it comes back with an error something along the lines of "only root or the >console user can do that", so then I did: > >sudo /Applications/Safari.app/Contents/* MacOS/Safari & > >Safari comes up but its displaying on the Mac box and not my WinXP box. > >What am I doing wrong? > ssh -X ??? -- VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" |
| |||
| Re: X11 Forwarding On Thu, 14 Sep 2006 07:12:56 +1200, VAXman- <@SendSpamHere.ORG> wrote: > In article <4507d543$0$9241$afc38c87@news.optusnet.com.au>, "cpu" > <postmaster@[127.0.0.1]> writes: >> >> >> I'm trying to get more familiar with *nix. >> >> Today I downloaded and installed Cygwin/X on to my WinXP machine at >> work. I >> could then ssh into my Fedora Core 5 Linux box and run 'konqueror &' >> and the >> Konqueror web browser would be displayed on my WinXP box. >> >> How do I do the same with our Mac OS X 10.4.x box with X11 installed? .... >> What am I doing wrong? >> > > > ssh -X ??? > Yes ssh -X or ssh -Y will work., that way you don't have to set the DISPLAY variable. -- Posted via a free Usenet account from http://www.teranews.com |
| |||
| Re: X11 Forwarding On Thu, 14 Sep 2006 07:12:56 +1200, VAXman- <@SendSpamHere.ORG> wrote: > In article <4507d543$0$9241$afc38c87@news.optusnet.com.au>, "cpu" > <postmaster@[127.0.0.1]> writes: >> >> >> I'm trying to get more familiar with *nix. >> >> Today I downloaded and installed Cygwin/X on to my WinXP machine at >> work. I >> could then ssh into my Fedora Core 5 Linux box and run 'konqueror &' >> and the >> Konqueror web browser would be displayed on my WinXP box. >> >> How do I do the same with our Mac OS X 10.4.x box with X11 installed? .... >> What am I doing wrong? >> > > > ssh -X ??? > Yes ssh -X or ssh -Y will work., that way you don't have to set the DISPLAY variable. -- Posted via a free Usenet account from http://www.teranews.com |
| |||
| Re: X11 Forwarding "cpu" <postmaster@[127.0.0.1]> writes: > > How do I do the same with our Mac OS X 10.4.x box with X11 installed? > > I can successfully ssh into it. The DISPLAY environment variable has > been manually set with: > > export DISPLAY=ip_address_of_winxp_box:0 > > /etc/sshd_config has been modified with the line > X11 Forwarding Yes (instead of No) > <snip> > > Safari comes up but its displaying on the Mac box and not my WinXP box. > > What am I doing wrong? As others have already stated, you can only do this with X11 apps, not Safari nor any other Mac application. However, you should be aware that what you are doing (according to the description) is *not* secure X11 forwarding. X11 forwarding implies that you forward the X11 traffic over your SSH link. When you set DISPLAY to ip_address_of_winxp_box:0 you tell the X11 traffic to pass over the internet in the clear instead of over SSH. As another poster said, to use secure forwarding of X11 you need to use the SSH options -X och -Y. Then your DISPLAY variable will be correctly set (most probably to localhost:10.0) and your X11 traffic will be encrypted. /Stefan |
| |||
| Re: X11 Forwarding "cpu" <postmaster@[127.0.0.1]> writes: > > How do I do the same with our Mac OS X 10.4.x box with X11 installed? > > I can successfully ssh into it. The DISPLAY environment variable has > been manually set with: > > export DISPLAY=ip_address_of_winxp_box:0 > > /etc/sshd_config has been modified with the line > X11 Forwarding Yes (instead of No) > <snip> > > Safari comes up but its displaying on the Mac box and not my WinXP box. > > What am I doing wrong? As others have already stated, you can only do this with X11 apps, not Safari nor any other Mac application. However, you should be aware that what you are doing (according to the description) is *not* secure X11 forwarding. X11 forwarding implies that you forward the X11 traffic over your SSH link. When you set DISPLAY to ip_address_of_winxp_box:0 you tell the X11 traffic to pass over the internet in the clear instead of over SSH. As another poster said, to use secure forwarding of X11 you need to use the SSH options -X och -Y. Then your DISPLAY variable will be correctly set (most probably to localhost:10.0) and your X11 traffic will be encrypted. /Stefan |
| |||
| Re: X11 Forwarding "Stefan Lindstrom" <steli@lysator.liu.se> wrote in message news:863bauq5rv.fsf@karlslund.homeunix.org... > However, you should be aware that what you are doing (according to the > description) is *not* secure X11 forwarding. X11 forwarding implies that > you forward the X11 traffic over your SSH link. When you set DISPLAY to > ip_address_of_winxp_box:0 you tell the X11 traffic to pass over the > internet in the clear instead of over SSH. > > As another poster said, to use secure forwarding of X11 you need to use > the SSH options -X och -Y. Then your DISPLAY variable will be correctly > set (most probably to localhost:10.0) and your X11 traffic will be > encrypted. > > /Stefan Thanks for this very handy tip. I shall use ssh -X instead of exporting the DISPLAY environment variable. |
| |||
| Re: X11 Forwarding "Stefan Lindstrom" <steli@lysator.liu.se> wrote in message news:863bauq5rv.fsf@karlslund.homeunix.org... > However, you should be aware that what you are doing (according to the > description) is *not* secure X11 forwarding. X11 forwarding implies that > you forward the X11 traffic over your SSH link. When you set DISPLAY to > ip_address_of_winxp_box:0 you tell the X11 traffic to pass over the > internet in the clear instead of over SSH. > > As another poster said, to use secure forwarding of X11 you need to use > the SSH options -X och -Y. Then your DISPLAY variable will be correctly > set (most probably to localhost:10.0) and your X11 traffic will be > encrypted. > > /Stefan Thanks for this very handy tip. I shall use ssh -X instead of exporting the DISPLAY environment variable. |
| |||
| Re: X11 Forwarding It is not possible to display Safari on your X workstation. el on 9/13/06 11:53 AM cpu said the following: > I'm trying to get more familiar with *nix. > > Today I downloaded and installed Cygwin/X on to my WinXP machine at > work. I could then ssh into my Fedora Core 5 Linux box and run > 'konqueror &' and the Konqueror web browser would be displayed on my > WinXP box. > > How do I do the same with our Mac OS X 10.4.x box with X11 installed? > > I can successfully ssh into it. The DISPLAY environment variable has > been manually set with: > > export DISPLAY=ip_address_of_winxp_box:0 > > /etc/sshd_config has been modified with the line > X11 Forwarding Yes (instead of No) > > When I run: > > /Applications/Safari.app/Contents/* MacOS/Safari & > > it comes back with an error something along the lines of "only root or > the console user can do that", so then I did: > > sudo /Applications/Safari.app/Contents/* MacOS/Safari & > > Safari comes up but its displaying on the Mac box and not my WinXP box. > > What am I doing wrong? -- If you want to email me, replace nospam with el |
| |||
| Re: X11 Forwarding It is not possible to display Safari on your X workstation. el on 9/13/06 11:53 AM cpu said the following: > I'm trying to get more familiar with *nix. > > Today I downloaded and installed Cygwin/X on to my WinXP machine at > work. I could then ssh into my Fedora Core 5 Linux box and run > 'konqueror &' and the Konqueror web browser would be displayed on my > WinXP box. > > How do I do the same with our Mac OS X 10.4.x box with X11 installed? > > I can successfully ssh into it. The DISPLAY environment variable has > been manually set with: > > export DISPLAY=ip_address_of_winxp_box:0 > > /etc/sshd_config has been modified with the line > X11 Forwarding Yes (instead of No) > > When I run: > > /Applications/Safari.app/Contents/* MacOS/Safari & > > it comes back with an error something along the lines of "only root or > the console user can do that", so then I did: > > sudo /Applications/Safari.app/Contents/* MacOS/Safari & > > Safari comes up but its displaying on the Mac box and not my WinXP box. > > What am I doing wrong? -- If you want to email me, replace nospam with el |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Txt Forwarding | Beverly Howard [Ms-MVP/MobileDev] | Pocket PC General | 0 | 01-19-2009 11:48 AM |
| Forwarding Messages | JSmith | Microsoft Office | 1 | 07-12-2007 10:41 AM |
| forwarding messages | Babs | Windows Vista | 5 | 06-17-2007 09:50 AM |
| Fax forwarding | Jason | Microsoft Office | 1 | 03-02-2007 09:00 AM |
| Port forwarding | Jack Black | Windows XP | 2 | 01-22-2007 04:15 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |