Open marclava opened 3 years ago
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.
I also get a Segmentation fault error it doesn't work on any screen or a vnc server either.
@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.
Here is the log for when i ran valgrind
Also tried it without my monitor plugged in but that didn't work
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.
I noticed the display variable Has to be the IP of the computer EX: 000.000.000.000:0 but the default is :0
$ ./jsmpeg-vnc desktop Erreur de segmentation
No idea how to debug that problem. I use a laptop with an extra screen; should I try with only one screen?