sabamdarif / gnome-in-termux

Install Gnome Desktop Environment In Termux using Proot-Distro
44 stars 5 forks source link

no screen #2

Closed Gamertoky11882gro closed 1 month ago

Gamertoky11882gro commented 1 month ago

i am only seeing a black screen how can i fix it

Screenshot_20240531-184104

sabamdarif commented 1 month ago

go to $PREFIX/bin type nano ubuntu and send me what inside it

sabamdarif commented 1 month ago

also try running for file in $(find /usr -type f -iname "login1"); do rm -rf $file done inside ubuntu not in termux

and do you try to run it with hardware acceleration ?

sabamdarif commented 1 month ago

which type of gnome desktop do you install core or full ?

try installing core it work just fine for me

sabamdarif commented 1 month ago

is it work with vnc ?

Gamertoky11882gro commented 1 month ago

full

On Fri, May 31, 2024, 9:36 PM Md Arif @.***> wrote:

which type of gnome desktop do you install core or full ?

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2142515982, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW3JZ2T232TVZW3EGBDZFCKHLAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSGUYTKOJYGI . You are receiving this because you authored the thread.Message ID: @.***>

Gamertoky11882gro commented 1 month ago

no vnc not work https://drive.google.com/file/d/1JSrEw1oOHkZ4tAsKfmUQSb9latoAU4Xp/view?usp=sharing

sabamdarif commented 1 month ago

Install the latest version of Termux:x11

Then

termux_x11_pid=$(pgrep -f /system/bin/app_process.*com.termux.x11.Loader) xfce_pid=$(pgrep -f "xfce4-session") if [ -n "$termux_x11_pid" ] || [ -n "$xfce_pid" ]; then kill -9 "$termux_x11_pid" "$xfce_pid" > /dev/null 2>&1 echo "Termux:X11 Stopped Successfully" fi

save this on a bash file (like: stop.sh) and run it then try again launching termux x11 (using: ubuntu -tx11)

Gamertoky11882gro commented 1 month ago

my device isn't support termux-x11 latest version so i use app-armeabi-v7a-debug.apk https://github.com/termux/termux-x11/releases/download/nightly/app-armeabi-v7a-debug.apk

On Sun, Jun 2, 2024, 12:14 PM Md Arif @.***> wrote:

Install the latest version of Termux:x11 https://github.com/termux/termux-x11/releases/tag/nightly

Then

termux_x11_pid=$(pgrep -f /system/bin/app_process.*com.termux.x11.Loader) xfce_pid=$(pgrep -f "xfce4-session") if [ -n "$termux_x11_pid" ] || [ -n "$xfce_pid" ]; then kill -9 "$termux_x11_pid" "$xfce_pid" > /dev/null 2>&1 echo "Termux:X11 Stopped Successfully" fi

save this on a bash file (like: stop.sh) and run it then try again launching termux x11 (using: ubuntu -tx11)

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143715511, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW43B64WYB7Y4WKVL3TZFKZ6BAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTG4YTKNJRGE . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

and did you run the script ? to stop already running termux x11 service

Gamertoky11882gro commented 1 month ago

Yes, I did.

On Sun, Jun 2, 2024, 4:49 PM Md Arif @.***> wrote:

and did you run the script ?

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143798275, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW4XK7EZWCZ6SA5UVRTZFL2CBAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTG44TQMRXGU . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

can you send me a screen recording of what happening when you launch termux x11 , a full video of it

sabamdarif commented 1 month ago

because i try both core and full and they work just fine

Gamertoky11882gro commented 1 month ago

can i send u a google drive screen record video link

On Sun, Jun 2, 2024, 4:58 PM Md Arif @.***> wrote:

can you send me a screen recording of what happening when you launch termux x11 , a full video of it

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143801463, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBWYRQSKD2VFAJIGIGMDZFL3DTAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHAYDCNBWGM . You are receiving this because you authored the thread.Message ID: @.***>

Gamertoky11882gro commented 1 month ago

https://drive.google.com/file/d/1vi7fBxirxm9tUtlymgE1076yI5rmEEl1/view?usp=sharing

On Sun, Jun 2, 2024, 5:00 PM custom @.***> wrote:

can i send u a google drive screen record video link

On Sun, Jun 2, 2024, 4:58 PM Md Arif @.***> wrote:

can you send me a screen recording of what happening when you launch termux x11 , a full video of it

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143801463, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBWYRQSKD2VFAJIGIGMDZFL3DTAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHAYDCNBWGM . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

try launching it as root

STEPS:-

go to $PREFIX/bin nano ubuntu-root

pest this


rm ~/.cache/sessions/x termux_x11_pid=$(pgrep -f /system/bin/app_process.com.termux.x11.Loader) xfce_pid=$(pgrep -f "xfce4-session") if [ -n "$termux_x11_pid" ] || [ -n "$xfce_pid" ]; then kill -9 "$termux_x11_pid" "$xfce_pid" > /dev/null 2>&1 echo "termux:x11 kill successfully" fi if [ "$1" = "-tx11" ]; then kill -9 $(pgrep -f "termux.x11") 2>/dev/null termux-x11 :0 >/dev/null & sleep 3 am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity > /dev/null 2>&1 sleep 1 proot-distro login ubuntu --shared-tmp -- /bin/bash -c "service dbus start && export XDG_CURRENT_DESKTOP="GNOME" && env DISPLAY=:0 gnome-shell --x11" exit 0 fi


CTRL + s , CTRL + x chmod +x ubuntu-root

ubuntu-root -tx11

Gamertoky11882gro commented 1 month ago

not working.

            but i have an idea. you can send me termux backup. then i

restore backup files in my termux. you can create backup with this commands cd $PREFIX/../../ && tar -cvf /storage/emulated/0/backup.tar ./files

On Sun, Jun 2, 2024, 9:56 PM Md Arif @.***> wrote:

try launching it as root

STEPS:-

go to $PREFIX/bin nano ubuntu-root

pest this

rm ~/.cache/sessions/x termux_x11_pid=$(pgrep -f /system/bin/app_process.com.termux.x11.Loader) xfce_pid=$(pgrep -f "xfce4-session") if [ -n "$termux_x11_pid" ] || [ -n "$xfce_pid" ]; then kill -9 "$termux_x11_pid" "$xfce_pid" > /dev/null 2>&1 echo "termux:x11 kill successfully" fi if [ "$1" = "-tx11" ]; then kill -9 $(pgrep -f "termux.x11") 2>/dev/null termux-x11 :0 >/dev/null & sleep 3 am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity > /dev/null 2>&1 sleep 1 proot-distro login ubuntu --shared-tmp -- /bin/bash -c "service dbus start && export XDG_CURRENT_DESKTOP="GNOME" && env DISPLAY=:0 gnome-shell --x11" exit 0 fi

CTRL + s , CTRL + x chmod +x ubuntu-root

ubuntu-root -tx11

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143910930, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBWYUHZLIGRJJYGRFAXTZFM6CRAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHEYTAOJTGA . You are receiving this because you authored the thread.Message ID: @.***>

Gamertoky11882gro commented 1 month ago

give me ubuntu core backup

On Mon, Jun 3, 2024, 2:52 PM custom @.***> wrote:

not working.

              but i have an idea. you can send me termux backup. then i

restore backup file in my termux. you can create backup with this commands cd $PREFIX/../../ && tar -cvf /storage/emulated/0/backup.tar ./files

On Sun, Jun 2, 2024, 9:56 PM Md Arif @.***> wrote:

try launching it as root

STEPS:-

go to $PREFIX/bin nano ubuntu-root

pest this

rm ~/.cache/sessions/x termux_x11_pid=$(pgrep -f /system/bin/app_process.com.termux.x11.Loader) xfce_pid=$(pgrep -f "xfce4-session") if [ -n "$termux_x11_pid" ] || [ -n "$xfce_pid" ]; then kill -9 "$termux_x11_pid" "$xfce_pid" > /dev/null 2>&1 echo "termux:x11 kill successfully" fi if [ "$1" = "-tx11" ]; then kill -9 $(pgrep -f "termux.x11") 2>/dev/null termux-x11 :0 >/dev/null & sleep 3 am start --user 0 -n com.termux.x11/com.termux.x11.MainActivity > /dev/null 2>&1 sleep 1 proot-distro login ubuntu --shared-tmp -- /bin/bash -c "service dbus start && export XDG_CURRENT_DESKTOP="GNOME" && env DISPLAY=:0 gnome-shell --x11" exit 0 fi

CTRL + s , CTRL + x chmod +x ubuntu-root

ubuntu-root -tx11

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2143910930, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBWYUHZLIGRJJYGRFAXTZFM6CRAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHEYTAOJTGA . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

ok

Gamertoky11882gro commented 1 month ago

now send me backup

On Mon, Jun 3, 2024, 3:35 PM Md Arif @.***> wrote:

ok

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2144734548, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW3266HB3XNFR2HPS4TZFQ2E5AVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUG4ZTINJUHA . You are receiving this because you authored the thread.Message ID: @.***>

Gamertoky11882gro commented 1 month ago

please try to give fast

On Mon, Jun 3, 2024, 3:48 PM custom @.***> wrote:

now send me backup

On Mon, Jun 3, 2024, 3:35 PM Md Arif @.***> wrote:

ok

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2144734548, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW3266HB3XNFR2HPS4TZFQ2E5AVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUG4ZTINJUHA . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

https://mega.nz/file/MJphyaJI#Z-PPDkivKVXF0P9_L03Z_ih3ZE1EP28hQGtkKPOUGdI

Gamertoky11882gro commented 1 month ago

please give me drive download link. i face some problem to download to mega

On Tue, Jun 4, 2024, 10:58 AM Md Arif @.***> wrote:

https://mega.nz/file/MJphyaJI#Z-PPDkivKVXF0P9_L03Z_ih3ZE1EP28hQGtkKPOUGdI

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2146612398, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW634JZZXM5NBLL4IQTZFVCPBAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGYYTEMZZHA . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

are you in telegram ?

Gamertoky11882gro commented 1 month ago

Yes I have telegram

On Tue, Jun 4, 2024, 3:31 PM Md Arif @.***> wrote:

are you in telegram ?

— Reply to this email directly, view it on GitHub https://github.com/sabamdarif/gnome-in-termux/issues/2#issuecomment-2147054952, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB5FBW5BCP554SG5LRMLC4TZFWCODAVCNFSM6AAAAABISYMSJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGA2TIOJVGI . You are receiving this because you authored the thread.Message ID: @.***>

sabamdarif commented 1 month ago

DM me there t.me/saba_mdarif