tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: X Display not functioning for native applications
@ 2003-10-23 16:12 T. S.
  0 siblings, 0 replies; only message in thread
From: T. S. @ 2003-10-23 16:12 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-23 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23 16:12 SUMMARY: X Display not functioning for native applications T. S.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox