On Tue, 25 May 2004, David L Norris wrote:
On Tue, 2004-05-25 at 07:47, Alexander Kozlov wrote:
Gtk-WARNING **: cannot open display:
I understand what the problem is, but can't solve it. I did try to pass
"-display :0" argument, it didn't help. Is there any way I can do it?
You need to disable local X security.
1) Add "DisallowTCP=false" to /etc/X11/gdm/gdm.conf then kill gdm-binary
2) run "xhost +localhost" as the user who is authenticated with X.
Lools like 'xterm -display :0' doesn't work for me as well. Don't know
why.
However the following works with 'at' (assuming bash)
DISPLAY=:0 xterm
Satish