run_scaled
run_scaled copied to clipboard
xpra: cannot find live server for display
Manjaro Linux / fresh install / nvidia non-free driver
[pciavald@macpro-manjaro paper]$ run_scaled --scale=0.5 google-chrome-beta
Warning: cannot use the system proxy for 'start' subcommand,
failed to connect to '/run/xpra/system':
[Errno 2] No such file or directory
more information may be available in your system log
Entering daemon mode; any further errors will be reported to:
/run/user/1000/xpra/:7435660.log
2018-10-23 01:44:11,289 Warning: zlib is the only compressor enabled
2018-10-23 01:44:11,289 install and enable lzo or lz4 support for better performance
2018-10-23 01:44:11,289 Xpra gtk2 client version 2.3.4-r20510 64-bit
2018-10-23 01:44:11,290 running on Linux ManjaroLinux 18.0.0-rc Illyria
2018-10-23 01:44:11,292 Warning: failed to import opencv:
2018-10-23 01:44:11,292 No module named cv2
2018-10-23 01:44:11,292 webcam forwarding is disabled
Warning: failed to import GStreamer 1.x:
No module named gi
2018-10-23 01:44:12,045 Error: failed to query sound subsystem:
2018-10-23 01:44:12,045 query did not return any data
2018-10-23 01:44:13,201 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
2018-10-23 01:44:13,593 OpenGL enabled with GeForce GTX 1050 Ti/PCIe/SSE2
2018-10-23 01:44:13,594 Error setting up dbus signals:
2018-10-23 01:44:13,594 No module named dbus.mainloop.glib
2018-10-23 01:44:13,612 Error: printing disabled:
2018-10-23 01:44:13,613 No module named cups
xpra initialization error:
cannot find live server for display :7435660
xpra initialization error:
cannot find live server for display :7435660
Error is displayed on the terminal when starting apps (tried chrome, vscode). Chrome still starts but with the same resolution as standalone.
Same issue here,
Warning: cannot use the system proxy for 'start' subcommand, failed to connect to '/run/xpra/system': [Errno 111] Connection refused more information may be available in your system log Entering daemon mode; any further errors will be reported to: /run/user/1000/xpra/:72317770.log 2018-10-24 12:57:15,612 Xpra gtk2 client version 2.3.4-r20510 64-bit 2018-10-24 12:57:15,613 running on Linux ManjaroLinux 18.0.0-rc Illyria 2018-10-24 12:57:15,614 Warning: failed to import opencv: 2018-10-24 12:57:15,614 No module named cv2 2018-10-24 12:57:15,615 webcam forwarding is disabled Warning: failed to import GStreamer 1.x: No module named gi 2018-10-24 12:57:16,145 Error: failed to query sound subsystem: 2018-10-24 12:57:16,145 query did not return any data 2018-10-24 12:57:16,948 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate 2018-10-24 12:57:17,128 OpenGL enabled with Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 2018-10-24 12:57:17,129 Error setting up dbus signals: 2018-10-24 12:57:17,129 No module named dbus.mainloop.glib 2018-10-24 12:57:17,132 Error: printing disabled: 2018-10-24 12:57:17,132 No module named cups xpra initialization error: cannot find live server for display :72317770 xpra initialization error: cannot find live server for display :72317770
Try to use --sleep
flag
run_scaled --scale=0.5 --sleep=5 google-chrome-beta
Manjaro Linux / fresh install / nvidia non-free driver
[pciavald@macpro-manjaro paper]$ run_scaled --scale=0.5 google-chrome-beta Warning: cannot use the system proxy for 'start' subcommand, failed to connect to '/run/xpra/system': [Errno 2] No such file or directory more information may be available in your system log Entering daemon mode; any further errors will be reported to: /run/user/1000/xpra/:7435660.log 2018-10-23 01:44:11,289 Warning: zlib is the only compressor enabled 2018-10-23 01:44:11,289 install and enable lzo or lz4 support for better performance 2018-10-23 01:44:11,289 Xpra gtk2 client version 2.3.4-r20510 64-bit 2018-10-23 01:44:11,290 running on Linux ManjaroLinux 18.0.0-rc Illyria 2018-10-23 01:44:11,292 Warning: failed to import opencv: 2018-10-23 01:44:11,292 No module named cv2 2018-10-23 01:44:11,292 webcam forwarding is disabled Warning: failed to import GStreamer 1.x: No module named gi 2018-10-23 01:44:12,045 Error: failed to query sound subsystem: 2018-10-23 01:44:12,045 query did not return any data 2018-10-23 01:44:13,201 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate 2018-10-23 01:44:13,593 OpenGL enabled with GeForce GTX 1050 Ti/PCIe/SSE2 2018-10-23 01:44:13,594 Error setting up dbus signals: 2018-10-23 01:44:13,594 No module named dbus.mainloop.glib 2018-10-23 01:44:13,612 Error: printing disabled: 2018-10-23 01:44:13,613 No module named cups xpra initialization error: cannot find live server for display :7435660 xpra initialization error: cannot find live server for display :7435660
Error is displayed on the terminal when starting apps (tried chrome, vscode). Chrome still starts but with the same resolution as standalone.
And chrome has its own flag /usr/bin/google-chrome-stable --force-device-scale-factor=0.5
I am on Ubuntu 18.04 also experiencing this error. It does not appear that --sleep
has any effect (tried values of 1, 5, 10, and 100). It looks like its just failing to start the server to begin with.
Simply running xpra start
on my system also produces the same error.
Warning: cannot use the system proxy for 'start' subcommand,
failed to connect to '/run/xpra/system':
[Errno 2] No such file or directory
Same error on Ubuntu 18.04. Finding a solution at the moment.
May be a duplicate of #12 .
Does this issue persist?
Does this issue persist?
Yes. Still getting the same issue.
Same issue here (Debian 9.6 Stretch). $ ./run_scaled --scale=1.2 anki returns the following:
Warning: invalid option: 'shadow-fullscreen'
Entering daemon mode; any further errors will be reported to:
/home/um-li//.xpra/:59054316.log
Warning: invalid option: 'shadow-fullscreen'
2018-12-18 21:22:35,523 Xpra gtk2 client version 2.4.2-r21077 64-bit
2018-12-18 21:22:35,523 running on Linux Debian 9.6 stretch
2018-12-18 21:22:35,523 window manager is 'KWin'
2018-12-18 21:22:35,535 Warning: failed to import opencv:
2018-12-18 21:22:35,536 No module named cv2
2018-12-18 21:22:35,536 webcam forwarding is disabled
Warning: invalid option: 'shadow-fullscreen'
2018-12-18 21:22:35,872 GStreamer version 1.10.4 for Python 2.7.13 64-bit
2018-12-18 21:22:35,938 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
/usr/lib/python2.7/dist-packages/xpra/client/gl/gtk_base/gtkgl_check.py:142: GtkWarning: 无法在模块路径中找到主题引擎:“adwaita”,
w = gtk.Window()
2018-12-18 21:22:36,109 OpenGL enabled with Mesa DRI Intel(R) HD Graphics 620 (Kabylake GT2)
Warning: invalid option: 'shadow-fullscreen'
xpra initialization error:
cannot find live server for display :59054316
Warning: invalid option: 'shadow-fullscreen'
xpra initialization error:
cannot find live server for display :59054316```
Running bash -x run_scaled ...
for me helped identify the problem.
I discovered that the xpra
was exiting. Looking at its log:
$ more /home/joant/.xpra/:24349340.log
2019-01-05 02:19:23,641 Error starting Xvfb:
2019-01-05 02:19:23,641 [Errno 2] No such file or directory
On my (Debian stretch) system, sudo apt install xvfb
fixed everything.
Issue fixed for me.
As per the comment by @wohali , I looked at the log and installed the packages that were relevant to the error message. However, this might or might not be relevant to fixing the issue for me.
More importantly, what I found was that I needed to pass environment variables before ./run_scaled. Also, I needed to give --sleep option to let the wine application start. So instead of doing,
./run_scaled WINEPREFIX=/foo wine application_name
I had to do
WINEPREFIX=/foo ./run_scaled --sleep=20 wine application_name
software that might help resolve some errors are,
gst-python2 python2-pycups python2-dbus xorg-server-xvfb xpra
@kaueraal Please fix the dependency list
I was able to fix this by installing xpra from the official site, instead of from the default Ubuntu sources. They don't have fantastic instructions though: https://xpra.org/trac/wiki/Download#Linux
FYI: as of xpra v3, you don't have to sleep to connect to a socket client to retry to connect until it succeeds .
Per @wohali on Fedora, install xvfb via:
sudo dnf install xorg-x11-server-Xvfb
This solved this issue for me.
Hello folks,
I am using run_scaled in my ubuntu with VMD and I am still experiencing this error. This occurred after I installed xpra. I'm curious if somebody else is experiencing this. Thanks in advance!
(base) mbraza:run_scaled-master$ ./run_scaled vmd Warning: cannot use the system proxy for 'start' subcommand, failed to connect to '/run/xpra/system': [Errno 2] No such file or directory Entering daemon mode; any further errors will be reported to: /run/user/704015360/xpra/:26789853.log 2022-11-15 13:38:52,415 Xpra gtk2 client version 2.1.3-r17247M 64-bit 2022-11-15 13:38:52,415 running on Linux Ubuntu 18.04 bionic 2022-11-15 13:38:52,417 Warning: failed to import opencv: 2022-11-15 13:38:52,417 No module named cv2 2022-11-15 13:38:52,417 webcam forwarding is disabled 2022-11-15 13:38:53,603 GStreamer version 1.14.5 for Python 2.7.17 64-bit 2022-11-15 13:38:54,437 PyOpenGL warning: missing accelerate module 2022-11-15 13:38:54,600 OpenGL enabled with NVIDIA RTX A5000/PCIe/SSE2 2022-11-15 13:38:54,739 Error: printing disabled: 2022-11-15 13:38:54,739 No module named cups InitException: cannot find any live servers to connect to xpra initialization error: cannot find any live servers to connect to InitException: cannot find any live servers to connect to xpra initialization error: cannot find any live servers to connect to
Xpra gtk2 client version 2.1.3-r17247M 64-bit
@mackevinbraza don't use outdated versions, please also see https://github.com/Xpra-org/xpra/wiki/Distribution-Packages
Xpra directly includes an equivalent tool since version 4.1. It is also called run_scaled
and is part of the default Xpra installation.
Hence, this script here is deprecated and no longer maintained. I'm sorry that it took me quite long to officially announce it here. Thank you for your support and please continue your HiDPI journey with Xpra's tool!