Termux-Desktops icon indicating copy to clipboard operation
Termux-Desktops copied to clipboard

server already running on display :0

Open ActuallyTheOwner opened this issue 1 year ago • 11 comments

I get the error server already running on display :0 when I run the proot script for debian I installed pulse audio and some more x11 stuff to fix, but could not ):

I am on a Samsung A535G

ActuallyTheOwner avatar Aug 19 '24 23:08 ActuallyTheOwner

Update, you must run the following pkg install termux-x11 :0 & then run export DISPLAY=:0

This should fix it!

ActuallyTheOwner avatar Aug 19 '24 23:08 ActuallyTheOwner

I think pm-utils is needed in debian, I keep randomly crashing

ActuallyTheOwner avatar Aug 20 '24 00:08 ActuallyTheOwner

I had to disable compositing as well

ActuallyTheOwner avatar Aug 20 '24 00:08 ActuallyTheOwner

These are my issues atm https://hastebin.com/share/fojatitiho.yaml

ActuallyTheOwner avatar Aug 20 '24 01:08 ActuallyTheOwner

Update, you must run the following pkg install termux-x11 :0 & then run export DISPLAY=:0

This should fix it!

Termux-x11 has no installation candidate. Any response appreciated

super-manis avatar Aug 25 '24 19:08 super-manis

Termux-x11 has no installation candidate. Any response appreciated

Use termux-x11-nightly, it replaces it

ActuallyTheOwner avatar Aug 26 '24 06:08 ActuallyTheOwner

pkg install termux-x11-nightly Make sure to enable the repo!

ActuallyTheOwner avatar Aug 26 '24 06:08 ActuallyTheOwner

Pkg install termux-x11-nightly Already installed Pkg install x11-repo Installed Still same issue 💀

On Mon, Aug 26, 2024, 9:04 AM ActuallyTheOwner @.***> wrote:

pkg install termux-x11-nightly Make sure to enable the repo!

— Reply to this email directly, view it on GitHub https://github.com/LinuxDroidMaster/Termux-Desktops/issues/54#issuecomment-2309390065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR35UPG2MY77YNKUS4Q6FA3ZTLAORAVCNFSM6AAAAABMYYZ2W6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZGM4TAMBWGU . You are receiving this because you commented.Message ID: @.***>

super-manis avatar Aug 26 '24 06:08 super-manis

Did I do something wrong? I am on Android 13. Just installed packages and ran the installer as shown in the video. Is there anything else I can try to make debian work?

super-manis avatar Aug 27 '24 09:08 super-manis

Issue solved! There was an extra line that I needed to comment inside the launch file #am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity

super-manis avatar Aug 27 '24 14:08 super-manis

The following line:

am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity

simply launches the Termux X11 Android app. You can, alternatively, run the app before launching the proot OS launch script. Then it is not necessary to have the script launch the app separately.

That line isn't "extra." If Termux X11 isn't opened ahead of running the script, AND that line is commented out, the script will fail.

ihtarlik avatar Oct 07 '24 00:10 ihtarlik