make Xephyr default for --x11 obption - currently Xpra is not available in Debian/Ubuntu and derivatives

This commit is contained in:
netblue30 2026-01-17 09:49:20 -05:00
parent 324010c1ae
commit cbb7a38978
2 changed files with 4 additions and 4 deletions

View file

@ -1163,10 +1163,10 @@ void x11_start(int argc, char **argv) {
}
// check xpra
if (program_in_path("xpra"))
x11_start_xpra(argc, argv);
else if (program_in_path("Xephyr"))
if (program_in_path("Xephyr"))
x11_start_xephyr(argc, argv);
else if (program_in_path("xpra"))
x11_start_xpra(argc, argv);
else {
fprintf(stderr, "\nError: Xpra or Xephyr not found in /usr/bin directory, please install one of them:\n");
fprintf(stderr, " Debian/Ubuntu/Mint: sudo apt-get install xpra\n");

View file

@ -3297,7 +3297,7 @@ $ sudo firejail \-\-writable\-var\-log
Sandbox the application using Xpra, Xephyr, Xvfb or Xorg security extension.
The sandbox will prevent screenshot and keylogger applications started inside the sandbox from accessing
clients running outside the sandbox.
Firejail will try Xpra first, and if Xpra is not installed on the system, it will try to find Xephyr.
Firejail will try Xephyr first, and if Xephyr is not installed on the system, it will try to find Xpra.
If all fails, Firejail will not attempt to use Xvfb or X11 security extension.
.br