Re: SSH X forwarding not working

2003-03-06 Thread Chris Horn
At 04:50 PM Thursday 3/6/2003, you wrote:
Hmm looked through the mail again and saw:

|> > ssh -x remote-host

Have you tried "ssh -X", capital X, using small x disables ssh
forwarding.
Sorry, sloppy typing.  I've been using -X, the text in this email was a typo.


Meanwhile:

/ Chris Horn <[EMAIL PROTECTED]> wrote:
| At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"
|
| Still no go.
|
| When I connect, the DISPLAY value on the remote box appears null.
| When I'm local, it's "localhost:0.0"
And this local, it is from the prompt you do ssh from?
Yeah.  When I'm in Cygwin XFree86 on my local machine in an xterm, I've 
been typing 'echo $DISPLAY' to see what it's set to.


| When I used xhost and set DISPLAY manually, things work:

just a note, you are aware that the X traffic goes unencrypted when
doing it this way (setting DISPLAY to host_done_ssh_from)?
Yes.  Which is why I want to get SSH's X forwarding working already!


| 2. on remote box set DISPLAY to "local_host:0.0"

Assuming local_host here is host_done_ssh_from?
Yeah.  I was on the remote machine (through a SSH session) and set DISPLAY 
to be the display of the machine I'm sitting at - which I've been calling 
local (because it's right in front of me).

Sorry, I guess I could've been clearer.


| Also, does anyone know how to cut and paste:
|  1. Within X (do I have to run XWin with -emulate3buttons?), and
If you have a threebutton mouse like microsoft with scrollball, you
probably can use the third button.. (like me)
Huh.  I think the problem is that I have the middle mouse button (the 
scrollwheel) set to double-click in Windows and that behavior is overriding 
what it would normally do in X - namely paste!

I exclusively run Linux on my personal machine at home, so not having paste 
is *really* frustrating!


|  2. between X and Windows?

There are work being done on this, check the mailinglist. xwinclip is
the keyword I think.
I'll check it out; thanks.

-
[EMAIL PROTECTED]
703.413.1100 x5100


Re: SSH X forwarding not working

2003-03-06 Thread Chris Horn
I had restarted sshd.

At 04:45 PM Thursday 3/6/2003, you wrote:
Chris,

Okay, so you had X11Forwarding disabled before.  What have you done to 
make sshd re-read its configuration file?  Specifically restarted 
sshd?  Restarted the entire machine?  What?  I suspect that sshd happily 
thinks that X11Forwarding is still disabled.

Harold

Chris Horn wrote:
At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"
Still no go.
When I connect, the DISPLAY value on the remote box appears null.
When I'm local, it's "localhost:0.0"
The error I receive when trying to run apps is "Gtk-WARNING **: cannot 
open display:"
When I used xhost and set DISPLAY manually, things work:
1. xhost +remote_host
2. on remote box set DISPLAY to "local_host:0.0"
3. run app, and it appears like it should!
Also, does anyone know how to cut and paste:
1. Within X (do I have to run XWin with -emulate3buttons?), and
2. between X and Windows?

Merci beaucoup.
chris.
At 04:02 PM Thursday 3/6/2003, you wrote:
viestissä torstai 6. maaliskuuta 2003 23:04, chris horn kirjoitti:

> greetings.  i've looked over the mailing list, but haven't been able to
> find out why using
> ssh -x remote-host

have you configured the remote end to accept x forwarding in
/etc/ssh/sshd_config?
--
/(anton)
-
[EMAIL PROTECTED]
703.413.1100 x5100


-
[EMAIL PROTECTED]
703.413.1100 x5100


Re: SSH X forwarding not working

2003-03-06 Thread Andrew Markebo
Hmm looked through the mail again and saw:

|> > ssh -x remote-host

Have you tried "ssh -X", capital X, using small x disables ssh
forwarding.

Meanwhile:

/ Chris Horn <[EMAIL PROTECTED]> wrote:
| At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"
|
| Still no go.
|
| When I connect, the DISPLAY value on the remote box appears null.
| When I'm local, it's "localhost:0.0"

And this local, it is from the prompt you do ssh from? 

| When I used xhost and set DISPLAY manually, things work:

just a note, you are aware that the X traffic goes unencrypted when
doing it this way (setting DISPLAY to host_done_ssh_from)? 

| 2. on remote box set DISPLAY to "local_host:0.0"

Assuming local_host here is host_done_ssh_from?

| Also, does anyone know how to cut and paste:
|  1. Within X (do I have to run XWin with -emulate3buttons?), and

If you have a threebutton mouse like microsoft with scrollball, you
probably can use the third button.. (like me)

|  2. between X and Windows?

There are work being done on this, check the mailinglist. xwinclip is
the keyword I think.

/Andy

-- 
 The eye of the beholder rests on the beauty!



Re: SSH X forwarding not working

2003-03-06 Thread Harold L Hunt II
Chris,

Okay, so you had X11Forwarding disabled before.  What have you done to 
make sshd re-read its configuration file?  Specifically restarted sshd? 
 Restarted the entire machine?  What?  I suspect that sshd happily 
thinks that X11Forwarding is still disabled.

Harold

Chris Horn wrote:
At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"

Still no go.

When I connect, the DISPLAY value on the remote box appears null.
When I'm local, it's "localhost:0.0"
The error I receive when trying to run apps is "Gtk-WARNING **: cannot 
open display:"

When I used xhost and set DISPLAY manually, things work:

1. xhost +remote_host
2. on remote box set DISPLAY to "local_host:0.0"
3. run app, and it appears like it should!
Also, does anyone know how to cut and paste:
1. Within X (do I have to run XWin with -emulate3buttons?), and
2. between X and Windows?
Merci beaucoup.
chris.
At 04:02 PM Thursday 3/6/2003, you wrote:

viestissä torstai 6. maaliskuuta 2003 23:04, chris horn kirjoitti:

> greetings.  i've looked over the mailing list, but haven't been able to
> find out why using
> ssh -x remote-host

have you configured the remote end to accept x forwarding in
/etc/ssh/sshd_config?
--
/(anton)


-
[EMAIL PROTECTED]
703.413.1100 x5100



Re: SSH X forwarding not working

2003-03-06 Thread Chris Horn
At the other end, /etc/ssh/sshd_config now has the line "X11Forwarding yes"

Still no go.

When I connect, the DISPLAY value on the remote box appears null.
When I'm local, it's "localhost:0.0"
The error I receive when trying to run apps is "Gtk-WARNING **: cannot open 
display:"

When I used xhost and set DISPLAY manually, things work:

1. xhost +remote_host
2. on remote box set DISPLAY to "local_host:0.0"
3. run app, and it appears like it should!
Also, does anyone know how to cut and paste:
1. Within X (do I have to run XWin with -emulate3buttons?), and
2. between X and Windows?
Merci beaucoup.
chris.
At 04:02 PM Thursday 3/6/2003, you wrote:
viestissä torstai 6. maaliskuuta 2003 23:04, chris horn kirjoitti:

> greetings.  i've looked over the mailing list, but haven't been able to
> find out why using
> ssh -x remote-host

have you configured the remote end to accept x forwarding in
/etc/ssh/sshd_config?
--
/(anton)


-
[EMAIL PROTECTED]
703.413.1100 x5100


Re: SSH X forwarding not working

2003-03-06 Thread Andrew Markebo
/ Chris Horn <[EMAIL PROTECTED]> wrote:
| Greetings.  I've looked over the mailing list, but haven't been able
| to find out why using
|
| ssh -X remote-host

Try to throw on one or two -v's to check what ssh thinks.

>From where do you do ssh -X remote-host, and what is the value of the
variable $DISPLAY at the prompt before ssh, and the prompt at the
other end when the ssh is connected.

What does the apps say in the other end when you try to start them?

  /Andy

-- 
 The eye of the beholder rests on the beauty!



Re: SSH X forwarding not working

2003-03-06 Thread Anton Vaaranmaa
Viestissä Torstai 6. Maaliskuuta 2003 23:04, Chris Horn kirjoitti:

> Greetings.  I've looked over the mailing list, but haven't been able to
> find out why using

> ssh -X remote-host

Have you configured the remote end to accept X forwarding in 
/etc/ssh/sshd_config?

-- 
/(anton)



SSH X forwarding not working

2003-03-06 Thread Chris Horn
Greetings.  I've looked over the mailing list, but haven't been able to 
find out why using

ssh -X remote-host

wouldn't actually let you run X apps on the distant machine (to display 
locally).  I'm using the absolute latest and greatest Cygwin XFree86 
(fetched yesterday).

Any help would be much appreciated.

NOTE: I use startx (I have also tried using xinit) and have added 'export 
DISPLAY=localhost:0.0' to my .xinitrc.

Thanks in advance.
chris.
-
[EMAIL PROTECTED]
703.413.1100 x5100