Closed mguinhos closed 2 years ago
It is a fresh termux install.
Also, neither xinit and startx are there... so strange
Termux does not use native xorg display server. so to start startxfce4
. you must specify DISPLAY
variable or use xfce4-session
startxfce4
is a script and it starts xorg server automatically if there's no x11 server was present. then launches xfce4-session
if X was initialized
https://github.com/xfce-mirror/xfce4-session/blob/c7586056fbc9f2696cea0585754dfe83172b1ba4/scripts/startxfce4.in#L91
if test "x$DISPLAY" = "x"
then
echo "$0: Starting X server"
prog=xinit
if test ! "x$XDG_VTNR" = "x"; then
SERVERRC="vt$XDG_VTNR $SERVERRC"
fi
else
echo "$0: X server already running on display $DISPLAY"
prog=/bin/sh
fi
It was working before the last update, i think it should be patched for compatibility
that's probably because you set a DISPLAY variable. but i think i can sweep out any xinit
references for termux compatibilty
It is a fresh install! I think the problem is really the script that i got with the package. So patching will solve
I just created a fix to prevent calling xinit
when no display variable is set
Problem description
The startxfce4 script is not working, but xfce4-session works
What steps will reproduce the bug?
What is the expected behavior?
No response
System information
termux-info: