Skip to content

xfce4 cannot connect and Termux X11 shows black screen #171

Description

@GUUser91

I'm using termux x11 dev build version 1.02.06 and I installed the deb package.
https://github.com/termux/termux-x11/actions/runs/2418991974

I login using this command
proot-distro login udroid-focal-xfce4 --shared-tmp
And I export the display
export DISPLAY=:0
And I start xfce4
dbus-launch --exit-with-session startxfce4
And then I get an error message
/usr/bin/startxfce4: X server already running on display :0 xrdb: Connection refused xrdb: Can't open display ':0' Unable to init server: Could not connect: Connection refused xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage.

I also tried this command
DISPLAY=:1 xfce4-session
And I get this error message
Unable to init server: Could not connect: Connection refused xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requestedstaleissue is inactive for long time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions