Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xpra unstable and/or crashing from Windows10 to Centos 7 and 8 #3834

Closed
robertosussex opened this issue Apr 23, 2023 · 10 comments
Closed

Xpra unstable and/or crashing from Windows10 to Centos 7 and 8 #3834

robertosussex opened this issue Apr 23, 2023 · 10 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@robertosussex
Copy link

robertosussex commented Apr 23, 2023

When using Xpra from Windows 10 VM to connect/attach to a server started on a Centos VM (both Azure Virtual Machines)
the forwarded Xsession is unstable for instance:

To Reproduce
Steps to reproduce the behavior:

  1. xpra start --opengl=no --start=xterm (on Centos 7,8 VM)
  2. Xpra connect using ssh
  3. using the created xterm for instance writing on it etc

System Information (please complete the following information):

  • Server OS: [e.g. Centos 8.7 ]
  • Client OS: [e.g. Windows 10]
  • Xpra Server Version [e.g. 4.4.3]
  • Xpra Client Version [e.g. 4.4.4]

Additional context
Add any other context about the problem here.
Please see "reporting bugs" in the wiki section.

@robertosussex robertosussex added the bug Something isn't working label Apr 23, 2023
@totaam
Copy link
Collaborator

totaam commented Apr 24, 2023

Please include the server log file and anything else that is different or unusual about this installation.
xterm is the most tested application, a crash such as this one would surely have been spotted by now.

Please also fill in the details about the versions you have installed.
Did you mean CentOS 7.8? Why not 7.9?
How did you install xpra 4.4.3 on it?

@robertosussex
Copy link
Author

Hi,

I meant that I tried with both Centos7 and Centos8.
In installed Xpra on Centos using

image

I installed it on Windows using the package installer

Regarding the logs which files in particular do I need to look at ?

@totaam
Copy link
Collaborator

totaam commented Apr 24, 2023

So you have tried both 3.1.4 (on CentOS 7) and 4.4.4 (on CentOS 8), right?
And both "crash"?

The server log location is shown when you issue the xpra start command on the server.
If you don't know about it then I am tempted to think that maybe the server did not "crash", maybe you just lost the connection and you should be able to re-connect to the session you had created.
What is the client output when you run it from the command line?
ie:

Xpra_cmd.exe attach ssh://user@host/DISPLAY

@robertosussex
Copy link
Author

Thanks.
I will run another test and enclose logs etc

@robertosussex
Copy link
Author

Installed_XPRA_test.pdf
Please find attached the results of our tests.
After an initial success in forwarding a simple xterm session from the linux server. The Xpra client froze.
Any idea?

@robertosussex
Copy link
Author

It does work if the server IS stopped on the Linux machine with xpra stop and then started again.
Should it not xpra be able to reattach after closing the client session?

@totaam
Copy link
Collaborator

totaam commented Apr 26, 2023

Re-attach is not meant to be a problem, neither is sharing.
Why on earth are you putting useful data in a PDF instead of directly into this ticket?
Anyway, the server log is still missing.
And please try CentOS 8 or 9 rather than 7 which is very close to its EOL.

@robertosussex
Copy link
Author

robertosussex commented Apr 26, 2023

2023-04-26 17:50:19,951 Error: cannot enable SSH socket upgrades:
2023-04-26 17:50:19,951  No module named paramiko
2023-04-26 17:50:19,953 cannot access python uinput module:
2023-04-26 17:50:19,953  No module named uinput

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 robertotestheeds 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1160.88.1.el7.x86_64 root=UUID=bc2b0e8b-9a1d-4fb3-9a78-a88226cabb45 ro console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0 scsi_mod.use_blk_mq=y crashkernel=auto LANG=en_US.UTF-8
Build Date: 05 April 2023  01:48:15PM
Build ID: xorg-x11-server 1.20.4-23.el7_9 
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.:11.log", Time: Wed Apr 26 17:50:20 2023
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
2023-04-26 17:50:23,657 created unix domain socket '/run/user/1000/xpra/robertotestheeds-11'
2023-04-26 17:50:23,658 cannot create group socket '/run/xpra/robertotestheeds-11'
2023-04-26 17:50:23,658  [Errno 13] Permission denied
2023-04-26 17:50:23,658 created unix domain socket '/home/roberto_scipioni/.xpra/robertotestheeds-11'
2023-04-26 17:50:23,658 Warning: missing sound module
2023-04-26 17:50:23,716 pointer device emulation using XTest
2023-04-26 17:50:23,728 serving html content from '/usr/share/xpra/www'
2023-04-26 17:50:24,302 OpenGL is supported on display ':11'
2023-04-26 17:50:24,302  using 'llvmpipe (LLVM 7.0, 256 bits)' renderer
2023-04-26 17:50:24,368 D-Bus notification forwarding is available
2023-04-26 17:50:24,410 Warning: webcam forwarding is disabled
2023-04-26 17:50:24,410  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2023-04-26 17:50:24,410  make sure that the 'v4l2loopback' kernel module is installed and loaded
2023-04-26 17:50:24,410 found 0 virtual video devices for webcam forwarding
2023-04-26 17:50:24,527 xpra is ready.
2023-04-26 17:50:24,528 Error: lpinfo command failed to run
2023-04-26 17:50:24,528  [Errno 2] No such file or directory
2023-04-26 17:50:24,529  command used: '/usr/sbin/lpinfo --make-and-model Generic PDF Printer -m'
2023-04-26 17:50:24,541 xpra GTK2 X11 version 3.1.4-r3M 64-bit
2023-04-26 17:50:24,571  uid=1000 (roberto_scipioni), gid=1000 (roberto_scipioni)
2023-04-26 17:50:24,572  running with pid 10182 on Linux CentOS Linux 7.9.2009 Core
2023-04-26 17:50:24,572  connected to X11 display :11 with 24 bit colors
2023-04-26 17:50:24,582 Error: lpinfo command failed to run
2023-04-26 17:50:24,582  [Errno 2] No such file or directory
2023-04-26 17:50:24,582  command used: '/usr/sbin/lpinfo --make-and-model Generic PostScript Printer -m'
2023-04-26 17:50:24,583 printer forwarding enabled using pdf
2023-04-26 17:50:24,628 started command 'xterm' with pid 10214
2023-04-26 17:50:24,628 Warning: cannot watch for application menu changes without pyinotify:
2023-04-26 17:50:24,628  No module named pyinotify
2023-04-26 17:50:24,629 Warning: cannot load menu data
2023-04-26 17:50:24,629  No module named xdg.Menu
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
2023-04-26 17:50:24,773 ffmpeg: vp8+webm encoding failed: could not open vp8+webm encoder context: Invalid argument
2023-04-26 17:50:24,787 Error importing nvjpeg encoder (enc_nvjpeg)
2023-04-26 17:50:24,787  libnvjpeg.so.11: cannot open shared object file: No such file or directory
2023-04-26 17:50:24,808 3.2GB of system memory

Here is the server log. Let me know what you make out of it

@robertosussex
Copy link
Author

We were not able to install xpra on Centos 8.1 and 8.5 too many unresolved dependencies.
What is the best way to install xpra on those machines?
Thanks

@totaam
Copy link
Collaborator

totaam commented Apr 27, 2023

Here is the server log. Let me know what you make out of it

First, I am left to guess what the command line was and since I had to clean up the formatting and the terminal escape sequences, this looks like a terminal copy rather than a copy of the log file.
Second, there are no connection attempts in this log file, not even from xpra stop, and definitely no crash either - so not very useful.

We were not able to install xpra on Centos 8.1 and 8.5 too many unresolved dependencies.

CentOS 8 is EOL: https://www.centos.org/centos-linux-eol/
The repositories are designed for the "current" version of RHEL and clones, which at time of writing is 8.7 for the 8.x branch.
There are ABI compatibility issues with older versions, so that's probably the problem you are seeing there.
Use a supported and up to date OS.
Although older builds exist for older releases of CentOS - these are not supported.

I am probably going to close this ticket as invalid.

@totaam totaam added the invalid This doesn't seem right label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants