SUMMARY: X Display not functioning for native applications

From: T. S. (violatile@yahoo.com)
Date: Thu Oct 23 2003 - 12:12:22 EDT


THANK YOU TO ALL THAT RESPONDED SO QUICKLY!!!:

Iain Barker
Stan Horwitz
Dustin Marquess
Robert Lang
Trevor Osatchuk
Charlie Ballowe
Andrew Diller
Chris Medaglia

Charlie summed it up best when he asked the question I
should've included information for in the first place:

Are you logging in as root or as a different user
account and then su'ing to root?

I am su'ing to root. Well...

Charlie Ballowe:

Unlike Linux, Tru64 doesn't pass along X credentials
with a su.

try:
DISPLAY=hostname:0
XAUTHORITY=~username/.Xauthority
export DISPLAY XAUTHORITY

then run your command.

I did just that and it worked like a charm. Thank you
all once again...

Trevor Strickland
Dept. of Education
trevor.strickland@ed.gov
202-708-5535

Initial problem below:

Managers,

I'm hoping I can get some help with this situation.
It is probably
something simple that I'm overlooking:

I have a A8400 system running TRU64 5.1a with a
graphics terminal connected
to it. I am able to login to the system and
manipulate the CDE just fine.
The problem occurs when I try to open up an
application such as
'dxaccounts'. I get the following error message:

dxaccounts: Cannot open display

Not a problem yet. I didn't think I have to provide
any display parameters
when opening up a GUI from the console, as the host
properties would already
be set. So, I try to give it the proper $DISPLAY
values:

(/bin/ksh)
# export DISPLAY=hostname:0.0

I now get the following error message:

Xlib: connection to "hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
dxaccounts: Cannot open display

What am I missing? Thank you in advance...

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:39 EDT