Coder Social home page Coder Social logo

Comments (4)

jacobfriedman avatar jacobfriedman commented on June 7, 2024

apt-get install screen

did the trick

from logicmoo_workspace.

TeamSPoon avatar TeamSPoon commented on June 7, 2024

Will keep this open until I if/then it..

Thank you for opening it and providing workaround

from logicmoo_workspace.

jacobfriedman avatar jacobfriedman commented on June 7, 2024

from logicmoo_workspace.

TeamSPoon avatar TeamSPoon commented on June 7, 2024

xeyes does for work for me on the VM

What we were using xeyes for was to test that the VM was allowed to communicate (due to security) on the host's X Windows display
Instead of xeyes you can try running xterm instead as that will perform the same sanity check.

The issue I believe is the is finding the right value for the DISPLAY environment variable on the VM
This will be the internal IP address the host uses .. such as 172.17.0.1
Example: (ran on the VM not the host)

export DISPLAY=172.17.0.1:0.0
xeyes &
xterm &

Next there are reasons a host wont allow the VM to connect due to the security of the host being too high
which can be worked around by allowing the VM into the hosts X-Server daemon.. https://www.lifewire.com/linux-command-xhost-4093456
(ran on the host not the VM) replacing 127.17.0.2 with the

xhost + 172.17.0.2

This would ensure the VM is allowed to connect to your X-Windows Desktop

Which then would allow these eyes to appear
image

Usually no need for the logicmoo VM to access the X-Server except in our case of testing we wanted to not have to deal with port conflicts (since logicmoo VM binds for instance port 80/443) inside the docker container ..
like:

export DISPLAY=....
google-chrome http://localhost &

Though the VM is running the webserver accessible at
google-chrome http://<your-p-address>:4280
(Which makes using xeyes/X-server test unneeded)

image

from logicmoo_workspace.

Related Issues (20)

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.