Git Product home page Git Product logo

docker-firefox-java-vnc's Introduction

docker-firefox-java-vnc

Docker image that runs an old Firefox web browser with an outdated Java plugin (1.6) and offers access to it through VNC. It can be used to support old Java code, typically found in legacy web management interfaces.

This image is built on Debian Wheezy, therefore the available browser is Iceweasel, the Debian-rebranded version of Firefox. The Java support is based on OpenJDK 6 and the IcedTea plugin.

How to use this image

This will start a container:

$ docker run -d --rm -p 5900:5900 --name firefox-java-vnc mablanco/firefox-java-vnc

Now you can access Firefox with any VNC client opening localhost on standard port 5900.

Troubleshooting

If the container starts and then dies without notice, follow these steps to try to debug the problem:

  1. Launch the container without the --rm argument: docker run -p 5900:5900 --name firefox-java-vnc mablanco/firefox-java-vnc
  2. When the container exists, run the command docker ps -a | grep firefox-java-vnc and check if the exit code is 139
  3. Have a look at your kernel logs with sudo dmesg and look for a line like this one: x11vnc[154000] vsyscall attempted with vsyscall=none...

If you get the same results from steps 2 and 3, then you're suffering from the same issue described in the following links:

You can solve this issue by adding the parameter vsyscall=emulate to the Grub command line. You can do that in Debian by editing /etc/default/grub and adding that parameter to the GRUB_CMDLINE_LINUX_DEFAULT variable, running sudo update-grub afterwards and finally rebooting your computer.

Remember that this is not a bug but just an issue derived from the fact that vsyscall is defaulted to none in modern Linux distros for security reasons, so use this workaround carefully.

docker-firefox-java-vnc's People

Contributors

mablanco avatar

Stargazers

John Kelly avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.