From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "T. S." Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: X Display not functioning for native applications Date: Thu, 23 Oct 2003 09:12:22 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20031023161222.80629.qmail@web41505.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066925567 19551 80.91.224.253 (23 Oct 2003 16:12:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2003 16:12:47 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Oct 23 18:12:44 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ACi4q-0006yE-00 for ; Thu, 23 Oct 2003 18:12:44 +0200 Original-Received: (qmail 29611 invoked by uid 5); 23 Oct 2003 16:12:37 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29596 invoked by uid 49493); 23 Oct 2003 16:12:36 -0000 Original-Received: from violatile@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 0.636786 secs); 23 Oct 2003 16:12:36 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 23 Oct 2003 16:12:36 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN700DXHX0ZYE@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 23 Oct 2003 12:12:35 -0400 (EDT) Original-Received: from web41505.mail.yahoo.com (web41505.mail.yahoo.com [66.218.93.88]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with SMTP id <0HN700FEQX0MO4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 23 Oct 2003 12:12:24 -0400 (EDT) Original-Received: from [165.224.215.3] by web41505.mail.yahoo.com via HTTP; Thu, 23 Oct 2003 09:12:22 -0700 (PDT) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:5636 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5636 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