* Basic DECwindows question
@ 1996-03-08 5:00 PAUL D. CHAPIN
1996-03-08 5:00 ` Charle Moss
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: PAUL D. CHAPIN @ 1996-03-08 5:00 UTC (permalink / raw)
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
I've tried various settings for the DISPLAY variable without
effect. Security in the session manager is set to accept the system.
What am I missing?
This use to work but the machine crashed hard a few days ago and the
two may be related, but I can't swear to the timing.
--
Paul Chapin
Unix Systems Manager
Amherst College
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Basic DECwindows question 1996-03-08 5:00 Basic DECwindows question PAUL D. CHAPIN @ 1996-03-08 5:00 ` Charle Moss 1996-03-08 5:00 ` Kevin Oberman [not found] ` <3146CB72.794B@unx.dec.com> 2 siblings, 0 replies; 4+ messages in thread From: Charle Moss @ 1996-03-08 5:00 UTC (permalink / raw) To: pdchapin Try xhost + before you su ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Basic DECwindows question 1996-03-08 5:00 Basic DECwindows question PAUL D. CHAPIN 1996-03-08 5:00 ` Charle Moss @ 1996-03-08 5:00 ` Kevin Oberman [not found] ` <3146CB72.794B@unx.dec.com> 2 siblings, 0 replies; 4+ messages in thread From: Kevin Oberman @ 1996-03-08 5:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <3146CB72.794B@unx.dec.com>]
* Re: Basic DECwindows question [not found] ` <3146CB72.794B@unx.dec.com> @ 1996-03-14 5:00 ` PAUL D. CHAPIN 0 siblings, 0 replies; 4+ messages in thread From: PAUL D. CHAPIN @ 1996-03-14 5:00 UTC (permalink / raw) Of the suggestions I've gotten, I like the idea of "setenv XAUTHORITY my.Xautorityfile" the best. It works, but doesn't open the system completely up. I've actually discovered that if I copy my personal .Xauthority to root's location, I don't need to set the environment variable, but God knows what else I'm doing with that stunt. Since my workstation is the only place root is going to be running Xanything it appears to work fine for me. -- Paul Chapin Unix Systems Manager Amherst College ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-03-14 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-08 5:00 Basic DECwindows question PAUL D. CHAPIN
1996-03-08 5:00 ` Charle Moss
1996-03-08 5:00 ` Kevin Oberman
[not found] ` <3146CB72.794B@unx.dec.com>
1996-03-14 5:00 ` PAUL D. CHAPIN
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox