Welcome to mirror list, hosted at ThFree Co, Russian Federation.

entrypoint.sh « vncserver-ssh-socket-forward « environments - gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83ede79a6ea885206cad315aef59a9f31e204129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

echo "remmina" >> ~/.vnc/passwd

# Start the vnc server while only accepting connections through the unix-socket.
# This will prompt the user for a password
vncserver -rfbport=-1 -rfbunixpath /vnc-server-tmp/vnc.socket -xstartup /usr/bin/xterm

cat ~/.ssh/authorized_keys

echo "SSH Server up!"
$(which sshd) -D