From 4e7b5915d9d16182535565cee819c2cb73431b28 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 3 Nov 2023 11:51:44 +0200 Subject: Add xstartup for vnc --- .vnc/xstartup | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 .vnc/xstartup diff --git a/.vnc/xstartup b/.vnc/xstartup new file mode 100755 index 0000000..bbbc0db --- /dev/null +++ b/.vnc/xstartup @@ -0,0 +1,16 @@ +#!/data/data/com.termux/files/usr/bin/sh + +## file is executed during VNC server +## startup. + +# Launch terminal emulator Aterm. +# Requires package 'aterm'. + +unset SESSION_MANAGER +unset DBUS_SESSION_BUS_ADDRESS + +export PULSE_SERVER=127.0.0.1 && pulseaudio --start --disable-shm=1 --exit-idle-time=-1 + +# Launch Window Manager/Desktop Environment +bspwm & + -- cgit v1.2.3