X over ssh, and wxWidgets 2.9

20 views
Skip to first unread message

Chris Frey

unread,
Dec 15, 2009, 9:34:49 PM12/15/09
to wx-u...@lists.wxwidgets.org
Hi,

I'm hoping someone has run into this issue before.

In testing my application between 2.8 and 2.9, I noticed that under
wxWidgets 2.9, I am unable to run my program over a forwarded X session
such as when using the command 'ssh -Y user@host'.

Using version 2.8, this works fine.

Is there anything I can do to help debug this?

Thanks,
- Chris


Vadim Zeitlin

unread,
Dec 16, 2009, 4:28:00 AM12/16/09
to wx-u...@googlegroups.com
On Wed, 16 Dec 2009 02:34:49 +0000 (UTC) Chris Frey <cdf...@sentex.ca> wrote:

CF> In testing my application between 2.8 and 2.9, I noticed that under
CF> wxWidgets 2.9, I am unable to run my program over a forwarded X session
CF> such as when using the command 'ssh -Y user@host'.

This definitely works with 2.9, I'm doing it daily. What exactly is the
problem you encounter?

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

Chris Frey

unread,
Dec 16, 2009, 4:40:28 PM12/16/09
to wx-u...@lists.wxwidgets.org
Vadim Zeitlin <va...@wxwidgets.org> wrote:
> CF> such as when using the command 'ssh -Y user@host'.
>
> This definitely works with 2.9, I'm doing it daily. What exactly is the
> problem you encounter?

Hi Vadim,

When I run a 2.9 app, the program seems to run, and then hangs, without
the window ever appearing. I have to Ctrl-C to get out of it.

I ran another test, and when I'm running under a Gnome login, then it
works with both 2.8 and 2.9.

When I run under a fluxbox login, only 2.8 works.

This is all with a local machine, tested like this:

Login to Gnome:
ssh -Y -a -2 other@localhost
./run2.8 # works
./run2.9 # works

Login to fluxbox:
ssh -Y -a -2 other@localhost
./run2.8 # works
./run2.9 # hang waiting for a window

Is there something I can do to create some debug output that would help?
I'm not that familiar with debugging X protocol / window manager stuff.

Thanks,
- Chris


Vadim Zeitlin

unread,
Dec 16, 2009, 4:48:33 PM12/16/09
to wx-u...@googlegroups.com
On Wed, 16 Dec 2009 21:40:28 +0000 (UTC) Chris Frey <cdf...@sentex.ca> wrote:

CF> When I run under a fluxbox login, only 2.8 works.

Do you use 2.9.0 or trunk? There was a bug fixed in WM-related code which
happened when using fluxbox so if you're using 2.9.0 upgrading to trunk
should probably fix it.

Chris Frey

unread,
Dec 16, 2009, 7:17:49 PM12/16/09
to wx-u...@lists.wxwidgets.org
Vadim Zeitlin <va...@wxwidgets.org> wrote:
> Do you use 2.9.0 or trunk? There was a bug fixed in WM-related code which
> happened when using fluxbox so if you're using 2.9.0 upgrading to trunk
> should probably fix it.

I was using 2.9.0. Indeed, I just tested with trunk, and it works fine.

Thanks!

- Chris


Reply all
Reply to author
Forward
0 new messages