On Fri, 2007-02-02 at 00:28 -0800, W. Wayne Liauh wrote: > After I su to a different user (which could be root or a non-root user), I am > getting the following message when I try to run any x-based program such as > firefox: > > (firefox-bin:2060): Gtk-WARNING **: cannot open display: > > Can anyone help? Thanks. > > Also, how do I add user names to the x access control list?
Before su'ing run $ xhost +si:localuser:root (replace root with whatever user you are su'ing to) after su'ing $ export DISPLAY=:0 -Mark > > > This message posted from opensolaris.org > _______________________________________________ > xwin-discuss mailing list > xwin-discuss at opensolaris.org
