Comments (12)
I enabled some debug options and got more info printed to the console:
2015-10-27 14:19:32,057 Command to run daemon: /usr/bin/python3 /home/godbyk/git/BlenderVR/source/utils/daemon.py memex:31416 console debug
2015-10-27 14:19:32,058 Its environment variables: {}
2015-10-27 14:19:32,102 Daemon for screen 'console' started
2015-10-27 14:19:36,413 Command to run blenderplayer: /home/godbyk/blender/blenderplayer -d -w 400 400 .basic.vr.blend - memex:31416 console
2015-10-27 14:19:36,414 Its path: /home/godbyk/git/BlenderVR/samples/basic/basic
2015-10-27 14:19:36,414 Its environment variables: {'DISPLAY': ':0.0', 'PYTHONPATH': '/home/godbyk/git/BlenderVR/source/modules'}
No protocol specified
Unable to open a display
from source.
Could you send me your configuration file?
from source.
@PyrApple Do you have any other suggestions on how to troubleshoot this? Thanks!
from source.
can you run xclock after ssh connection to localhost?
ssh memex@localhost (or ssh -X memex@localhost)
xclock
from source.
If I use ssh -X localhost
and run xclock
, it works okay. If I leave out the -X
option, it fails to open the display.
Does BlenderVR ssh to the localhost when running on a single machine? Do I need to enable X-forwarding by default?
from source.
yes it does ssh to localhost (for uniformity's sake with more complex architectures). try enabling X-forwarding but I doubt that's the issue.
What appends if you replace the path to blenderplayer with xclock's in BlenderVR configuration file? (e.g. )
from source.
Hmm.. this is interesting.
First, I have not enabled X-forwarding by default yet.
I created a shell script to run xclock (so that xclock wouldn't complain about the blenderplayer command-line arguments). I pointed the blenderplayer tag at the shell script and when I started everything up, the xclock program ran properly.
Next, I reverted back to the original blenderplayer executable instead of the xclock shell script and blenderplayer ran just fine.
I have no idea why.
(My testing this evening has been on my home PC which was exhibiting the same problems as my work PC. I'll test my work PC again and see if swapping out xclock works there as well.)
from source.
The -X
means you have the X11 running in your station, not in the remote computer (which is what we want). The xhost
option is what allows remote users with a different user than the owner of the X11 session to spawn new process in the remote X11.
But if I got it right, things are working at the moment, correct? If so can we close this report?
I believe that what happens is that by manually calling xclock via the terminal you went through an authentication step which you couldn't see when calling it via BlenderVR. And once you authorized the process every other process can run there.
from source.
It's working on the second computer I encountered the problem on, but I haven't tested it on the first yet. I'll close this issue once I've confirmed it works there.
Regarding the authorization notion, how can I check that?
I'm aiming to run BlenderVR across a Linux cluster which drives a CAVE, so this problem will be exacerbated when I try to run it on 49 nodes.
from source.
I've tested this on my work computer and the solution there seems to be to run xhost +
prior to running BlenderVR.
My next step it to test this on our cluster. But I'll close this issue.
Thanks for your help, @PyrApple and @dfelinto.
from source.
I'm strangely hit by this. running "xhost +" doesn't help. also I've got ssh X forxarding enabled, I can "ssh localhost" then xterm or anything gui.
main-linux.xml.txt
Any pointers ?
Thx.
from source.
For future reference:
In recent fedora, if gdm is configured to use X instead of wayland, it doesn't quit on login and keeps the VT1 as a lone xsession. A new X session is spawned on vt2 for the desktop so the default DISPLAY is :1 instead of :0.0. I guess blenderVR expects the DISPLAY at 0.0, hence the breakage.
from source.
Related Issues (20)
- Rework the nomenclature of the Base.py classes HOT 1
- Errors in Plugins callback functions throw no errors HOT 1
- Plugin callback functions should be called before the syncronization calls
- Daemon not launched on Windows, throwing "Fatal Python error: Failed to initialize Windows random API (CryptoGen)" HOT 5
- Decide on a name and stick to it HOT 6
- error 'BlenderVR_root' is not defined HOT 12
- --BlenderVR-root flag does not reset original root HOT 2
- BlenderVR installer (Windows 64-bit): old references to blender-vr HOT 4
- OSC-specific exceptions not defined (not correctly imported)
- Windows configuration file wrong default values
- Oculus Rift Direct Mode not working HOT 7
- Animation plays only in master HOT 13
- Oculus DK2 Distortion HOT 2
- Added objects not added on Slave nodes HOT 5
- [NOT A BUG] Modal timing / watching inside Blender while running in VR HOT 4
- Configuration xml does not allow ~ or ~user in paths
- Python 3.5; Cannot find BlenderVR root HOT 1
- Build For UPBGE HOT 2
- Updated version for Blender 2.9x, UPBGE and latest Qt HOT 4
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 source.