Compare commits

...

2 commits

Author SHA1 Message Date
Hippolyte Chauvin
5148e164e6 Scrpit pour lancer un serveur VNC minimal 2023-04-16 20:09:37 +02:00
Hippolyte Chauvin
56176695c8 Wrapper ultra-simple de dwm 2023-04-16 19:59:19 +02:00

15
bin/instvnc Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh -e
display="$(grep "$LOGNAME" /etc/tigervnc/vncserver.users | head -n 1 | awk -F '=' '{ print $1 }')"
echo "Using display: $display"
test -n "$display"
set -x
cd
exec \
screen \
-d \
-m \
vncserver \
"$display"