From 80a41ceb9b3e130320ee0a640c1c21b37212dc80 Mon Sep 17 00:00:00 2001 From: Lemniskett Date: Wed, 25 Nov 2020 19:32:58 +0700 Subject: [PATCH 1/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ebc5fd..7dacf71 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,9 @@ An example with multiple enviroment variables. ENV_VAR="QT_QPA_PLATFORMTHEME=qt5ct GTK_CSD=0 LD_PRELOAD=/var/home/lemniskett/git_repo/gtk3-nocsd/libgtk3-nocsd.so.0" ``` ### Known issues -#### Musl-based distros. +#### PulseAudio refused to connect +This can be caused by different dbus machine-id between chroot and host, copying ```/etc/machine-id``` from host to chroot should do the job. +#### Musl-based distros Although /run is mounted in chroot enviroment on boot, XDG_RUNTIME_DIR is not visible in chroot enviroment, remounting /run will make it visible. do : ``` archbox --remount-run From f0a0d5bfacd778d007366abe42f9a2cc16f1c6d1 Mon Sep 17 00:00:00 2001 From: Lemniskett Date: Sat, 12 Dec 2020 02:04:08 +0700 Subject: [PATCH 2/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dacf71..845fd62 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,12 @@ Although /run is mounted in chroot enviroment on boot, XDG_RUNTIME_DIR is not vi ``` archbox --remount-run ``` -after user login, Also if you use Void Musl, you need to kill every process that runs in XDG_RUNTIME_DIR when you log out, if you use ```startx``` you need to reinstall archbox with ```--exp``` flag and use ```startx-killxdg``` instead of ```startx```. +after user login, Also if you use Void Musl, you need to kill every process that runs in XDG_RUNTIME_DIR when you log out, You need to reinstall archbox with ```--exp``` flag and use ```startx-killxdg``` instead of ```startx```, or run : +``` +/usr/local/share/archbox/bin/remount_run killxdg +``` +on logout. you can put it in ```/etc/gdm/PostSession/Default``` if you use GDM + Tested in Void Linux musl and Alpine Linux. #### Polkit