|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
ssh tunneling with Kontact?Would anyone out there know if it is possible to use ssh (I'm guessing ssh -X, actually) to access Kontact when it is behind my firewall?
I have a computer (call it foo) behind firewall computer (bar) and I often run VNC on foo, accessing it with the simple tunnel: ssh -L 8888:foo:5900 me@... I am having a very odd problem that I think might be VNC related and would like to run Kontact directly here on my Ubuntu notebook...but I am not sure I understand tunneling or Kontact enough. Can I direct Kontact's output from the display to a specific port? I often ssh from the firewall (bar) to foo with the command: ssh -X me@foo And this will bring up Kontact nicely on Bar. So I am simply hoping to get this to work when there is an additional computer in between. If anyone has any suggestions, thank you!!! _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?On Sunday 25 October 2009 03:29:21 r bartlett wrote:
> Would anyone out there know if it is possible to use ssh (I'm guessing ssh > -X, actually) to access Kontact when it is behind my firewall? > > I have a computer (call it foo) behind firewall computer (bar) and I often > run VNC on foo, accessing it with the simple tunnel: > > ssh -L 8888:foo:5900 me@... > > I am having a very odd problem that I think might be VNC related and would > like to run Kontact directly here on my Ubuntu notebook...but I am not > sure I understand tunneling or Kontact enough. Can I direct Kontact's > output from the display to a specific port? > > I often ssh from the firewall (bar) to foo with the command: > > ssh -X me@foo > > And this will bring up Kontact nicely on Bar. So I am simply hoping to get > this to work when there is an additional computer in between. > > If anyone has any suggestions, thank you!!! > > > > _______________________________________________ > KDE PIM users mailing list > kdepim-users@... > https://mail.kde.org/mailman/listinfo/kdepim-users > -- cu ferdinand _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?[ Comments below, in line ]
On Saturday 24 October 2009 at 10:29 pm, r bartlett penned about "[kdepim-users] ssh tunneling with Kontact?" > And this will bring up Kontact nicely on Bar. So I am simply hoping > to get this to work when there is an additional computer in > between. > > If anyone has any suggestions, thank you!!! > Howdy, You should have no trouble ssh'ing from A, to B, to C and having the output from C arrive on A. My unit-test is to always try with `xclock' Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Fax: 760.860.5225 (US) _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?>> And this will bring up Kontact nicely on Bar. So I am simply hoping
>> to get this to work when there is an additional computer in >> between. >> >> If anyone has any suggestions, thank you!!! >> >Howdy, >You should have no trouble ssh'ing from A, to B, to C and having the >output from C arrive on A. I know the process and syntax for getting VNC on port XYZ to appear at my localhost...but I don't know how to do that with a specific application. I know it should be possible. :-) But what syntax is needed? >My unit-test is to always try with `xclock' If you were going to set this up with xclock, what would you type at the command line? I assume I could substitute xclock for kontact and be all set. For one computer, the command is simply: ssh -X computer1 kontact But if computer 2 is behind computer 1 and I want kontact that is on computer 2...that is the question. Sorry if this is not exactly a kontact question, but rather a ssh related one. I was hoping someone out there might be using Kontact and ssh in a similar way. Thank you! _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?I guess the real question is just whether Kontact can be directed to a specific port. I can already use VNC on the application server (behind the firewall machine) with:
ssh -L 8888:foo:5900 me@bar That tunnels the output of port 5900 on the inner machine to my local port 8888. But I am wondering if I can tunnel Kontact to my local machine directly from the inner machine...I can do that fine for the firewall machine. The problem is that I can't seem to do that for the machine that's behind the firewall. Again...many thanks! _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?[ Comments below, in line ]
On Sunday 25 October 2009 at 7:09 pm, r bartlett penned about "Re: [kdepim-users] ssh tunneling with Kontact?" > If you were going to set this up with xclock, what would you type at > the command line? I assume I could substitute xclock for kontact > and be all set. For one computer, the command is simply: > > ssh -X computer1 kontact Hi, Suppose I'm on `computer-a' and want to see `computer-c' via `computer-b', here's what I do: computer-a$ ssh -Y computer-b computer-b$ ssh -Y computer-c computer-c$ xclock ;) Of course it assumes X-forwarding is enabled on `computer-b' and `computer-c' Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Fax: 760.860.5225 (US) _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?[ Comments below, in line ]
On Sunday 25 October 2009 at 8:07 pm, r bartlett penned about "Re: [kdepim-users] ssh tunneling with Kontact?" > That tunnels the output of port 5900 on the inner machine to my > local port 8888. But I am wondering if I can tunnel Kontact to my > local machine directly from the inner machine...I can do that fine > for the firewall machine. The problem is that I can't seem to do > that for the machine that's behind the firewall. Howdy, Think of kontact as simply an X-application. You're wishing to have it run on your remote machine but display locally. At least I think that's what you _really_ want. Suppose my previous example didn't work, can `ssh' directly to `computer-c' as follows. Suppose you're on `computer-a' and you need to login to `computer-c' via `computer-b' First, in one teriminal, do the following: computer-a$ ssh -L 8888:localhost:8888 computer-b # # -N - no remote command # computer-b$ ssh -N -L 8888:localhost:22 computer-c In your second terminal, you can login directly to `computer-c' as follows: ssh -p 8888 localhost HTH. Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Fax: 760.860.5225 (US) _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?>First, in one teriminal, do the following:
> computer-a$ ssh -L 8888:localhost:8888 computer-b > # > # -N - no remote command > # > computer-b$ ssh -N -L 8888:localhost:22 computer-c >In your second terminal, you can login directly to `computer-c' as >follows: > ssh -p 8888 localhost This is very much what I was hoping for! I could log in fine, but Kontact isn't running (nor xclock). It seems to be "Can't open display" in both. Do I need to add the -X option somewhere? (A while ago I was having trouble with Display and X11 and a kind soul said to try ssh -X foo kontact instead of simply sshing in and then typing kontact. Might that also be the problem now?) I'm able to run top and other non-graphical programs just fine. The exact error is: <unknown program name>(11866)/: KUniqueApplication: Cannot find the D-Bus session server: "dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed. " <unknown program name>(11865)/: KUniqueApplication: Pipe closed unexpectedly. [1]+ Exit 255 kontact I am simply typing "kontact" at the computer-c command line...should I be typing something else? Thanks again for your time helping with this. ____________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?[ Comments below, in line ]
On Sunday 25 October 2009 at 9:11 pm, r bartlett penned about "Re: [kdepim-users] ssh tunneling with Kontact?" > >In your second terminal, you can login directly to `computer-c' as > >follows: > > > ssh -p 8888 localhost > > This is very much what I was hoping for! I could log in fine, but > Kontact isn't running (nor xclock). It seems to be "Can't open > display" in both. Do I need to add the -X option somewhere? Oops, sorry, yes, please type `ssh -X -p 8888 localhost' > I am simply typing "kontact" at the computer-c command line...should > I be typing something else? No, the `-X' should set everything up properly. ;) > Thanks again for your time helping with this. You're welcome. I'm heading to bed (long day) so I won't be answering anything until tomorrow. I hope that's okay. Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Fax: 760.860.5225 (US) _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?Awesome. That did the trick! :-) Thanks so much!
----- Original Message ---- From: Pablo Sanchez <pablo@...> To: kdepim-users@... Sent: Sun, October 25, 2009 9:35:28 PM Subject: Re: [kdepim-users] ssh tunneling with Kontact? [ Comments below, in line ] On Sunday 25 October 2009 at 9:11 pm, r bartlett penned about "Re: [kdepim-users] ssh tunneling with Kontact?" > >In your second terminal, you can login directly to `computer-c' as > >follows: > > > ssh -p 8888 localhost > > This is very much what I was hoping for! I could log in fine, but > Kontact isn't running (nor xclock). It seems to be "Can't open > display" in both. Do I need to add the -X option somewhere? Oops, sorry, yes, please type `ssh -X -p 8888 localhost' > I am simply typing "kontact" at the computer-c command line...should > I be typing something else? No, the `-X' should set everything up properly. ;) > Thanks again for your time helping with this. You're welcome. I'm heading to bed (long day) so I won't be answering anything until tomorrow. I hope that's okay. Cheers, -- Pablo Sanchez - Blueoak Database Engineering, Inc Ph: 819.459.1926 Fax: 760.860.5225 (US) _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
|
|
Re: ssh tunneling with Kontact?r bartlett wrote:
> Would anyone out there know if it is possible to use ssh (I'm guessing ssh > -X, actually) to access Kontact when it is behind my firewall? > > I have a computer (call it foo) behind firewall computer (bar) and I often > run VNC on foo, accessing it with the simple tunnel: > > ssh -L 8888:foo:5900 me@... > > I am having a very odd problem that I think might be VNC related and would > like to run Kontact directly here on my Ubuntu notebook...but I am not > sure I understand tunneling or Kontact enough. Can I direct Kontact's > output from the display to a specific port? > > I often ssh from the firewall (bar) to foo with the command: > > ssh -X me@foo > > And this will bring up Kontact nicely on Bar. So I am simply hoping to > get this to work when there is an additional computer in between. > > If anyone has any suggestions, thank you!!! I've just read the thread. I think there is misunderstanding in the story. Kontact is application on top of other application like i.e. mail client (kmail). So the situation you are behind a fireall somewhere (X) and you have a computer A at home also behind a fireall. When you are at home you are using kontact on computer A and do anything you want. When you are (X) you do ssh to computer A and start kontacts there on computer A. The fact is that kontacts is using settings (address book, mail server) that are configured to be accessed from (X). The settings are saved most likely in your home, so where is your home directory, are you using notebook (i.e. taking the home with you?). In the latter case all of this will not work This is working fine for me. When I'm at home I'm mounting my home dir from the server. When I'm at work I ssh to my home server and start whatever I want there (in my home setup, that I'm using when at home) a bit complicated but you have to keep in mind what is going from where to where, then it's simple. regards _______________________________________________ KDE PIM users mailing list kdepim-users@... https://mail.kde.org/mailman/listinfo/kdepim-users |
| Free embeddable forum powered by Nabble | Forum Help |