File tree 2 files changed +23
-9
lines changed
2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 12
12
sudo apt update
13
13
sudo apt install -y xfce4 xfce4-goodies tightvncserver xfonts-base xubuntu-icon-theme xubuntu-wallpapers gnome-icon-theme x11-apps x11-common x11-session-utils x11-utils x11-xserver-utils x11-xkb-utils dbus-user-session dbus-x11 gnome-system-monitor gnome-control-center
14
14
15
- # Second, download ngrok
16
- wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
17
- unzip ngrok-stable-linux-amd64.zip
18
- chmod +x ngrok
15
+ # # Second, download ngrok
16
+ # wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
17
+ # unzip ngrok-stable-linux-amd64.zip
18
+ # chmod +x ngrok
19
+
20
+ curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
21
+ | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc > /dev/null \
22
+ && echo " deb https://ngrok-agent.s3.amazonaws.com buster main" \
23
+ | sudo tee /etc/apt/sources.list.d/ngrok.list \
24
+ && sudo apt update \
25
+ && sudo apt install ngrok
19
26
20
27
# Third, generate and copy passwd file and xstartup script
21
28
mkdir $HOME /.vnc
Original file line number Diff line number Diff line change @@ -14,10 +14,17 @@ sudo apt install -y xfce4 xfce4-goodies xfonts-base xubuntu-icon-theme xubuntu-w
14
14
wget https://phoenixnap.dl.sourceforge.net/project/turbovnc/2.2.5/turbovnc_2.2.5_amd64.deb
15
15
sudo dpkg -i turbovnc_2.2.5_amd64.deb
16
16
17
- # Third, download ngrok
18
- wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
19
- unzip ngrok-stable-linux-amd64.zip
20
- chmod +x ngrok
17
+ # # Third, download ngrok
18
+ # wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
19
+ # unzip ngrok-stable-linux-amd64.zip
20
+ # chmod +x ngrok
21
+
22
+ curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
23
+ | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc > /dev/null \
24
+ && echo " deb https://ngrok-agent.s3.amazonaws.com buster main" \
25
+ | sudo tee /etc/apt/sources.list.d/ngrok.list \
26
+ && sudo apt update \
27
+ && sudo apt install ngrok
21
28
22
29
# Fourth, generate and copy passwd file and xstartup script
23
30
export PATH=$PATH :/opt/TurboVNC/bin
@@ -28,4 +35,4 @@ chmod 0600 $HOME/.vnc/passwd
28
35
29
36
# Fifth and last, set up auth token from argument
30
37
./ngrok authtoken $NGROK_AUTH_TOKEN
31
- exit
38
+ exit
You can’t perform that action at this time.
0 commit comments