Custom Query (230 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (154 - 156 of 230)

Ticket Resolution Summary Owner Reporter
#201 fixed Incorrect check for started X server Antoine Martin Alexey Loginov
Description

In trying to get a WinSwitch/xpra server on Ubuntu to work with a WinSwitch/xpra client on OSX, I had to fight with xmodmap a bit (need to use Alt for Eclipse, emacs, etc.). I found the check for running X server not to be quite right. The following diff is for an older version of winswitch/client/client_base.py (I can't use the latest due to https://xpra.org/trac/ticket/92), so the lines aren't current but their content hasn't changed.

The first change fixes the search of lines for "org.x.startx". In the old form, line.find returns -1 for any line without a match, triggering on the very first line ("PID Status Label"). Python documentation states a preference for "substring in string", when the position of substring in string is not needed. If you want to insist on "org.x.startx" at the very end of the line, the test could be: if line.endswith("org.x.startx"):

The second change corrects the check for a process that's running now ("0" in parts[1] appears to indicate that the process has terminated and returned 0). Checking that parts[0] is NOT "-" is a valid check for a running process, as well. The man pages are a bit vague.

The changes below work on my MacBookPros at home and at work with 10.5 and 10.6:

432c432
<                                       if line.find("org.x.startx$"):
---
>                                       if "org.x.startx" in line:
436c436
<                                                       started = parts[1]=="0"
---
>                                                       started = parts[1]=="-"

I hope this helps. -Alexey

#202 worksforme "reconnect" in "Information" dialog doesn't work with 0.12.14 Antoine Martin pmarek
Description

As the "kbd-sync=off" default still doesn't work (#184 _not_ working, AFAICS), I resorted to use the "Information" dialog to switch it off and reconnect.

This doesn't work with 0.12.14 anymore - the "Reconnect" and "Detach" buttons don't restart my xpra. The winswitch tray icon changes its color, but ~/.winswitch/client/applet.log doesn't get any new lines and the xpra sessions isn't restarted with the updated settings.

#203 invalid reconnect in winswitch menu needs two tries Antoine Martin pmarek
Description

I've got a remote tunnel, via

ssh -L 8022:host1:22

and connect to host2 via winswitch and the localhost:8022 tunnel.

Now, if I stop that outer SSH session (eg. via the "\n\n~." escape sequence) winswitch sees that the connection is severed, and displays "reconnect" in the servers menu.

But this doesn't work; on the first "reconnect" winswitch says that it couldn't connect, and only on the second try it really reconnects.

So it seems like there's some old state that is not being updated when a connection breaks.

Note: See TracQuery for help on using queries.