* SUMMARY: Cannot open display
@ 1999-05-21 9:27 Javi Ortiz
0 siblings, 0 replies; only message in thread
From: Javi Ortiz @ 1999-05-21 9:27 UTC (permalink / raw)
To: tru64-unix-managers
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-21 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-21 9:27 SUMMARY: Cannot open display Javi Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox