aboutsummaryrefslogtreecommitdiff
path: root/linux/home/.vnc
diff options
context:
space:
mode:
Diffstat (limited to 'linux/home/.vnc')
-rw-r--r--linux/home/.vnc/config4
-rwxr-xr-xlinux/home/.vnc/xstartup16
2 files changed, 20 insertions, 0 deletions
diff --git a/linux/home/.vnc/config b/linux/home/.vnc/config
new file mode 100644
index 0000000..5c1462c
--- /dev/null
+++ b/linux/home/.vnc/config
@@ -0,0 +1,4 @@
+session=bspwm
+geometry=1920x1080
+localhost
+alwaysshared
diff --git a/linux/home/.vnc/xstartup b/linux/home/.vnc/xstartup
new file mode 100755
index 0000000..bbbc0db
--- /dev/null
+++ b/linux/home/.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 &
+