Mailinglist Archive: opensuse (4749 mails)

< Previous Next >
Re: [SLE] SU can't connect. Why?
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Fri, 9 May 2003 21:03:36 +0200
  • Message-id: <200305092103.36668.andjoh@xxxxxxxxxx>
On Friday 09 May 2003 20:51, David Krider wrote:
> On Fri, 2003-05-09 at 08:04, Marshall Heartley wrote:
> > The X server is fefusing the connection. Try runnung the command using
> > sux instead. Try sux -c emacs.
>
> Okay, that's just plain awesome. BUT! There's no man page for `sux'.
> Where is the documentation on how this is supposed to work? What's
> happening? Is it using magic cookies or what?

It's a shell script SuSE hacked together. The "documentation" lies in looking
at the script code :)

Basically it takes the MIT Magic Cookie from the user that started X, and
pipes it over to the user you're su:ing to, and merges it into that user's
Xauthority file


< Previous Next >
Follow Ups