From: Javi Ortiz <osf () evalga ! geneti ! uv ! es>
To: tru64-unix-managers
Subject: SUMMARY: Cannot open display
Date: Fri, 21 May 1999 09:27:27 +0000 [thread overview]
Message-ID: <96079042215853.tru64-unix-managers.marc@archive.invalid> (raw)
Sory for the delay (I was waiting a complete solution). My original
message was:
---------------------------
Date: Wed, 12 May 1999 12:59:33 +0200 (GMT+0200)
When I connect to my server (DU 4.0) from a PC using XDMCP, I can open
well '> dxaccounts' but I can't modify anything. Then I change to root
(su -) but when I call dxaccounts the following message appear:
dxaccount: Cannot open display
---------------------------
The 'Cannot open display' is because 'su -' don't inherit the DISPLAY
variable. There is three solutions:
a) Use 'su' insteed of 'su -'.
b) 'su -' and then 'dxaccounts -d your.pc:0.0'
c) 'su -', 'export DISPLAY=your.pc:0.0' and 'dxaccounts'
But there is a second problem:
+++++++++++++++++++
From: MC.Vialatte@custsv.univ-bpclermont.fr
2) set X-session key for root; see xauth(1)
X-session key is computed at login time (as user), and
until logout only applications which know the key are
authorized to use the X-terminal.
As you do 'su', later applications don't runs as root
and don't know user X-session key.
Note : another method is to use xhost(1) in place of xauth(1),
but it is unsecure.
+++++++++++++++++++
The man of 'X' say that 'xauth' is vulnerable to sniffers.
Then I decide use only the console to manipulate users accounts.
Javi.
reply other threads:[~1999-05-21 9:27 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