-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarpdataplayer --hidden cannot start on headless system #2400
Comments
Thanks for reporting @arrenglover, I will look at it and will try to come up with a solution. |
thanks @vtikha. I'm actually trying to get this to work for an external group so they can do some testing this weekend 😱. I will look into it myself, if you can give me any pointers on where to look in the yarpdataplayer - or a quick hack to get it working immediately I would appreciate it. I think I would also need #2401 solved 🤔 |
@arrenglover, ok, then we can try to look at it in parallel. Indeed it might uncover some mysteries for for #2401. |
If you need a quick fix, getting a X server to run on Windows and make sure that WSL2 is configured to be able to connect to it may work, the necessary procedure is documented in https://github.com/robotology/robotology-superbuild#run-graphical-applications-on-wsl2 . |
thanks @traversaro - yes I have an X server and can run yarpdataplayer without problems. I'm using this as an example for a system external (for which I don't have any details) for which they can't get an X server to work. I guess if I can solve for WSL it would also work for them. |
Ack, I see! |
@vtikha - FYI I think the other group got something working with an X server. So we aren't being blocked by this issue, no need to rush. |
@arrenglover good, as I was not able to have a look at it over the weekend. I believe that in any case this has to be fixed asap to work correctly without an X server. In this respect, in the next couple of days I will modify things so that we have a |
I had a similar problem long time ago, Anyway I think that here the issue is that all the logic is inside the main window, and I'm not sure that you can create one (even if hidden) with a |
Full refactoring has been done as discussed above. The PR can be found here done: here |
Describe the bug
when running
yarpdataplayer --hidden
on a system without X11 server the following error occurs:To Reproduce
yarpserver --write
yarpdataplayer --hidden
Expected behavior
I'm not sure if the
--hidden
flag is meant to make it run on a headless system but I would hope the yarpdataplayer can be used without X11. Just using the RPC to load, start, and stop the player.Configuration (please complete the following information):
-- CMake: 3.16.3 (/usr/bin/cmake)
-- C Compiler: GNU 9.3.0 (/usr/bin/cc)
-- CXX Compiler: GNU 9.3.0 (/usr/bin/c++)
Additional context
I'm testing on WSL, but hoped to use it on a server without any graphics capabilities.
The text was updated successfully, but these errors were encountered: