tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "T. S." <violatile@yahoo.com>
Subject: SUMMARY: X Display not functioning for native applications
Date: Thu, 23 Oct 2003 09:12:22 -0700 (PDT)	[thread overview]
Message-ID: <20031023161222.80629.qmail@web41505.mail.yahoo.com> (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


                 reply	other threads:[~2003-10-23 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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