"No protocol specified" when starting X programs from a script

Julien Cristau jcristau at debian.org
Thu Apr 28 00:55:05 PDT 2011


On Thu, Apr 28, 2011 at 09:27:19 +0200, Tino Keitel wrote:

> Hi,
> 
> I try to start an X application from a script, which is not called from
> X. This works with the Xfce desktop, but does not with Gnome3.
> 
> The script sets DISPLAY=:0 and HOME to the user that owns the X
> session. The application is started with user and group permissions for
> the user that owns the X session.
> 
Recent gdm doesn't write the auth cookie to $HOME/.Xauthority, for
whatever reason.  Instead, it requires you to set $XAUTHORITY.

Cheers,
Julien



More information about the xorg mailing list