Gtk errors during PreSession

Bug #156632 reported by thom
This bug report is a duplicate of:  Bug #132833: login background color is hardcoded. Edit Remove
2
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gdm

gdmflexiserver illegally counts on the cooperation of GTK for setuid. GTK refuses: http://www.gtk.org/setuid.html

The bug is in: /etc/gdm/PreSession/Default
The bug is forcing GTK to refuse gdmflexiserver

Here is part of my .xsession-errors, I made some stuff visible by using "set -x" :

==============================================
+ PATH=/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin:/bin:/usr/bin
+ OLD_IFS=

+ gdmwhich xsetroot
+ COMMAND=xsetroot
+ OUTPUT=
+ IFS=:
+ test -x /usr/bin/xsetroot
+ test x = x
+ OUTPUT=/usr/bin/xsetroot
+ test -x /sbin/xsetroot
+ test -x /usr/sbin/xsetroot
+ test -x /bin/xsetroot
+ test -x /usr/bin/xsetroot
+ test x/usr/bin/xsetroot = x
+ test -x /bin/xsetroot
+ test -x /usr/bin/xsetroot
+ test x/usr/bin/xsetroot = x
+ IFS=

+ echo /usr/bin/xsetroot
+ XSETROOT=/usr/bin/xsetroot
+ [ x/usr/bin/xsetroot != x ]
+ CHECKBACKCOLOR=OK
+ [ xTHEMED = xTHEMED ]
+ gdmflexiserver --command=GET_CONFIG greeter/GraphicalThemedColor :0

(process:6000): 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+.
+ BACKCOLOR=
+ echo
+ sed s/^\([^ ]*\) .*$/\1/
+ CHECKBACKCOLOR=
+ [ x = xOK ]
+ BACKCOLOR=
+ [ x != xOK ]
+ gdmflexiserver --command=GET_CONFIG greeter/BackgroundType :0

(process:6004): 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+.
+ BACKTYPE=
+ [ x = xOK 1 ]
+ [ x = xOK 2 ]
+ [ x = x ]
+ BACKCOLOR=#dab082
+ /usr/bin/xsetroot -cursor_name left_ptr -solid #dab082
+ exit 0
/etc/gdm/Xsession: Beginning session setup...
Xlib: extension "XEVIE" missing on display ":0.0".
========================================

gr, tom

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gdm:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.