1753829 Members
8919 Online
108806 Solutions
New Discussion юеВ

Connecting a Spaceball

 
SOLVED
Go to solution
Bruce Baillie
Regular Advisor

Connecting a Spaceball

I am trying to connect a spaceball to a serial port on a C3700 with HP-UX 11.11. Without going into too much detail, all works great when I am logged in as root. When I log in as a user I get the following errors:

Xlib: connection to "l1cad5:0.0" refused by server
Xlib: Client is not authorized to connect to Server

If I do echo $DISPLAY I get l1cad5:0.0

It looks like a permission problem, but I don't know where to look.
Why can't we all get along?
4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor

Re: Connecting a Spaceball

Bruce, check the permissions for this files:

dr-xr-xr-x 12 bin bin 4096 /dev

crw--w--w- 1 bin bin 1 0x000000 /dev/tty0p0

crw--w--w- 1 bin bin 1 0x010000 /dev/tty1p0

Also make sure that you can executed this commands with no errors:

/etc/Spaceware/sbping
/etc/Spaceware/sbtest


Regards,

Jaime.
Work hard when the need comes out.
spex
Honored Contributor

Re: Connecting a Spaceball

Hi Bruce,

$ man xhost

PCS
Alex Glennie
Honored Contributor
Solution

Re: Connecting a Spaceball

Bruce,

It maybe down to Xauthority issues here ....

I'd check syslog.log & Xerrors for further clues and also give changing the system defaults ago

ie vi /usr/dt/config/Xconfig

look for Dtlogin*authorise: False and uncomment it then run /sbin/init 2 then init 3 to restart the dtlogin and Xserver processes then re-try ?

One other question how do the users access the device ... are there scripts or similar being used say upon login, do they login directly ?

I take it they see the errors on the local console of the C3700 and fail to login via CDE ?

Bruce Baillie
Regular Advisor

Re: Connecting a Spaceball

WOW Alex, you hit the nail on the head with the Dtlogin*authorise.

Thanks, I would have never found that.
Why can't we all get along?