[Mageia-dev] Running X11 apps from the console after exporting DISPLAY

Christiaan Welvaart cjw at daneel.dyndns.org
Thu Jul 28 14:32:29 CEST 2011


On Thu, 28 Jul 2011, Colin Guthrie wrote:

> Not sure when this started happening but I presume it's a deliberate change.

Same here, but it was "a while ago" (:

> When I login via text console while already running X11, and do: "export
> DISPLAY=:0; xeyes", I expect to see some googly eyes on my desktop when
> I switch back.
>
> But this doesn't seem to work these days. Is there something I can do to
> make this work again? I suspect it's maybe related to not knowing the
> path to the X11 socket file or something?

You also need to set XAUTHORITY - I usually get its value from 
/proc/$pid/environ for an already running process (like gnome-session).
But the value is something like /var/run/gdm/auth-for-$user-$X/database .


     Christiaan


More information about the Mageia-dev mailing list