Skip to content

Instantly share code, notes, and snippets.

@rkuzsma
Created May 16, 2019 18:10
Show Gist options
  • Save rkuzsma/0ceefeb3739b96d16b04342cbc5fe54a to your computer and use it in GitHub Desktop.
Save rkuzsma/0ceefeb3739b96d16b04342cbc5fe54a to your computer and use it in GitHub Desktop.
How to run an old Firefox browser in Docker Ubuntu with VNC
```
docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
Browse to http://127.0.0.1:6080/
In the VNC UI, run the LXTerminal. Paste these commands to install a given version of Firefox. Set `FF_VERS` to the release you want. See available releases at http://releases.mozilla.org/pub/firefox/releases
```
apt-get update && apt-get install wget
FF_VERS=60.6.3esr
FF_INST=/firefox/$FF_VERS
FF_URL=http://releases.mozilla.org/pub/firefox/releases/$FF_VERS/linux-x86_64/en-US/firefox-$FF_VERS.tar.bz2
mkdir -p $FF_INST
wget -qO- $FF_URL | tar xvj --strip 1 -C $FF_INST/
$FF_INST/firefox
# Optionally link this install as the default FF install:
# ln -s "$FF_INST/firefox" /usr/bin/firefox
```
If you have trouble pasting the commands into the Terminal, first launch the Leafpad accessory and try copy/pasting in there first. Then use the Edit menu to copy/paste within apps. You might also try pasting the commands into the novnc clipboard toolbar flyout before pasting into Leafpad.
@rkuzsma
Copy link
Author

rkuzsma commented May 16, 2019

ff

@apenadiazApk
Copy link

apenadiazApk commented May 15, 2024

Nice!, it works! +1
very useful for access to old UI hardware still using old TLS 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment