3dxWare open suse 11.1 - canot open display
Moderator: Moderators
3dxWare open suse 11.1 - canot open display
Hello
I have a problem in suse 11.1 with the driver (version 1.4.3)
when I try this:
sudo /etc/3DxWare/daemon/3dxsrv -d usb
I get this message:
No protocol specified
[2009-10-20 15:05:37] Error: No connection to Xserver :0 - aborting.
when I login as root into the gnome desktop the driver runs fine.
Also the driver will not start automaticly from the init file when I log in as normal non root user.
How to fix this?
I have a problem in suse 11.1 with the driver (version 1.4.3)
when I try this:
sudo /etc/3DxWare/daemon/3dxsrv -d usb
I get this message:
No protocol specified
[2009-10-20 15:05:37] Error: No connection to Xserver :0 - aborting.
when I login as root into the gnome desktop the driver runs fine.
Also the driver will not start automaticly from the init file when I log in as normal non root user.
How to fix this?
Hi eyeJ,
does the driver start when you do first a
does the driver start when you do first a
- xhost + localhost
- on the command line?
Please add to the line in the /etc/inittab the options -E -debug. This will create a logfile when the driver starts. Maybe we find some hints in there. It will be /tmp/3DxWare.log.- 3d:2345:respawn:/etc/3DxWare/daemon/3dxsrv -d usb -E -debug </dev>/dev/null 2>&1
- on the command line?
Uta
3Dconnexion
3Dconnexion
xhost + localhost:
log:
if it makes any difference to you I found something that seems fishy to me while trying to open the log (I guess it just works differently than Ubuntu).
using su - did work but it doesn't work for the driver:
Code: Select all
susu@linux-7og5:~> xhost + localhost
localhost being added to access control list
susu@linux-7og5:~> sudo /etc/3DxWare/daemon/3dxsrv -d usb
root's password:
No protocol specified
[2009-10-20 19:45:29] Error: No connection to Xserver :0 - aborting.
Code: Select all
3DxWareUNIX V1.4.3 ID 4872 log file
Process ID: 4851
Time: 2009-10-20 19:56:09
Machineinfo 1: Systemname=Linux, Nodename=linux-7og5, Release=2.6.27.29-0.1-default
Machineinfo 2: Version=#1 SMP 2009-08-15 17:53:59 +0200, Machine=x86_64
Runlevel-Info: run-level 5 Oct 20 19:55 last=S
-----------------------------------
[2009-10-20 19:56:09] uddev.c, 1198: UdDevInit() 0x56b010
[2009-10-20 19:56:09] 3dxsrv.c,797: displayname = $DISPLAY set to :0
[2009-10-20 19:56:09] 3dxsrv.c,802: putenv() was successful
[2009-10-20 19:56:09] 3dxsrv.c,804: displayname is now :0
[2009-10-20 19:56:10] auth.c :: authGetUser(), FOUND: user = susu, id = :0, line = :0, pid = 3663, host = , type = 7
[2009-10-20 19:56:10] auth.c :: authGetUser(), FOUND: user home = "/home/susu"
[2009-10-20 19:56:10] 3dxsrv.c :: startupInittab(), authGetUser(), user=susu
[2009-10-20 19:56:10] UdDev: Opening USB device on USB port /dev/bus/usb/001/004
[2009-10-20 19:56:10] UdDev: Opening SpacePilot on USB port /dev/bus/usb/001/004
[2009-10-20 19:56:10] spilot_usb.c :: UdDevRezero(): Rezeroing the device
[2009-10-20 19:56:10] 3dxsrv.c,822: UdDevOpen() was successful [SpacePilot]
using su - did work but it doesn't work for the driver:
Code: Select all
susu@linux-7og5:~> gedit /tmp/3DxWare.log *note -> permission denied so...
susu@linux-7og5:~> sudo gedit /tmp/3DxWare.log
root's password:
(gedit:5334): Gtk-WARNING **: cannot open display:
susu@linux-7og5:~> su -
Password:
linux-7og5:~ # gedit /tmp/3DxWare.log
exit
linux-7og5:~ # exit
logout
Just in case I was not clear in above post I wanted to state clearly that the window still doesn't show up and the screen doesn't show anything even if there seems not to be any error in the loguludwig wrote:Hi eyeJ,
does the driver start when you do first a
- xhost + localhost
- on the command line?
Please add to the line in the /etc/inittab the options -E -debug. This will create a logfile when the driver starts. Maybe we find some hints in there. It will be /tmp/3DxWare.log.
- 3d:2345:respawn:/etc/3DxWare/daemon/3dxsrv -d usb -E -debug </dev>/dev/null 2>&1
Re: 3dxWare open suse 11.1 - canot open display
Hi eyeJ,
the Gtk-WARNING seems to have a similar reason, but at this moment I don't know what the problem is on your machine. The 3dxsrv does not use Gtk.
But from the logfile you posted it looks as if the driver started correctly. It could open a display and did not issue an error.
When you try the start from the commend line you first have to disable the start in the /etc/inittab. You can do this by changing the word "respawn" inot "off" and then launch
Then launch
the Gtk-WARNING seems to have a similar reason, but at this moment I don't know what the problem is on your machine. The 3dxsrv does not use Gtk.
But from the logfile you posted it looks as if the driver started correctly. It could open a display and did not issue an error.
When you try the start from the commend line you first have to disable the start in the /etc/inittab. You can do this by changing the word "respawn" inot "off" and then launch
- init q
- ps -edf | grep 3dxsrv
Then launch
- xhost +
su -
/etc/3DxWare/daemon/3dxsrv -d usb -debug
- /tmp/xcube &
Uta
3Dconnexion
3Dconnexion
Re: 3dxWare open suse 11.1 - canot open display
The driver starts when I launch:
xhost +
su -
/etc/3DxWare/daemon/3dxsrv -d usb -debug
and the xcube rotates
so xhost + removes the access control just for this single process?
If so I guess there is no problem with using it as a temporary workaround?
xhost +
su -
/etc/3DxWare/daemon/3dxsrv -d usb -debug
Code: Select all
linux-7og5:~ # /etc/3DxWare/daemon/3dxsrv -d usb -debug
[2009-10-21 23:27:27] uddev.c, 1198: UdDevInit() 0x56b010
[2009-10-21 23:27:27] 3dxsrv.c,797: displayname = :0.0
[2009-10-21 23:27:27] auth.c :: authGetUser(), FOUND: user = susu, id = :0, line = :0, pid = 3730, host = , type = 7
[2009-10-21 23:27:27] auth.c :: authGetUser(), FOUND: user home = "/home/susu"
[2009-10-21 23:27:27] 3dxsrv.c :: startupCommandLine(), authGetUser(), user=susu
[2009-10-21 23:27:27] UdDev: Opening USB device on USB port /dev/bus/usb/002/002
[2009-10-21 23:27:27] UdDev: Opening SpacePilot on USB port /dev/bus/usb/002/002
[2009-10-21 23:27:27] spilot_usb.c :: UdDevRezero(): Rezeroing the device
[2009-10-21 23:27:27] 3dxsrv.c,822: UdDevOpen() was successful [SpacePilot]
[2009-10-21 23:27:27] 3dxsrv.c,833: authorizeWithX11() was successful
[2009-10-21 23:27:27] 3dxsrv.c :: startupCommandLine(), XOpenDisplay called with display name=:0.0, display = 56c050
[2009-10-21 23:27:27] 3dxsrv.c :: startupCommandLine(), SUCCESS!
3DxWareUNIX = V1.4.3
Device = SpacePilot
Firmware = V4.04
[2009-10-21 23:27:27] Home directory: /home/susu
[2009-10-21 23:27:27] UiSb: Directory "/etc/3DxWare" opened for configs.
[2009-10-21 23:27:28] UiSb: Directory "/home/susu/.3dxcfg" not found
so xhost + removes the access control just for this single process?
If so I guess there is no problem with using it as a temporary workaround?
No, xhost + removes access control for everything.
That's why I suggested localhost.
Maybe it will work if you replace localhost with the name or IP of your machine?
That's why I suggested localhost.
Maybe it will work if you replace localhost with the name or IP of your machine?
Code: Select all
xhost + linux-7og5
Uta
3Dconnexion
3Dconnexion
Nope it doesn't work with the computer name or with the computer ip (127.0.0.1):
Code: Select all
susu@linux-7og5:~> xhost + linux-7og5
linux-7og5 being added to access control list
susu@linux-7og5:~> su -
Password:
linux-7og5:~ # /etc/3DxWare/daemon/3dxsrv -d usb -debug
[2009-10-22 11:05:09] uddev.c, 1198: UdDevInit() 0x56b010
[2009-10-22 11:05:09] 3dxsrv.c,797: displayname = :0.0
[2009-10-22 11:05:09] auth.c :: authGetUser(), FOUND: user = susu, id = :0, line = :0, pid = 3157, host = , type = 7
[2009-10-22 11:05:09] auth.c :: authGetUser(), FOUND: user home = "/home/susu"
[2009-10-22 11:05:09] 3dxsrv.c :: startupCommandLine(), authGetUser(), user=susu
[2009-10-22 11:05:09] UdDev: Opening USB device on USB port /dev/bus/usb/001/004
[2009-10-22 11:05:09] UdDev: Opening SpacePilot on USB port /dev/bus/usb/001/004
[2009-10-22 11:05:09] spilot_usb.c :: UdDevRezero(): Rezeroing the device
[2009-10-22 11:05:09] 3dxsrv.c,822: UdDevOpen() was successful [SpacePilot]
[2009-10-22 11:05:09] 3dxsrv.c,833: authorizeWithX11() was successful
No protocol specified
[2009-10-22 11:05:09] 3dxsrv.c :: startupCommandLine(), XOpenDisplay called with display name=:0.0, display = 0
[2009-10-22 11:05:09] Error: No connection to Xserver :0.0 - aborting.
Are you connected to a network with this machine? The ip address 127.0.0.1 is localhost. If you do a
- /sbin/ifconfig
Uta
3Dconnexion
3Dconnexion
Try this: delete your .Xauthority files and logout. Then login again.
Let me know if this helps.
Let me know if this helps.
Uta
3Dconnexion
3Dconnexion
Workaround?
Can I do this:
xhost +
start the driver
and then run xhost - in another terminal
will that return things to normal secure operation?
xhost +
start the driver
and then run xhost - in another terminal
will that return things to normal secure operation?
Yes, with
- xhost -
Uta
3Dconnexion
3Dconnexion
Great!
Great! I will use that untill it get's fixed.uludwig wrote:Yes, withyou close the access to your display again. As far as I know you could even do it in the same terminal where you started the driver. Just in case you want to do this in a script. (Then you should start the driver in the background.)
- xhost -
Thanks for the help