Giter Site home page Giter Site logo

Comments (7)

thesauri avatar thesauri commented on August 23, 2024

You could try that. What display to use can also be set explicitly using the DISPLAY environment variable.

To dig deeper into what causes the error, try compiling with debug flags, run with valgrind and post the crash log here.

from jsmpeg-vnc-linux.

weeaudi avatar weeaudi commented on August 23, 2024

I also get a Segmentation fault error it doesn't work on any screen or a vnc server either.

from jsmpeg-vnc-linux.

thesauri avatar thesauri commented on August 23, 2024

@weeaudi Did you try compiling with debug flags and running it with valgrind? That may provide some crash logs that can help in debugging this.

from jsmpeg-vnc-linux.

weeaudi avatar weeaudi commented on August 23, 2024

valgrind.log

Here is the log for when i ran valgrind

from jsmpeg-vnc-linux.

weeaudi avatar weeaudi commented on August 23, 2024

Also tried it without my monitor plugged in but that didn't work

from jsmpeg-vnc-linux.

thesauri avatar thesauri commented on August 23, 2024

Thank you for the crash logs. I haven't touched this project in a long time, but I was able to reproduce the issue.

XOpenDisplay was failing in jsmpeg-vnc.c as no display was specified using the -i flag.

I fixed this in d79e3b1 by defaulting to the value of the DISPLAY environment variable unless it has been specified explicitly. In other words, pull the most recent version and try running it again, it should default to the primary screen now.

Also, I noticed that the binary has to be run with bin/ as the working directory for it to find the client side files.

from jsmpeg-vnc-linux.

weeaudi avatar weeaudi commented on August 23, 2024

I noticed the display variable Has to be the IP of the computer EX: 000.000.000.000:0 but the default is :0

from jsmpeg-vnc-linux.

Related Issues (5)

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.