Custom Query (230 matches)
Results (223 - 225 of 230)
Ticket |
---|
#199 |
Description |
Following the instructions on http://winswitch.org/downloads/debian-repository.html?dist_select=oneiric I get this error: W: Failed to fetch http://winswitch.org/dists/dists/oneiric/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. I think 'dists' is appearing somewhere it shouldn't (see the dists/dists) above. |
#205 |
Description |
starting an xpra session manually and then remotely connecting to it with the winswitch cleint for Windows results in change of xpra session to use --bind-tcp=0.0.0.0:<port>, which is a "major security risk" (xpra(1)). Reproduction steps: In the remote host run $ ps aux | grep winswitch # no winswitch_server running $ ps aux | grep xpra # no xpra running $ xpra start :666 $ ps aux | grep xpra # see the command line and PID 1000 18905 2.5 0.2 188412 21976 ? S 21:26 0:00 /usr/bin/python /usr/bin/xpra start :666 Now run the Window Switch client for Windows and connect to that remote host using ssh tunneling. It will show an "unknown" session. You won´t even need to resume it via the tray icon, the damage is already done: On the remote host again: $ ps aux | grep xpra 1000 19549 0.1 0.2 213020 23404 ? S 21:32 0:00 /usr/bin/python /usr/bin/xpra --bind-tcp=0.0.0.0:15061 --password-file=/home/ocm-admin/.winswitch/server/sessions/666/session.pass --no-daemon --no-pulseaudio --session-name=unknown start :666 --use-display $ ps aux | grep winsw 1000 19479 0.1 0.1 101708 15536 ? Ss 21:31 0:00 /usr/bin/python /usr/bin/winswitch_stdio_socket 1000 19485 0.2 0.0 0 0 ? Z 21:32 0:00 [winswitch_serve] <defunct> 1000 19533 0.2 0.3 323548 29688 ? S 21:32 0:00 /usr/bin/python /usr/bin/winswitch_server --daemon 1000 19549 0.1 0.2 213020 23404 ? S 21:32 0:00 /usr/bin/python /usr/bin/xpra --bind-tcp=0.0.0.0:15061 --password-file=/home/ocm-admin/.winswitch/server/sessions/666/session.pass --no-daemon --no-pulseaudio --session-name=unknown start :666 --use-display $ netstat --inet -nlp 2>/dev/null | grep 19549 tcp 0 0 0.0.0.0:15061 0.0.0.0:* LISTEN 19549/python So there you are, apparently winswitch_server restarted xpra, see the different PIDs, and now it is listening on all IPs. Found no documentation about this, just stumbled upon it. No obvious way to change it in any config files. Plus this should never be the default behaviour! For some more info, I am using Debian squeeze/stable and have installed from the official winswitch.org repository. $ cat /etc/debian_version 6.0.5 $ apt-cache policy winswitch xpra winswitch: Installiert: 0.12.14-1 Kandidat: 0.12.14-1 Versionstabelle: *** 0.12.14-1 0 990 http://winswitch.org/ squeeze/main amd64 Packages 100 /var/lib/dpkg/status xpra: Installiert: 0.3.2-2 Kandidat: 0.3.2-2 Versionstabelle: *** 0.3.2-2 0 990 http://winswitch.org/ squeeze/main amd64 Packages 100 /var/lib/dpkg/status $ winswitch_server --version winswitch version 0.12.14 Release Build Built on winswitch.org by root on the 2012-06-04 SVN revision unknown with unknown local modifications $ xpra --version xpra v0.3.2 I did not change any config files on the remote host. The windows client version is: Window Switch 0.12.14 Built on xp-pro by XP_Pro. 2012-06-04 (release build) (svn revision 4908 with 0 local changes) if the client version matters at all, this should clearly be changed on the server. |
#217 |
Description |
As originally reported here on the mailing list, here is the backtrace obtained with abrt. Note: contrary to the report above, when I test this only happens on KDE, and only when using "auto-start". abrt_version: 2.0.10 cmdline: /usr/bin/python /usr/bin/winswitch_applet --open_server_config= executable: /usr/bin/winswitch_applet kernel: 3.5.2-1.fc17.x86_64 time: Wed 29 Aug 2012 11:30:08 PM ICT uid: 1000 username: fedora backtrace: :warnings.py:29:_show_warning:ValueError: I/O operation on closed file : :Traceback (most recent call last): : File "/usr/lib/python2.7/site-packages/winswitch/client/client_base.py", line 744, in server_dir_changed : self.slog("evt_type=%s" % type(evt_type), monitor, d, ignored, evt_type) : File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 317, in slog : self._write(self.log_colour, "II", self.prefix, msgsig(msg, *args)) : File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 231, in msgsig : s = msig(*args) : File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 214, in msig : return "("+(','.join([str(v) for v in args]))+")" : File "/usr/lib64/python2.7/warnings.py", line 29, in _show_warning : file.write(formatwarning(message, category, filename, lineno, line)) :ValueError: I/O operation on closed file : :Local variables in innermost frame: :category: <class 'gobject.Warning'> :filename: '/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py' :lineno: 277 :file: <closed file '/home/fedora/.winswitch/client/applet.log', mode 'a' at 0x7fdde6333f60> :line: None :message: Warning("g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed",) |