Closed binhvo7794 closed 1 year ago
Did you try termux-x11 -extension MIT-SHM :0
?
Did you try
termux-x11 -extension MIT-SHM :0
?
Still same errors
Does xfce4-session
work?
Does
xfce4-session
work?
Yes, xfce4 works
I am not sure what exactly is wrong here, logs are not so informative. Can not fix it.
Still not informative. Video will not help here.
screen-20230606-221822.mp4
how you install gnome in ubuntu in proot-distro(just want)?
In my device debian perfectly working .. My bad luck jammy not working..
Try to login with
proot-distro login debian --bind /dev/null:/dev/dri/card0 --shared-tmp --bind /sdcard:/sdcard --bind /dev/null:/proc/sys/kernel/cap_last_cap
But
Just remove pid file..
Create a file like this..
nano /usr/bin/desktop
#!/bin/sh
export XDG_CURRENT_DESKTOP="GNOME"
export XDG_RUNTIME_DIR=/tmp
sudo service dbus start
gnome-shell --x11
chmod +x /usr/bin/desktop
creat a xstartup
mkdir .vnc nano .vnc/xstartup
#!/bin/sh
/usr/bin/desktop
Then exit from proot the start termux-x11 open termux-x11 u will see black screen with x cursor.. go to preference enable pip mode..
Then re-login proot & run
desktop
If you login as user use sudo desktop
I am sure in your device not working because you mey not mentioned session name or runtime dir
In my device debian perfectly working .. My bad luck jammy not working..
Try to login with
proot-distro login debian --bind /dev/null:/dev/dri/card0 --shared-tmp --bind /sdcard:/sdcard --bind /dev/null:/proc/sys/kernel/cap_last_cap
But
Just remove pid file..
Create a file like this..
nano /usr/bin/desktop
#!/bin/sh export XDG_CURRENT_DESKTOP="GNOME" export XDG_RUNTIME_DIR=/tmp sudo service dbus start gnome-shell --x11
chmod +x /usr/bin/desktop
creat a xstartup
mkdir .vnc nano .vnc/xstartup
#!/bin/sh /usr/bin/desktop
Then exit from proot the start termux-x11 open termux-x11 u will see black screen with x cursor.. go to preference enable pip mode..
Then re-login proot & run
desktop
If you login as user use
sudo desktop
I am sure in your device not working because you mey not mentioned session name or runtime dir
https://github.com/termux/termux-x11/assets/66165345/de4dabab-e231-4bdb-afdd-22a2587cc8c2
Thank you, now it worked but it so lagging and can't open any application
Add one more line
nano /usr/bin/desktop
#!/bin/sh
export GALLIUM_DRIVER=llvmpipe
export XDG_CURRENT_DESKTOP="GNOME"
export XDG_RUNTIME_DIR=/tmp
sudo service dbus start
gnome-shell --x11
@twaik remove bug level.. it is not bug..
Add one more line
nano /usr/bin/desktop
#!/bin/sh export GALLIUM_DRIVER=llvmpipe export XDG_CURRENT_DESKTOP="GNOME" export XDG_RUNTIME_DIR=/tmp sudo service dbus start gnome-shell --x11
Not works sir
it so lagging and can't open any application
It is likely not a problem of termux-x11. Besides the methods used to display an image on Android screen, Termux-X11 is a fairly standard X server. The problem is something else.
remove bug level.. it is not bug..
It was a bug until we knew that it can work with some special parameters...
Add one more line nano /usr/bin/desktop
#!/bin/sh export GALLIUM_DRIVER=llvmpipe export XDG_CURRENT_DESKTOP="GNOME" export XDG_RUNTIME_DIR=/tmp sudo service dbus start gnome-shell --x11
Not works sir

Okay remove export GALLIUM_DRIVER=llvmpipe
And add it to .bashrc
exit from proot.. re-login..
And check GALLIUM_DRIVER=llvmpipe glxinfo -B
If it show you llvm
then okay if showing softpipe
then it will lag..
Then check.. i hope it will work..
Don't expect better performance with 4 GB Ram ..
Add one more line
nano /usr/bin/desktop
#!/bin/sh export GALLIUM_DRIVER=llvmpipe export XDG_CURRENT_DESKTOP="GNOME" export XDG_RUNTIME_DIR=/tmp sudo service dbus start gnome-shell --x11
Here is my log, pls see what wrong 🥹, but why u get it work perfectly, can u share what u do?
Add one more line nano /usr/bin/desktop
#!/bin/sh export GALLIUM_DRIVER=llvmpipe export XDG_CURRENT_DESKTOP="GNOME" export XDG_RUNTIME_DIR=/tmp sudo service dbus start gnome-shell --x11
Here is my log, pls see what wrong 🥹, but why u get it work perfectly, can u share what u do? Details
I found a way to deal with it just delete the file /usr/share/dbus-1/system-services/org.freedesktop.login1.service
and it will run
I try start gnome on termux-x11 but not working, here is output!
Details
``` (gnome-shell:11627): libupower-glib-WARNING **: 17:44:45.025: Couldn't connect to proxy: Could not connect: Connection refused (gnome-shell:11627): libupower-glib-WARNING **: 17:44:45.027: Couldn't connect to proxy: Could not connect: Connection refused (gnome-shell:11627): GLib-GObject-WARNING **: 17:44:45.028: invalid (NULL) pointer instance (gnome-shell:11627): GLib-GObject-CRITICAL **: 17:44:45.029: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Xlib: extension "DPMS" missing on display ":0". Xlib: extension "DPMS" missing on display ":0". (gnome-shell:11627): Gjs-WARNING **: 17:44:47.966: JS ERROR: Gio.IOErrorEnum: Could not connect: Connection refused get system@resource:///org/gnome/gjs/modules/overrides/Gio.js:354:20 _init@resource:///org/gnome/shell/ui/status/power.js:49:9 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32 _init@resource:///org/gnome/shell/ui/panel.js:712:23 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32 _ensureIndicator@resource:///org/gnome/shell/ui/panel.js:1126:25 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _updateBox@resource:///org/gnome/shell/ui/panel.js:1137:29 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _updatePanel@resource:///org/gnome/shell/ui/panel.js:1047:9 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _init@resource:///org/gnome/shell/ui/panel.js:824:9 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32 _initializeUI@resource:///org/gnome/shell/ui/main.js:184:13 start@resource:///org/gnome/shell/ui/main.js:133:5 @But it works on vncserver! I already shared termux tmp!
