RandomCoderOrg / ubuntu-on-android

Run Ubuntu with pre-installed Desktop Environments in android/termux with ease! Everything is preinstalled so just download install and done🚀🚀
https://udroid-rc.gitbook.io
MIT License
1.13k stars 82 forks source link

xfce crashes or fails to start, various errors #239

Closed vanarok closed 8 months ago

vanarok commented 9 months ago

What I'm doing:

apt update && apt install git -y
git clone https://github.com/RandomCoderOrg/fs-manager-udroid
cd fs-manager-udroid
bash install.sh
udroid install jammy:xfce4
udroid login jammy:xfce4
termux-x11 :0 &
udroid login jammy:xfce4 
export DIPLAY=:0
startxfce4

and I get the output:

/usr/bin/startxfce4: Starting X server

(EE)
Fatal server error:
(EE) Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE)

я удаляю .X0-lock и еще раз запускаю:

[config] failed to pre-init udev

X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost 5.4.2-proot-facked #1 SMP PREEMPT Thu Feb 9 13:08:46 UTC 2023 aarch64
xorg-server 2:21.1.3-2ubuntu2.5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.40.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: "/var/log/Xorg.0.log", Time: Sun Dec 10 09:46:40 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

I managed to start it once, saw the desktop, but it immediately crashed out and never started again.

vanarok commented 9 months ago

https://udroid-rc.gitbook.io/udroid-wiki/udroid-landing/setting-up-gui/termux-x11 Screenshot_2023-12-10-15-52-59-163_com kiwibrowser browser-edit

23xvx commented 9 months ago

https://udroid-rc.gitbook.io/udroid-wiki/udroid-landing/setting-up-gui/termux-x11 Screenshot_2023-12-10-15-52-59-163_com kiwibrowser browser-edit

This is a typo It should be DISPLAY instead of DIPLAY Show just use this to start xfce


export DISPLAY=:0
startxfce4
stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 8 months ago

Time to close this BrownSpiffyEmperorshrimp-size_restricted