Forked from SaicharanKandukuri/CAP_LAST_CAP dbus in termux.bash
Created
April 25, 2023 12:39
-
-
Save Austcool-Walker/a86477c79260277ce30ee645cdbfa94d to your computer and use it in GitHub Desktop.
way to run dbus inside termux | A way to run Gnome in termux with root
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://elixir.bootlin.com/linux/v4.3/ident/CAP_LAST_CAP | |
# first creating a file with 0 inside file | |
echo 0 > ~/cap_last_cap | |
# Next step is to bind the file cap_last_cap to /proc/sys/kernel/cap_last_cap | |
#for proot-distro with ubuntu-18.04 the command looks like | |
proot-distro login ubuntu-18.04 --bind cap_last_cap:/proc/sys/kernel/cap_last_cap | |
# for toolloa-termux with bionic | |
toolloa login bionic --bind cap_last_cap:/proc/sys/kernel/cap_last_cap | |
# Remember dbus dosen't respond to all calls because of android dbus security policy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment