Re: [Spacenav-users] How to init spacenavd at boot with X server
Brought to you by:
jtsiomb
|
From: John T. <nu...@me...> - 2014-12-10 11:02:20
|
Hello, Before I answer your question, please: 1) subscribe to the mailing list if you wish to post, to avoid moderation delays. 2) send correctly formatted emails (line wrapped at 72 columns). On Mon, Dec 08, 2014 at 12:09:07PM +0100, Samuel Charreyron wrote: > > I'm using an application which uses x11 to communicate with a > 3dconnexion spacemouse. I need the daemon to start at boot so non-root > users can use the spacemouse. The problem is, often the daemon is > launched before the xserver is available (i think), and defaults to > using another protocol. Here's what I see in the logs You don't have to arrange for spacenavd to start after X. Spacenavd is supposed to automatically detect when the X server starts, and will connect to the X server then. If this doesn't happen, then it might be a bug or misconfiguration. > trying to open X11 display ":0.0" > XAUTHORITY=/root/.Xauthority > No protocol specified > No protocol specified > failed to open X11 display ":0.0" I assume this part of the log is from before the X server is started? > If I restart the daemon once the system has booted, it works fine. The way you restart it makes a difference when it comes to X authentication. For instance if you do it with sudo as opposed to becoming root first, so try restarting it from a diferent console completely by logging in as root, to make absolutely sure it's not related to X auth. I'll try to reproduce the problem and get back at you, but this won't be very soon I'm afraid. I'm extremely busy before the holidays. Until then if you have any further details that would help, please post them. -- John Tsiombikas http://nuclear.mutantstargoat.com/ |