Comments (7)
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.
I also get a Segmentation fault error it doesn't work on any screen or a vnc server either.
from jsmpeg-vnc-linux.
@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.
Here is the log for when i ran valgrind
from jsmpeg-vnc-linux.
Also tried it without my monitor plugged in but that didn't work
from jsmpeg-vnc-linux.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsmpeg-vnc-linux.