Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.95k stars 169 forks source link

Disconnect after drag an item from window to other #2633

Closed totaam closed 4 years ago

totaam commented 4 years ago

Issue migrated from trac ticket # 2633

component: html5 | priority: major | resolution: needinfo

2020-03-10 14:13:19: mdeve created the issue


Hello Everyone!

I am developing my project using xpra and xpra HTML5 client.

I have and issue when I drag from window A to window B of the same application. The session disconnect and start a new session.

Can you help me to resolve the issue?

totaam commented 4 years ago

2020-03-10 14:13:45: mdeve uploaded file drag_issue.png (130.8 KiB)

drag_issue.png

totaam commented 4 years ago

How can I reproduce this bug? Which open-source application can I use for testing?

The session disconnect and start a new session.

Did the server crash? Or just disconnect the client? Was there anything in the server log?

What version and OS are you running? etc Please see ReportingBugs

totaam commented 4 years ago

2020-03-11 15:11:13: mdeve commented


Replying to [comment:2 Antoine Martin]: Hey, thanks for the response.

How can I reproduce this bug? Which open-source application can I use for testing? I was thinking the same thing, I don't call any open-source application in my mind.

The session disconnect and start a new session. Did the server crash? Or just disconnect the client? Was there anything in the server log? The session restart, after I log in, :1 session started, the application running, just when I select an item from the window 1 and drag it to the window 2, it will restart the session and I will have two sessions as it showing in the log below, however, it will not log me out neither the server shutdown.

I noticed today an error get_image(489, 371, 88, 33) get_image XError: BadWindow (invalid Window parameter) when the application started in :1.log, after the last line "2020-03-11 14:30:42,258 client 1 broadway decoder initialized" in log :1 this moment the session restarted;

:1.log

2020-03-11 14:22:50,346 cannot use uinput for virtual devices:
2020-03-11 14:22:50,347  [Errno 2] Failed to open the uinput device: No such file or directory. Perhaps load the uinput kernel module first?
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-957.1.3.el7.x86_64 
Current Operating System: Linux ANONYMOUS 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.12.1.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 09 August 2019  03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7 
Current version of pixman: 0.34.0
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.S2847.log", Time: Wed Mar 11 14:22:50 2020
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2020-03-11 14:22:55,910 created unix domain socket '/run/user/1000/xpra/ANONYMOUS-1'
2020-03-11 14:22:55,911 cannot create group socket '/run/xpra/ANONYMOUS-1'
2020-03-11 14:22:55,911  [Errno 13] Permission denied
2020-03-11 14:22:55,912 Warning: missing sound module
2020-03-11 14:22:56,464 pointer device emulation using XTest
2020-03-11 14:22:56,496 serving html content from '/usr/share/xpra/www'
2020-03-11 14:23:10,148 OpenGL is supported on display ':1'
2020-03-11 14:23:10,149  using 'llvmpipe (LLVM 7.0, 256 bits)' renderer
2020-03-11 14:23:10,355 started command 'guake' with pid 2894
2020-03-11 14:23:10,485 xpra is ready.
2020-03-11 14:23:10,486 xpra GTK2 X11 version 3.0.6-25195 64-bit
2020-03-11 14:23:10,613  uid=1000 (user1), gid=1000 (user1)
2020-03-11 14:23:10,613  running with pid 2856 on Linux CentOS 7.7.1908 Core
2020-03-11 14:23:10,614  connected to X11 display :1 with 24 bit colors
2020-03-11 14:23:11,052 New unix-domain connection received
2020-03-11 14:23:11,052  on '/run/user/1000/xpra/ANONYMOUS-1'
2020-03-11 14:23:11,607 New unix-domain connection received
2020-03-11 14:23:11,608  on '/run/user/1000/xpra/ANONYMOUS-1'
2020-03-11 14:23:12,223 New unix-domain connection received
2020-03-11 14:23:12,224  on '/run/user/1000/xpra/ANONYMOUS-1'
2020-03-11 14:23:12,264 New unix-domain connection received
2020-03-11 14:23:12,264  on '/run/user/1000/xpra/ANONYMOUS-1'
2020-03-11 14:23:12,266 Handshake complete; enabling connection
2020-03-11 14:23:13,412  automatic picture encoding enabled, also available:
2020-03-11 14:23:13,412   rgb32
2020-03-11 14:23:13,415 HTML5 Microsoft Windows Firefox client version 3.0.6
2020-03-11 14:23:13,415   as 'user1'
2020-03-11 14:23:13,415  via Linux 3.10.0-1062.12.1.el7.x86_64 proxy version 3.0.6 on 'ANONYMOUS'
2020-03-11 14:23:13,499 setting keyboard layout to 'us'
2020-03-11 14:23:13,563 waiting for initialization thread to complete
2020-03-11 14:23:16,071 3.8GB of system memory
2020-03-11 14:23:16,113  client root window size is 1368x798 with 1 display:
2020-03-11 14:23:16,114   HTML (362x211 mm - DPI: 95x96)
2020-03-11 14:23:16,114     Canvas
2020-03-11 14:23:16,121 Error writing fake xinerama file '/root/.None-fakexinerama':
2020-03-11 14:23:16,121  [Errno 13] Permission denied: '/root/.None-fakexinerama'
2020-03-11 14:23:16,121 Error writing fake xinerama file '/root/.fakexinerama':
2020-03-11 14:23:16,121  [Errno 13] Permission denied: '/root/.fakexinerama'
2020-03-11 14:23:16,202 server virtual display now set to 1366x768 (best match for 1368x798)
2020-03-11 14:23:16,450 DPI set to 96 x 96
2020-03-11 14:23:16,734 client   1 received xdg start menu data
2020-03-11 14:23:16,816 client   1 startup complete
2020-03-11 14:23:16,842 client   1 connection-established
/usr/lib/python2.7/site-packages/guake/guake_app.py:883: GtkWarning: IA__gtk_window_set_type_hint: assertion '!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
  self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)
/usr/lib/python2.7/site-packages/guake/guake_app.py:884: GtkWarning: IA__gtk_window_set_type_hint: assertion '!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
  self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_NORMAL)
2020-03-11 14:29:33,060 Error writing fake xinerama file '/root/.None-fakexinerama':
2020-03-11 14:29:33,061  [Errno 13] Permission denied: '/root/.None-fakexinerama'
2020-03-11 14:29:33,061 Error writing fake xinerama file '/root/.fakexinerama':
2020-03-11 14:29:33,061  [Errno 13] Permission denied: '/root/.fakexinerama'
2020-03-11 14:29:33,147 server virtual display now set to 832x768 (best match for 883x793)
2020-03-11 14:29:33,147 received updated display dimensions
2020-03-11 14:29:33,148 client display size is 883x793 with 1 screen:
2020-03-11 14:29:33,148   HTML (234x210 mm - DPI: 95x95)
2020-03-11 14:29:33,148     Canvas
2020-03-11 14:29:33,151 DPI set to 96 x 96
2020-03-11 14:29:33,164 sent updated screen size to 1 client: 832x768 (max 8192x4096)
2020-03-11 14:29:46,137 client   1 broadway decoder initialized
2020-03-11 14:29:50,169 client   1 broadway decoder initialized
2020-03-11 14:29:53,836 client   1 broadway decoder initialized
2020-03-11 14:29:54,146 client   1 broadway decoder initialized
2020-03-11 14:29:56,316 get_image(489, 371, 88, 33) get_image XError: BadWindow (invalid Window parameter)
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/x11/gtk_x11/window_damage.py", line 179, in get_image
    return shm_image
  File "/usr/lib64/python2.7/site-packages/xpra/gtk_common/error.py", line 193, in __exit__
    trap.Xexit()
  File "/usr/lib64/python2.7/site-packages/xpra/gtk_common/error.py", line 125, in Xexit
    raise XError(get_X_error(error))
XError: XError: BadWindow (invalid Window parameter)
2020-03-11 14:30:42,258 client   1 broadway decoder initialized

:2.log

2020-03-11 14:31:09,272 cannot use uinput for virtual devices:
2020-03-11 14:31:09,272  [Errno 2] Failed to open the uinput device: No such file or directory. Perhaps load the uinput kernel module first?
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-957.1.3.el7.x86_64 
Current Operating System: Linux ANONYMOUS 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.12.1.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 09 August 2019  03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7 
Current version of pixman: 0.34.0
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.S3276.log", Time: Wed Mar 11 14:31:09 2020
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2020-03-11 14:31:12,406 created unix domain socket '/run/user/1000/xpra/ANONYMOUS-2'
2020-03-11 14:31:12,407 cannot create group socket '/run/xpra/ANONYMOUS-2'
2020-03-11 14:31:12,407  [Errno 13] Permission denied
2020-03-11 14:31:12,407 Warning: missing sound module
2020-03-11 14:31:12,461 pointer device emulation using XTest
2020-03-11 14:31:12,470 serving html content from '/usr/share/xpra/www'
2020-03-11 14:31:13,252 OpenGL is supported on display ':2'
2020-03-11 14:31:13,252  using 'llvmpipe (LLVM 7.0, 256 bits)' renderer
2020-03-11 14:31:13,303 started command 'guake' with pid 3332
2020-03-11 14:31:13,415 xpra is ready.
2020-03-11 14:31:13,416 xpra GTK2 X11 version 3.0.6-25195 64-bit
2020-03-11 14:31:13,481  uid=1000 (user1), gid=1000 (user1)
2020-03-11 14:31:13,481  running with pid 3285
2020-03-11 14:31:13,482  connected to X11 display :2 with 24 bit colors
2020-03-11 14:31:13,704 New unix-domain connection received
2020-03-11 14:31:13,704  on '/run/user/1000/xpra/ANONYMOUS-2'
2020-03-11 14:31:14,461 New unix-domain connection received
2020-03-11 14:31:14,461  on '/run/user/1000/xpra/ANONYMOUS-2'
2020-03-11 14:31:14,678 3.8GB of system memory
2020-03-11 14:31:14,870 New unix-domain connection received
2020-03-11 14:31:14,871  on '/run/user/1000/xpra/ANONYMOUS-2'
2020-03-11 14:31:14,877 New unix-domain connection received
2020-03-11 14:31:14,877  on '/run/user/1000/xpra/ANONYMOUS-2'
2020-03-11 14:31:16,010 New unix-domain connection received
2020-03-11 14:31:16,010  on '/run/user/1000/xpra/ANONYMOUS-2'

:3.log

2020-03-11 14:31:15,404 cannot use uinput for virtual devices:
2020-03-11 14:31:15,404  [Errno 2] Failed to open the uinput device: No such file or directory. Perhaps load the uinput kernel module first?
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-957.1.3.el7.x86_64 
Current Operating System: Linux ANONYMOUS 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.12.1.el7.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8
Build Date: 09 August 2019  03:27:09AM
Build ID: xorg-x11-server 1.20.4-7.el7 
Current version of pixman: 0.34.0
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/run/user/1000/xpra/Xorg.S3549.log", Time: Wed Mar 11 14:31:15 2020
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2020-03-11 14:31:18,628 created unix domain socket '/run/user/1000/xpra/ANONYMOUS-3'
2020-03-11 14:31:18,628 cannot create group socket '/run/xpra/ANONYMOUS-3'
2020-03-11 14:31:18,628  [Errno 13] Permission denied
2020-03-11 14:31:18,629 Warning: missing sound module
2020-03-11 14:31:18,690 pointer device emulation using XTest
2020-03-11 14:31:18,699 serving html content from '/usr/share/xpra/www'
2020-03-11 14:31:19,513 OpenGL is supported on display ':3'
2020-03-11 14:31:19,513  using 'llvmpipe (LLVM 7.0, 256 bits)' renderer
2020-03-11 14:31:19,585 started command 'guake' with pid 3602
2020-03-11 14:31:19,709 xpra is ready.
2020-03-11 14:31:19,710 xpra GTK2 X11 version 3.0.6-25195 64-bit
2020-03-11 14:31:19,780  uid=1000 (user1), gid=1000 (user1)
2020-03-11 14:31:19,780  running with pid 3558
2020-03-11 14:31:19,780  connected to X11 display :3 with 24 bit colors
2020-03-11 14:31:20,008 New unix-domain connection received
2020-03-11 14:31:20,009  on '/run/user/1000/xpra/ANONYMOUS-3'
2020-03-11 14:31:20,134 New unix-domain connection received
2020-03-11 14:31:20,135  on '/run/user/1000/xpra/ANONYMOUS-3'
2020-03-11 14:31:20,137 Handshake complete; enabling connection
2020-03-11 14:31:20,337  automatic picture encoding enabled, also available:
2020-03-11 14:31:20,337   rgb32
2020-03-11 14:31:20,339 HTML5 Microsoft Windows Firefox client version 3.0.6
2020-03-11 14:31:20,339   as 'user1'
2020-03-11 14:31:20,339  via Linux 3.10.0-1062.12.1.el7.x86_64 proxy version 3.0.6 on 'ANONYMOUS'
2020-03-11 14:31:20,421 setting keyboard layout to 'us'
2020-03-11 14:31:20,487 waiting for initialization thread to complete
2020-03-11 14:31:20,802 New unix-domain connection received
2020-03-11 14:31:20,803  on '/run/user/1000/xpra/ANONYMOUS-3'
2020-03-11 14:31:21,139 3.8GB of system memory
2020-03-11 14:31:21,191 New unix-domain connection received
2020-03-11 14:31:21,191  on '/run/user/1000/xpra/ANONYMOUS-3'
2020-03-11 14:31:21,196  client root window size is 883x793 with 1 display:
2020-03-11 14:31:21,197   HTML (234x210 mm - DPI: 95x95)
2020-03-11 14:31:21,197     Canvas
2020-03-11 14:31:21,199 Error writing fake xinerama file '/root/.None-fakexinerama':
2020-03-11 14:31:21,199  [Errno 13] Permission denied: '/root/.None-fakexinerama'
2020-03-11 14:31:21,199 Error writing fake xinerama file '/root/.fakexinerama':
2020-03-11 14:31:21,199  [Errno 13] Permission denied: '/root/.fakexinerama'
2020-03-11 14:31:21,235 server virtual display now set to 832x768 (best match for 883x793)
2020-03-11 14:31:21,300 DPI set to 96 x 96
2020-03-11 14:31:21,690 client   1 received xdg start menu data
2020-03-11 14:31:21,702 client   1 startup complete
2020-03-11 14:31:21,704 client   1 connection-established
2020-03-11 14:32:12,320 Error writing fake xinerama file '/root/.None-fakexinerama':
2020-03-11 14:32:12,321  [Errno 13] Permission denied: '/root/.None-fakexinerama'
2020-03-11 14:32:12,321 Error writing fake xinerama file '/root/.fakexinerama':
2020-03-11 14:32:12,321  [Errno 13] Permission denied: '/root/.fakexinerama'
2020-03-11 14:32:12,323 temporarily switching to 768x832 as a Xinerama workaround
2020-03-11 14:32:12,401 server virtual display now set to 832x768 (best match for 883x781)
2020-03-11 14:32:12,401 received updated display dimensions
2020-03-11 14:32:12,401 client display size is 883x781 with 1 screen:
2020-03-11 14:32:12,401   HTML (234x207 mm - DPI: 95x95)
2020-03-11 14:32:12,401     Canvas
2020-03-11 14:32:12,404 DPI set to 96 x 96

What version and OS are you running? etc Please see ReportingBugs

XPRA version: xpra-3.0.6-0.r25195xpra2.el7_7.x86_6 OS: CentOS Linux 7 (3.10.0-1062.12.1.el7.x86_64)

totaam commented 4 years ago

2020-03-11 18:17:38: mdeve commented


In addition, this is the log of /var/log/messages, the session restarted 14:30 Kindly check the attachment for Xorg session log

Mar 11 14:23:12 ANA xpra: proxy video encoders: none
Mar 11 14:31:07 ANA xpra: stopping threaded proxy instance
Mar 11 14:31:07 ANA xpra: client connection lost
Mar 11 14:31:07 ANA xpra: stopping threaded proxy instance
Mar 11 14:31:08 ANA xpra: Authentication required by PAM authenticator module 1
Mar 11 14:31:08 ANA xpra: sending challenge for username 'user1' using xor digest
Mar 11 14:31:08 ANA dbus[1142]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Mar 11 14:31:08 ANA systemd: Starting Fingerprint Authentication Daemon...
Mar 11 14:31:08 ANA dbus[1142]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 11 14:31:08 ANA systemd: Started Fingerprint Authentication Daemon.
Mar 11 14:31:09 ANA systemd: Started Session 5 of user user1.
Mar 11 14:31:09 ANA xpra: Entering daemon mode; any further errors will be reported to:
Mar 11 14:31:09 ANA xpra: /run/user/1000/xpra/S3276.log
Mar 11 14:31:12 ANA xpra: Actual display used: :2
Mar 11 14:31:12 ANA xpra: Actual log file name is now: /run/user/1000/xpra/:2.log
Mar 11 14:31:12 ANA xpra: unknown or invalid packet type: 'sound-control' from WebSocket(wss socket: ::ffff:192.168.0.38, 14500, 0, 0 <- ::ffff:192.168.0.13, 32554, 0, 0)
Mar 11 14:31:13 ANA dbus[1142]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Mar 11 14:31:13 ANA dbus[1142]: [system] Successfully activated service 'org.freedesktop.problems'
Mar 11 14:31:13 ANA xpra: Error starting proxy instance process:
Mar 11 14:31:13 ANA xpra: cannot steal a closed connection
Mar 11 14:31:13 ANA xpra: Exception in thread start_proxy(WebSocket(None)):
Mar 11 14:31:13 ANA xpra: Traceback (most recent call last):
Mar 11 14:31:13 ANA xpra: File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
Mar 11 14:31:13 ANA xpra: self.run()
Mar 11 14:31:13 ANA xpra: File "/usr/lib64/python2.7/threading.py", line 765, in run
Mar 11 14:31:13 ANA xpra: self.__target(*self.__args, **self.__kwargs)
Mar 11 14:31:13 ANA xpra: File "/usr/lib64/python2.7/site-packages/xpra/server/proxy/proxy_server.py", line 477, in start_proxy_process
Mar 11 14:31:13 ANA xpra: client_conn.close()
Mar 11 14:31:13 ANA xpra: UnboundLocalError: local variable 'client_conn' referenced before assignment
Mar 11 14:31:14 ANA xpra: Authentication required by PAM authenticator module 1
Mar 11 14:31:14 ANA xpra: sending challenge for username 'user1' using xor digest
Mar 11 14:31:15 ANA systemd: Started Session 6 of user user1.
Mar 11 14:31:15 ANA xpra: Entering daemon mode; any further errors will be reported to:
Mar 11 14:31:15 ANA xpra: /run/user/1000/xpra/S3549.log
Mar 11 14:31:18 ANA xpra: Actual display used: :3
Mar 11 14:31:18 ANA xpra: Actual log file name is now: /run/user/1000/xpra/:3.log
Mar 11 14:31:20 ANA xpra: using threaded mode for wss client connection
Mar 11 14:31:20 ANA xpra: started threaded proxy instance
Mar 11 14:31:20 ANA xpra: for client wss socket: ::ffff:192.168.0.38, 14500, 0, 0 <- ::ffff:192.168.0.13, 32564, 0, 0
Mar 11 14:31:20 ANA xpra: and server unix-domain socket:  <- /run/user/1000/xpra/ANA.com-3
Mar 11 14:31:20 ANA xpra: proxy video encoders: none
totaam commented 4 years ago

2020-03-11 18:20:01: mdeve uploaded file Xorg.Session.log (349.0 KiB)

totaam commented 4 years ago

2020-03-12 06:18:13: antoine commented


Please see ReportingBugs. I see some odd things:

automatic picture encoding enabled, also available:
 rgb32
Error writing fake xinerama file '/root/.None-fakexinerama':
 [Errno 13] Permission denied: '/root/.None-fakexinerama'

Which tells me you're doing something strange, but you're not including the command lines you used.

 via Linux 3.10.0-1062.12.1.el7.x86_64 proxy version 3.0.6 on 'ANONYMOUS'

So you're connecting via the proxy? What command line, etc? Does the problem still occur if you connect directly?

/usr/lib/python2.7/site-packages/guake/guake_app.py:883: GtkWarning: IA__gtk_window_set_type_hint: assertion '!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
  self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)

Is this guake? Does that trigger the problem?

totaam commented 4 years ago

2020-03-12 16:34:25: mdeve commented


Hi,

I didn't used a command, I just add the configuration in xpra.conf as the following:

start-child=opnet
exit-with-children=yes
html=on
printing=no
mdns=no
notifications=no
webcam=no
start-via-proxy=no
systemd-run=no
dbus-proxy=no
dbus-control=no
dbus-launch=no
ssl-cert=/etc/xpra/ssl-cert.pem
ssl-client-verify-mode=none
xvfb=xpra_Xdummy -dpi 96 -noreset -novtswitch -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile ${XPRA_LOG_DIR}/Xorg.${DISPLAY}.log -configdir ${XDG_RUNTIME_DIR}/xpra/xorg.conf.d/$PID -config /etc/xpra/xorg.conf

I tried connect directly using the command; still the same issue;

xpra start --bind-tcp=0.0.0.0:10000 --start=opnet --tcp-auth=sys 

I used Guake terminal becuase first I tried to run the OPNET application directly, then I used xterm and lastly I used Guake the run the the OPNET application and all give me the same issue.

Please also see the output of xpra showconfig command:

add-printer-options            = '-E', '-o printer-is-shared=false', '-u allow:$USER'
attach                         = 
auth                           = 
auto-refresh-delay             = 0.15
av-sync                        = True
bandwidth-detection            = True
bandwidth-limit                = 'auto'
bell                           = True
bind                           = 'auto'
bind-rfb                       = 
bind-ssh                       = 
bind-ssl                       = 
bind-tcp                       = 
bind-udp                       = 
bind-vsock                     = 
bind-ws                        = 
bind-wss                       = 
border                         = 'auto,5:off'
challenge-handlers             = 'all'
chdir                          = ''
clipboard                      = 'yes'
clipboard-direction            = 'both'
clipboard-filter-file           = ''
compression_level              = 1
compressors                    = 'lz4', 'lzo', 'zlib', 'brotli'
csc-modules                    = 'swscale', 'libyuv'
cursors                        = True
daemon                         = True
dbus-control          (used)   = False                             <type 'bool'>
dbus-control         (default) = True                              <type 'bool'>
dbus-launch           (used)   = 'no'                              <type 'str'>
dbus-launch          (default) = 'dbus-launch --sh-syntax --close-stderr'  <type 'str'>
dbus-proxy            (used)   = False                             <type 'bool'>
dbus-proxy           (default) = True                              <type 'bool'>
debug                          = ''
delay-tray                     = False
desktop-fullscreen             = False
desktop-scaling                = 'auto'
display                        = ''
displayfd                      = 0
download-path                  = '~/Downloads'
dpi                   (used)   = 96                                <type 'int'>
dpi                  (default) = 0                                 <type 'int'>
encoding                       = 'auto'
encodings                      = 'h264', 'vp9', 'vp8', 'mpeg4', 'mpeg4+mp4', 'h264+mp4', 'vp8+webm', 'vp9+webm', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265', 'mpeg1', 'mpeg2'
encryption                     = ''
encryption-keyfile             = ''
env                            = 
exec-wrapper                   = ''
exit-ssh                       = True
exit-with-children    (used)   = True                              <type 'bool'>
exit-with-children   (default) = False                             <type 'bool'>
exit-with-client               = False
fake-xinerama                  = '/usr/lib64/libfakeXinerama.so.1.0'
file-size-limit                = 100
file-transfer                  = 'auto'
forward-xdg-open               = True
gid                            = 0
global-menus                   = True
html                  (used)   = 'on'                              <type 'str'>
html                 (default) = 'auto'                            <type 'str'>
idle-timeout                   = 0
input-devices                  = 'auto'
input-method                   = 'none'
key-shortcut                   = 'Control+Menu:toggle_keyboard_grab', 'Shift+Menu:toggle_pointer_grab', 'Shift+F11:toggle_fullscreen', '#+F1:show_menu', '#+F2:show_start_new_command', '#+F3:show_bug_report', '#+F4:quit', '#+F5:increase_quality', '#+F6:decrease_quality', '#+F7:increase_speed', '#+F8:decrease_speed', '#+F10:magic_key', '#+F11:show_session_info', '#+F12:toggle_debug', '#+plus:scaleup', '#+minus:scaledown', '#+underscore:scaledown', '#+KP_Add:scaleup', '#+KP_Subtract:scaledown', '#+KP_Multiply:scalereset', '#+bar:scalereset', '#+question:scalingoff'
keyboard-layout                = ''
keyboard-layouts               = 
keyboard-options               = ''
keyboard-raw                   = False
keyboard-sync                  = True
keyboard-variant               = ''
keyboard-variants              = 
local-clipboard                = 'CLIPBOARD'
lock                           = 
log-dir                        = 'auto'
log-file                       = '$DISPLAY.log'
lpadmin                        = '/usr/sbin/lpadmin'
lpinfo                         = '/usr/sbin/lpinfo'
max-size                       = ''
mdns                  (used)   = False                             <type 'bool'>
mdns                 (default) = True                              <type 'bool'>
microphone            (used)   = 'off'                             <type 'str'>
microphone           (default) = 'disabled'                        <type 'str'>
microphone-codec               = 
min-port                       = 1024
min-quality                    = 30
min-size                       = ''
min-speed                      = 30
mmap                           = 'yes'
mmap-group                     = 'auto'
modal-windows                  = True
mousewheel                     = 'on'
notifications         (used)   = False                             <type 'bool'>
notifications        (default) = True                              <type 'bool'>
open-command                   = '/usr/bin/xdg-open'
open-files                     = 'auto'
open-url                       = 'auto'
opengl                         = 'probe'
packet-encoders                = 'rencode', 'bencode', 'yaml'
password                       = ''
password-file                  = 
pdf-printer                    = '/usr/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd'
pidfile                        = ''
pings                          = 5
pixel-depth                    = 0
postscript-printer             = 'drv:///sample.drv/generic.ppd'
printing              (used)   = 'no'                              <type 'str'>
printing             (default) = 'yes'                             <type 'str'>
proxy-start-sessions           = True
proxy-video-encoders           = 
pulseaudio                     = 
pulseaudio-command             = 'pulseaudio --start -n --daemonize=false --system=false --exit-idle-time=-1 --load=module-suspend-on-idle '--load=module-null-sink sink_name="Xpra-Speaker" sink_properties=device.description="Xpra\ Speaker"' '--load=module-null-sink sink_name="Xpra-Microphone" sink_properties=device.description="Xpra\ Microphone"' '--load=module-native-protocol-unix socket=$XPRA_PULSE_SERVER' --load=module-dbus-protocol --load=module-x11-publish --log-level=2 --log-target=stderr --enable-memfd=no'
pulseaudio-configure-commands           = 'pactl set-default-sink Xpra-Speaker', 'pactl set-default-source Xpra-Microphone.monitor'
quality                        = 0
readonly                       = False
remote-clipboard               = 'CLIPBOARD'
remote-logging                 = 'both'
remote-xpra                    = '$XDG_RUNTIME_DIR/xpra/run-xpra', 'xpra', '/usr/local/bin/xpra', '~/.xpra/run-xpra'
resize_display                 = True
rfb-auth                       = 
rfb-upgrade                    = 5
server-idle-timeout            = 0
session-name                   = ''
sharing                        = 
shortcut-modifiers             = 'auto'
socket-dir                     = ''
socket-dirs                    = '/run/user/$UID/xpra', '/run/xpra'
socket-permissions             = '600'
sound-source                   = ''
speaker               (used)   = 'on'                              <type 'str'>
speaker              (default) = 'disabled'                        <type 'str'>
speaker-codec                  = 
speed                          = 0
ssh                            = 'auto'
ssh-auth                       = 
ssh-upgrade                    = True
ssl                            = 'auto'
ssl-auth                       = 
ssl-ca-certs                   = 'default'
ssl-ca-data                    = ''
ssl-cert              (used)   = '/etc/xpra/ssl-cert.pem'          <type 'str'>
ssl-cert             (default) = ''                                <type 'str'>
ssl-check-hostname             = False
ssl-ciphers                    = 'DEFAULT'
ssl-client-verify-mode  (used)   = 'none'                            <type 'str'>
ssl-client-verify-mode (default) = 'optional'                        <type 'str'>
ssl-key                        = ''
ssl-options                    = 'ALL,NO_COMPRESSION'
ssl-protocol                   = 'SSLv23'
ssl-server-hostname            = 'localhost'
ssl-server-verify-mode           = 'required'
ssl-verify-flags               = 'X509_STRICT'
start                          = 
start-after-connect            = 
start-child           (used)   = 'opnet'                         <type 'list'>
start-child          (default) =                                   <type 'list'>
start-child-after-connect           = 
start-child-on-connect           = 
start-child-on-last-client-exit           = 
start-env                      = '#avoid Ubuntu's global menu, which is a mess and cannot be forwarded:', 'UBUNTU_MENUPROXY=', 'QT_X11_NO_NATIVE_MENUBAR=1', '#fix for MainSoft's MainWin buggy window management:', 'MWNOCAPTURE=true', 'MWNO_RIT=true', 'MWWM=allwm', '#force GTK3 applications to use X11 so we can intercept them:', 'GDK_BACKEND=x11', '#force Qt applications to use X11 so we can intercept them:', 'QT_QPA_PLATFORM=xcb', '#overlay scrollbars complicate things:GTK_OVERLAY_SCROLLING=0', '#some versions of GTK3 honour this option, sadly not all:', 'GTK_CSD=0', '#silence some AT-SPI and atk-bridge warnings:', 'NO_AT_BRIDGE=1'
start-new-commands             = True
start-on-connect               = 
start-on-last-client-exit           = 
start-via-proxy                = False
sync-xvfb                      = 0
system-proxy-socket            = '/run/xpra/system'
system-tray                    = True
systemd-run                    = 'no'
systemd-run-args               = ''
tcp-auth                       = 
tcp-encryption                 = ''
tcp-encryption-keyfile           = ''
tcp-proxy                      = ''
terminate-children             = False
title                          = '@title@ on @client-machine@'
tray                           = True
tray-icon                      = ''
udp-auth                       = 
uid                            = 0
use-display                    = False
username                       = 'root'
video-decoders                 = 'avcodec2', 'vpx'
video-encoders                 = 'x264', 'vpx', 'nvenc', 'ffmpeg'
video-scaling                  = 'auto'
vsock-auth                     = 
webcam                (used)   = 'no'                              <type 'str'>
webcam               (default) = 'auto'                            <type 'str'>
window-close                   = 'auto'
window-icon                    = ''
windows                        = True
wm-name                        = 'Xpra'
ws-auth                        = 
wss-auth                       = 
xsettings                      = True
xvfb                  (used)   = 'xpra_Xdummy -dpi 100 -noreset -novtswitch -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile ${XPRA_LOG_DIR}/Xorg.${DISPLAY}.log -configdir ${XDG_RUNTIME_DIR}/xpra/xorg.conf.d/$PID -config /etc/xpra/xorg.conf'  <type 'str'>
xvfb                 (default) = 'xpra_Xdummy -noreset -novtswitch -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile ${XPRA_LOG_DIR}/Xorg.${DISPLAY}.log -configdir ${XDG_RUNTIME_DIR}/xpra/xorg.conf.d/$PID -config /etc/xpra/xorg.conf'  <type 'str'>
totaam commented 4 years ago

2020-03-12 17:11:51: antoine commented


As per comment:5, why were / are you connecting via the proxy?

If I can't reproduce the bug with an application I have access to, opnet or any other, then I will have to close this bug as needinfo.

totaam commented 4 years ago

2020-03-18 08:51:39: antoine set resolution to needinfo