0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-18 22:34:34 +00:00
Files
termux-packages/x11-packages/xfce4-session/disable-xinit-null-display.patch
Biswapriyo Nath 093d725cde bump(x11/xfce4-session): 4.20.0
* Remove unnecessary dont-update-icon-cache.patch file.
* Add required configure options explicitly for strict dependency checking.
2024-12-19 08:00:24 +00:00

21 lines
485 B
Diff

--- a/scripts/startxfce4.in
+++ b/scripts/startxfce4.in
@@ -114,14 +114,9 @@
if test "x$XFCE4_SESSION_COMPOSITOR" = "x"
then
- if test "x$DISPLAY" = "x"
- then
- echo "$0: Starting X server"
- prog=xinit
-
- if test ! "x$XDG_VTNR" = "x"; then
- SERVERRC="$SERVERRC vt$XDG_VTNR"
- fi
+ if test "x$DISPLAY" = "x"; then
+ echo "$0: Failed to connect to display"
+ exit 2
else
echo "$0: X server already running on display $DISPLAY"
prog=/bin/sh