[gobolinux-users] root Konsole / Konqueror problems
Michael Homer
gobo-users-dufus at wotfun.com
Sun Oct 21 09:24:03 NZDT 2007
On 10/21/07, MJ Ray <mjr at phonecoop.coop> wrote:
> "Michael Homer" <gobo-users-dufus at wotfun.com> wrote:
> > On 10/20/07, Hi There <goboster at yahoo.com> wrote: [...]
> > > Mode menu item gives the error "konqueror: cannot
> > > connect to X server" (as it does with all graphical
> > > programs).
> > >
> > > Any idea how I can get the old behavior back?
> > As you:
> > xhost +
>
> Ow! Won't that let anyone and his dog display windows on your X? I
> thought the correct solution was something to do with xauth, but I
> can't remember what.
Yeah, I should have mentioned that. It's probably not really going to
be a problem, but a more correct method from that perspective is:
As you:
xauth extract - :0 > /tmp/xauthkey
As #0:
xauth merge - < /tmp/xauthkey
rm /tmp/xauthkey
export DISPLAY=:0.0
It depends on what your risk assessment of that is, whether it's worth
doing that each time. If you're firewalled and blocking the X11 ports
from outside there's no reason at all not to use xhost, otherwise
there's a slim chance of somebody else displaying a window in your
session.
-Michael
More information about the gobolinux-users
mailing list