From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cb9814bb7cbda0c8,start X-Google-Attributes: gidfee84,public From: Kevin Oberman Subject: Re: Basic DECwindows question Date: 1996/03/08 Message-ID: <31408C09.2781@es.net>#1/1 X-Deja-AN: 142155395 references: <4hpukb$30u@tom.amherst.edu> content-type: text/plain; charset=us-ascii organization: ESnet-Energy Sciences Network mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha) PAUL D. CHAPIN wrote: > > I can log onto by DEC 3000/300 running OSF 3.2D-1 without any problems > and run all of the DECwindows and X windows programs I like. I can > even telnet to other systems and run DECWindows programs on them and > have them display locally. But if I su to root and try to run any > window program I get > > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > X Toolkit Error: Can't open display: :0.0 The problem is X security. The easiest fix is: setenv XAUTHORITY ~yourusername/.Xauthority or something similar. You can also get the xdm cookie from xauth before you su and then add it, but I don't recommend this. -- R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) EMAIL: oberman@es.net Phone: +1 510 422-6955