We are running some experiments in a remote cluster of computers. Due to the fact that the same experiment gives different results if it is run in a different computer, we want to run a simulation in the remote computer without running the headless mode. We are using Xming and a ssh connection with X11 forwarding. We are able to see the first splash screen but later the program crashes. This is the error that we found:
afaina@fe1:~/V-REP_PRO_EDU_V3_3_2_64_Linux$ ./vrep.sh
failed to get the current screen resources
Using the default Lua library.
Loaded the video compression library.
QXcbConnection: XCB error: 170 (Unknown), sequence: 162, resource id: 90, major code: 146 (Unknown), minor code: 20
Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded.
./vrep.sh: line 17: 14635 Segmentation fault "$dirname/$appname" "$@"
We have also tried different versions and all of them crash. From version 3.2.1 and below, the error is different:
afaina@fe1:~/oldVreps/V-REP_PRO_EDU_V3_2_1_64_Linux$ ./vrep.sh
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Reinstalling the application may fix this problem.
./vrep.sh: line 17: 14955 Aborted "$dirname/$appname" "$@"
my problem is just the opposite. I can run vrep in headless mode but I cannot run it with the GUI.
I have also tried to run it with the xvfb-run command.