gdmflexiserver crashes X
Joe Marcus Clarke
marcus at marcuscom.com
Thu Dec 18 23:23:31 PST 2003
On Fri, 2003-12-19 at 02:23, Tom McLaughlin wrote:
> On Fri, 2003-12-19 at 02:09, Joe Marcus Clarke wrote:
> > On Fri, 2003-12-19 at 02:09, Tom McLaughlin wrote:
> > > On Fri, 2003-12-19 at 00:45, Joe Marcus Clarke wrote:
> > > > <snip>
> > > >
> > > > Known bug: http://bugzilla.gnome.org/show_bug.cgi?id=127780. I think
> > > > this has to do with the following commit:
> > > >
> > > > Thu Sep 25 11:23:24 2003 George Lebl <jirka at 5z.com>
> > > >
> > > > * daemon/errorgui.c, daemon/slave.c: be even analer (is that
> > > > a word?) about the setuid stuff here (it can't actually
> > > > fail, but just in case, we're being paranoid) Also reset
> > > > the environment and desetuid for the setup program even
> > > > though that's not really needed.
> > > >
> > > > I'd add your info to the bug as it's definitely lacking some details.
> > > >
> > > > Joe
> > > >
> > > > <snip>
> > >
> > > Thanks, wasn't sure if it was a problem with the port or not. I've
> > > updated the report in gnome's bugzilla with the information. I'll have
> > > to see if I can find a work around in the meantime, possibly sudo. The
> > > only reason I have X running unnecessarilly on different machines is so
> > > that I can have nifty remote desktops and feel like a total geek. :-/
> >
> > A possible workaround would be to setuid root the flexiserver.
> >
> > Joe
> >
> > >
> > > Tom
>
> Here's what I just did:
>
> [root at compass:ttyp1 bin]# chmod +s gdmflexiserver
> [tom at compass tom]$ gdmflexiserver -xnest
>
> (gdmflexiserver:1353): Gtk-WARNING **: This process is currently running
> setuid or setgid.
> This is not a supported use of GTK+. You must create a helper
> program instead. For further details, see:
>
> http://www.gtk.org/setuid.html
>
> Refusing to initialize GTK+.
Oh, right, it's GTK+. Try setuid'ing Xnest.
Joe
>
>
> The process won't start as suid.
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20031219/f9b2cb70/attachment.bin
More information about the freebsd-gnome
mailing list