Compare commits
2 commits
9db0ce85cc
...
5148e164e6
Author | SHA1 | Date | |
---|---|---|---|
|
5148e164e6 | ||
|
56176695c8 |
1 changed files with 15 additions and 0 deletions
15
bin/instvnc
Executable file
15
bin/instvnc
Executable 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"
|
||||
|
Loading…
Reference in a new issue