| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a utility for launching an X server and session
together.
This utility works a lot like xinit, but makes use of
modern X features (like -displayfd) and has GDM specific integration
(like reading from gdm configuration, and optionally running through
/etc/gdm/Xsession)
The eventual idea is to get the main GDM code out of the X server launching
business and instead farm the logic off to an unprivileged helper
that gets run within the logind session of the user.
https://bugzilla.gnome.org/show_bug.cgi?id=744764
|
|
|
|
|
|
|
|
| |
This wrapper makes sure the wayland session is registered with
the display manager, and that the wayland session gets a dbus-daemon
that's automatically cleaned up when the session goes away.
https://bugzilla.gnome.org/show_bug.cgi?id=744764
|
|
|
|
|
|
| |
flexiserver has a bunch of complicated logic i want to use in the
worker. Move that code to the common library and make flexiserver
link against the common library.
|
|
|
|
| |
We need top_srcdir.
|
|
|
|
|
|
|
| |
Partial revert of 920b38e2aac1f79100ed86a0296bbcaf4fecabd9 to
reinstroduce gdmflexiserver since gnome-screensaver depends on it.
https://bugzilla.gnome.org/show_bug.cgi?id=685622
|
|
|
|
|
|
|
|
| |
gdmflexiserver used to a be a generic interface to GDM, but now
it only does fast user switching. Move that functionality to libgdm
and kill the utility.
https://bugzilla.gnome.org/show_bug.cgi?id=681827
|
|
|
|
|
| |
Port over gdmflexiserver to use native systemd calls with a fallback on
CK.
|
| |
|
| |
|
|
|
|
|
| |
This provides a little more flexibility to distributors,
but more importantly makes it less hard coded in gdm-screenshot.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-02 William Jon McCann <jmccann@redhat.com>
* NEWS:
* common/Makefile.am:
* configure.ac:
* daemon/Makefile.am:
* gui/simple-chooser/Makefile.am:
* gui/simple-greeter/Makefile.am:
* gui/user-switch-applet/Makefile.am:
* utils/Makefile.am:
Fix some build system warnings
svn path=/trunk/; revision=6616
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-21 William Jon McCann <jmccann@redhat.com>
* daemon/gdm-display-access-file.c (_create_xauth_file_for_user):
Fix xauth dir permissions if it exists.
* utils/Makefile.am:
* utils/gdm-screenshot.c (screenshot_save), (prepare_screenshot):
Write gdm screenshot output to /var/run/gdm instead of /tmp.
svn path=/trunk/; revision=6314
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-19 William Jon McCann <jmccann@redhat.com>
* gui/user-switch-applet/applet.c: (sort_menu):
* utils/Makefile.am:
* utils/gdm-screenshot.c: (screenshot_grab_lock),
(screenshot_release_lock), (screenshot_get_pixbuf),
(screenshot_save), (prepare_screenshot), (main):
Add screenshot tool.
svn path=/trunk/; revision=6048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-25 William Jon McCann <mccann@jhu.edu>
* daemon/gdm-local-display-factory.c:
* utils/Makefile.am:
* utils/gdmflexiserver.c: (is_program_in_path),
(maybe_lock_screen), (calc_pi), (create_transient_display), (main):
Add gdmflexiserver command for backward compatibility.
Only useful for starting a transient display.
svn path=/trunk/; revision=5633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-04 William Jon McCann <mccann@jhu.edu>
* common/Makefile.am:
* common/gdm-common-unknown-origin.c: (gdm_sigchld_block_push),
(gdm_sigchld_block_pop), (gdm_sigterm_block_push),
(gdm_sigterm_block_pop), (gdm_sigusr2_block_push),
(gdm_sigusr2_block_pop), (gdm_safe_fopen_w), (ve_clearenv):
* common/gdm-common-unknown-origin.h:
* common/gdm-common.c:
* common/gdm-common.h:
* config/Makefile.am:
* config/XKeepsCrashing:
* config/default.desktop.in:
* config/extract-shell.sh:
* config/gdmprefetchlist.in:
* config/gettextfoo.h:
* config/locale.alias:
* config/ssh.desktop.in.in:
* configure.ac:
* daemon/Makefile.am:
* daemon/choose.c:
* daemon/choose.h:
* daemon/gdm-xdmcp-display-factory.c:
(gdm_xdmcp_handle_indirect_query), (gdm_xdmcp_handle_manage),
(gdm_xdmcp_handle_managed_forward):
* daemon/main.c: (delete_pid):
* utils/Makefile.am:
* utils/gdm-dmx-reconnect-proxy.c:
Remove some more obsolete code. Move common
code with unknown copyright status into separate file.
Try to identify more copy with unknown copyright status.
svn path=/branches/mccann-gobject/; revision=5340
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-04 William Jon McCann <mccann@jhu.edu>
* common/Makefile.am:
* common/gdm-common.c:
* common/gdm-common.h:
* common/ve-signal.c:
* common/ve-signal.h:
* config/Makefile.am:
* configure.ac:
* daemon/Makefile.am:
* daemon/auth.c:
* daemon/filecheck.c:
* daemon/filecheck.h:
* daemon/gdm-factory-slave.c: (get_script_environment):
* daemon/gdm-greeter-session.c: (get_greeter_environment):
* daemon/gdm-product-slave.c: (get_script_environment):
* daemon/gdm-server.c: (rotate_logs), (server_child_setup),
(gdm_server_start):
* daemon/gdm-simple-slave.c: (get_script_environment):
* daemon/gdm-xdmcp-display-factory.c: (fd_set_close_on_exec),
(open_port), (gdm_xdmcp_handle_request), (gdm_xdmcp_handle_manage):
* libgreeter/Makefile.am:
* libgreeter/gdmlanguages.c:
* libgreeter/gdmlanguages.h:
* libgreeter/gdmsession.c:
* libgreeter/gdmsession.h:
* libgreeter/gdmwm.c:
* libgreeter/gdmwm.h:
* utils/Makefile.am:
* utils/gdm-ssh-session:
* utils/gdmmktemp.c:
* utils/gdmopen.c:
* utils/gdmprefetch.c:
* utils/gdmsetup-pam:
* utils/gdmsetup-security.in:
* utils/gdmtranslate.c:
Remove lots of obsolete code. Organize the configure checks a bit.
svn path=/branches/mccann-gobject/; revision=5339
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-22 Richard Hughes <richard@hughsie.com>
* common/Makefile.am:
* daemon/Makefile.am:
* data/Makefile.am:
* gui/simple-greeter/Makefile.am:
* libgreeter/Makefile.am:
* po/POTFILES.in:
* po/POTFILES.skip:
* utils/Makefile.am:
Fix make distcheck.
svn path=/branches/mccann-gobject/; revision=5082
|
|
|
|
| |
svn path=/branches/mccann-gobject/; revision=4973
|
|
|
|
|
|
|
|
|
| |
2007-04-23 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Remove generated files gdm-stop, gdm-restart,
and gdm-safe-restart in DISTCLEANFILES.
svn path=/trunk/; revision=4865
|
|
|
|
|
|
|
|
|
| |
2007-04-23 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Remove generated files gdm-stop, gdm-restart,
and gdm-safe-restart in DISTCLEANFILES.
svn path=/trunk/; revision=4864
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-04-20 William Jon McCann <mccann@jhu.edu>
* Makefile.am:
* configure.ac:
* gdm-restart.in:
* gdm-safe-restart.in:
* gdm-stop.in:
* gdm.spec.in:
* gdmsetup-pam:
* gdmsetup-security.in:
* utils/Makefile.am:
* utils/gdm-restart.in:
* utils/gdm-safe-restart.in:
* utils/gdm-stop.in:
Fixes the pid file handling in the gdm-restart/stop/safe-restart
scripts. Moves the scripts to the utils subdir. Moves the
gdmsetup stuff from toplevel to utils subdir. Removes gdm.spec.
Fixes #431462
svn path=/trunk/; revision=4845
|
|
|
|
|
|
|
| |
2006-11-06 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Add back X_EXTRA_LIBS and X_LIBS to
gdm-dmx-reconnect-proxy to fix bug #368808.
|
|
|
|
|
|
|
|
| |
2006-10-23 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Remove X_EXTRA_LIBS and X_LIBS from
building of dm_dmx_reconnect_proxy since these libraries
are not needed for building this program.
|
|
|
|
|
|
| |
2006-05-12 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Add gdm-ssh-session to EXTRA_DIST.
|
|
|
|
|
|
|
| |
2006-05-09 Brian Cameron <brian.cameron@sun.com>
* config/ssh.desktop.in.in, po/POTFILES.in, utils/Makefile.am:
Finally fix bug #340960
|
|
|
|
|
|
|
|
|
| |
2006-05-09 Brian Cameron <brian.cameron@sun.com>
* configure.ac, config/Makefile.am, utils/Makefile.am: Fix the
installation of ssh.desktop and gdm-ssh-session so that the
desktop file is translated and gdm-ssh-session is installed
to libexecdir. Fixes bugs #340958 and #340960.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-03-27 Brian Cameron <brian.cameron@sun.com>
* acconfig.h, configure.ac, config/Makefile.am, config/PostLogin,
config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.[ch],
daemon/gdmconfig.c, gui/Makefile.am, gui/greeter/Makeifle.am,
gui/modules/Makefile.am, gui/modules/dwellmouselistener.c,
gui/modules/keymouselistener.c, utils/Makefile.am: Now support
--with-sysconfsubdir so that GDM can be configured to have
the config files in a directory that isn't hardcoded to have "/gdm"
at the end. Fixes bug #335957. Patch provided by Julio M
Merino Vidal <jmmv@NetBSD.org> with minor changes by me to fix
some usage of EXPANDED_GDMCONFDIR that caused breakage on Solaris.
* gui/gdmXnestchooser, gui/gdmchooser.c, gui/gdmcomm.[ch],
gui/gdmdynamic.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
gui/gdmphotosetup.c, gui/greeter/greeter.c: Now use
gdmcomm_comm_bulk_start and gdmcomm_comm_bulk_stop to wrap areas of
the code where we want to keep the sockets connection open for
performance. This makes gdmsetup start faster and better ensures
that sockets are not left open. Now gdmcomm_call_gdm will always
close the socket unless inside such a block, ensuring that if distros
add patches to read new config values at random points in the code,
the socket won't be left open.
* daemon/gdm.c: Fix gdm_debug message.
|
|
|
|
|
|
| |
2006-01-15 Brian Cameron <brian.cameron@sun.com>
* utils/Makefile.am: Fix Makefile so "make clean" doesn't delete gdm-ssh-session.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-13 Brian Cameron <brian.cameron@sun.com>
Enhancement patch provided by Dominique Hazael-Massieux
<dominique.hazael-massieux@centraliens.net> with some help from me
getting the configure/Makefile stuff working.
* configure.ac, config/Makefile.am, docs/C/gdm.xml, utils/Makefile.am:
Add support for --enable-secureremote
* config/ssh.desktop.in, utils/gdm-ssh-session: Added desktop file
and gdm-ssh-session script to support secure remote login.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-03 Brian Cameron <brian.cameron@sun.com>
* gui/gdmcommon.c: Fix problem with client not properly counting
the number of connections, and make logic more robust so when
it receives an "ERROR 200 Too many messages" it will close and
reopen the connection and try again rather than just fail.
* configure.ac, configure/Makefile.am: Add loginpreloadlist
* utils/prefetch.c: Now handle comments that start with "#" in
the preloadlist file.
* daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf, gui/gdmlogin.c,
gui/gdmcommon.[ch], gui/greeter/greeter.c: Now PostDisplayProgram is
PreFetchProgram. Fixed some comments in gdm.h.
* daemon/gdm.c: Now KEY_PRE_FETCH_PROGRAM is only returned to the
first slave that asks for the value, ensuring the prefetch only
happens the first time a greeter is displayed.
* docs/C/gdm.xml: Rewrote the Introduction section so it is more
clear, made improvements to the Accessibility section, and fixed
a number of formatting issues. Now a separate Security section.
Updated docs to reflect PreFetchProgram change.
* gui/gdmflexiserver.c: Clean up the code a little.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-21 Brian Cameron <brian.cameron@sun.com>
Patch by Padraig O'Briain <Padraig.OBriain@sun.com>, modified by myself
so it also works with gdmlogin and not just gdmgreeter. Also I
integrated his gdmprefetch.c utility into the configure/Makefile system
with the --with-prefetch option.
* configure.ac: Now support --with-prefetch
* daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf.in: Support
new PostDisplayProgram key.
* gui/gdmcommon.[ch], gui/gdmlogin.c, gui/greeter/greeter.c: Now
support new PostDisplayProgram key.
* docs/C/gdm.xml: Add docs for new key.
* utils/Makefile.am, utils/gdmprefetch.c: Add new
gdmprefetch utility.
* config/Makefile.am: Now install gdm.conf file with 444
permissions and always write over the installed gdm.conf
after first moving aside the user's gdm.conf file if
necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-22 Mark McLoughlin <mark@skynet.ie>
Add the ability to make GDM spawn XDMCP sessions on a local
X proxy server. Experimental support for disconnect/reconnect
or "session migration" is also implemented using DMX.
More details in bug #301602.
* configure.in: require glib 2.6.0 and check for DMX.
* config/gdm.conf.in: add xdmpc/EnableProxy, xdmcp/ProxyXServer
and xdmcp/ProxyReconnect config keys.
* docs/C/gdm.xml: document new config keys.
* daemon/gdm.h: add TYPE_XDMCP_PROXY server type, add #defines
for the new config keys, re-name various xnest related GdmDisplay
members to be applicable for all proxy servers, add xdmcp_dispnum
GdmDisplay member, modify the format of GDM_SOP_QUERYLOGIN and
add GDM_SOP_AUTHFILE and GDM_SOP_MIGRATE.
* daemon/gdm.c: read the new config keys, change format of what
GDM_SOP_QUERYLOGIN returns, implement GDM_SOP_AUTHFILE and
GDM_SOP_MIGRATE.
* daemon/xdmcp.h: add gdm_xdmcp_migrate.
* daemon/xdmcp.c: when xdmpc/EnableProxy and xdmcp/ProxyXServer,
set things up such that a proxy sever (which displays on the
requesting X server) is run locally by the slave.
Also implement migrating the proxy server from one parent display
to another using the xdmcp/ProxyReconnect command.
* daemon/server.c: if we're running a proxy server (e.g. Xnest
or Xdmx), hold a connection open to the parent display so that
it doesn't reset.
Run proxy servers with -display rather than setting $DISPLAY.
* daemon/slave.c:
Once we've successfully logged the user in, send SOP_QUERYLOGIN
to the slave - if the result from that indicates that the user
is already logged in and that session is migratable (e.g. by
reconnecting a proxy server or changing the VT), then migrate
to the existing session using SOP_MIGRATE.
In the case of an Xdmcp proxy, hold open the connection to the
parent display so that it doesn't reset. Exit the slave as
soon as that connection closes.
* utils/Makefile.am, utils/gdm-dmx-reconnect-proxy.c: implementation
of xdmcp/ProxyReconnect for use with Xdmx.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 19 16:33:19 2003 George Lebl <jirka@5z.com>
* docs/C/gdm.xml, configure.in, docs/C/Makefile.am,
docs/Makefile.am, xmldocs.make, omf.make: update the
documentation a lot and install the docs. Yay! We
have actual documentation now!!!
* daemon/misc.c: add sys/time.h and sys/resource.h includes
(from looking at the FreeBSD patches)
* daemon/slave.c: pass LOGIN_SETENV as well to setusercontext
(from looking at the FreeBSD patches)
* gui/gdmsetup.c: fix gccism, and look for the chown/chmod command
(from looking at the FreeBSD patches)
* gui/gdmphotosetup.c: add signal.h include
(from looking at the FreeBSD patches)
* configure.in, utils/Makefile.am: When the security/pam_misc.h is
available also test for where the misc_conv function is as it seems
to be sometimes compiled into the main libpam (FreeBSD for example)
(from looking at the FreeBSD patches)
* config/Default.in, config/Xsession.in, config/(Pre|Post)Session.in,
config/XKeepsCrashing: don't use command -v and use which properly.
And avoid stderr from which
* utils/gdmaskpass.c: use GETTEXT_PACKAGE here
* configure.in, utils/gdmtranslate.c, utils/Makefile.am,
config/XKeepsCrashing, config/Xsession.in, config/Makefile.am:
Add gdmtranslate libexec proggie since gettext command is not
always installed apparently (non-developer machines) so we
can't rely on it existing. Also do translations from the
Xsession script
* gui/gdmlogin.c, gui/greeter/greeter_system.c: Fix #117504 by
changing the tooltip to be more informative
* gui/greeter/greeter_system.c: Fix warnings when not all
system dialog possibilities are present
* Makefile.am, greeter.c, greeter.dtd, greeter_configuration.h,
greeter_item.[ch], greeter_item_customlist.[ch],
greeter_parser.[ch], greeter_system.c: Add listitem (proposed
as customitem to the release-team) tags that can be inside
a list and thus create custom widgetry. At this point all
custom widgetry that can be done is a list to pick from but
this should be possible to extend for some future releases.
This custom info is then written to a per display file
to use from login scripts or elsewhere. While I was there
I fixed leaks and crashes when the parser would find parse
errors.
* docs/C/gdmconfig/*, docs/C/gdm.sgml, docs/C/gdm-manual.txt:
remove everything here as it was old and unused and outdated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Jun 03 13:37:31 2003 George Lebl <jirka@5z.com>
* gdm.spec.in, configure.in, utils/Makefile.am, daemon/server.c,
daemon/misc.c, daemon/gdm.c, config/XkeepsCrashing:
whack gdmmktemp since it wasn't being used, move gdmaskpass and
gdmopen to libexec since that's where they really belong
* daemon/gdm.h, config/gdm.conf.in, gui/gdmchooser.(c|glade): add an
"Add" entry and button so that, we can add random hosts by typing
their name. Add chooser/AllowAdd config key (default to true)
that controls if this is available. Also fix up the updating of
the icon list. it was incredibly evil and rebuilt the list each
time a host packet came in, this compounded with the fact that
we were pinging 3 times (at least the broadcast to which everyone
answers). Also make this run fairly sanely outside of GDM,
so that you can really just run it from anywhere if you really
wish (mostly for debugging, though I imagine some other uses might
pop up).
|
|
|
|
|
|
|
|
|
| |
Wed Mar 05 15:11:49 2003 George Lebl <jirka@5z.com>
* configure.in, daemon/Makefile.am, gui/Makefile.am,
gui/greeter/Makefile.am, utils/Makefile.am,
vicious-extensions/Makefile.am, daemon/slave.c, daemon/choose.c:
Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 16 12:38:30 2001 George Lebl <jirka@5z.com>
Yay! it like all builds and stuff
* gui/gdmlogin.c: fix crash for timed logins
* config/gdm.conf.in, daemon/gdm.h, gui/gdmlogin.c,
gui/gdmconfig.(c|h|glade): Remove the font option, it can now be
done by using the pango markup in the welcome message
* gui/gdmchooser.h gui/gdmlogin.h, gui/Makefile.am: remove useless
header files.
* gui/gdmchooser.c: reorganize the code a bit to remove useless
forward declarations
* gui/gdmchooser.c, gui/gdmlogin.c, gui/gdmconfig.[ch],
gui/gdmflexiserver.c, gui/gdmwm.[ch], gui/misc.h: Port to
pixbuf and gnome2.
* utils/Makefile.am: remove (includedir) to make it not pickup gnome1
headers
|
|
|
|
|
|
|
|
| |
Mon Nov 05 21:28:43 2001 George Lebl <jirka@5z.com>
* configure.in, **/Makefile.am, daemon/*.[ch], utils/*.[ch],
gui/*.[ch]: Begin GNOME 2.0 porting. Not complete yet,
daemon may 'compile', gui doesn't compile yet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Oct 24 17:57:03 2001 George Lebl <jirka@5z.com>
* daemon/gdm.[ch], gui/gdmconfig.(c|glade), config/gdm.conf.in:
Don't pass extra arguments to XKeepsCrashing, and whack the X
configurators option since that is now changed by editting the
XKeepsCrashing script directly.
* config/XKeepsCrashing, config/Makefile.am, config/gettextfoo.h,
po/POTFILES.in, config/extract-shell.sh: Rework the XKeepsCrashing
script, configurator is found from a list in the script. If the
error is a mouse error try the mouseconfig configurator first.
Messages are now gotten by gettext -s directly and extracted
by a simple stupid script, that needs a tad of work still I think.
* docs/C/gdm.sgml: Remove the XKeepsCrashingConfigurators option
|
|
|
|
|
|
|
|
|
| |
Wed Oct 24 11:02:55 2001 George Lebl <jirka@5z.com>
* utils/gdmkstemp.c, utils/Makefile.am: add a small utility
for safely making temp files
Tue Oct 23 15:17:23 2001 George Lebl <jirka@5z.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Oct 12 12:52:08 2001 George Lebl <jirka@5z.com>
* configure.in, daemon/Makefile.am, gui/Makefile.am,
utils/Makefile.am: Apply patch from Ali Akcaagac
<ali.akcaagac@stud.fh-wilhelmshaven.de> for compatibility
with automake 1.5 and autoconf 2.50
* config/locale.alias, gui/languages.c: Make russian use KOI8-R and
add ukrainian
|
|
Wed Aug 22 23:01:59 2001 George Lebl <jirka@5z.com>
* configure.in, Makefile.am, utils/gdmopen.c, utils/gdmaskpass.c:
Add two new small sbin utils. gdmopen is like open (based on it)
but better suited for gdm. Exitcode is returned so no temp files
are needed. Process is cleaned up on a signal, the new vt is
deallocated after use. And unlike openvt this thing actually waits
for the child. Gdmaskpass just asks for the root password, for
use in the XKeepsCrashing script. Both of these things will only
run as root as I'm too paranoid and it doesn't make sense for
them to run otherwise for gdm anyway.
* configure.in: Fix sbin expansion.
* daemon/gdm.c, daemon/misc.[ch], daemon/slave.c, daemon/server.c:
Use gdmopen to run dialog and add helper functions for doing this.
* daemon/gdm.h, daemon/slave.c, daemon/server.[ch]: When a server is
busy, ask the user if we want to run it on a new display number
or retry.
* daemon/gdm.c, daemon/misc.c, daemon/slave.c: Make sure to whack
any extra helper processes we launch when we are killed so that
we don't leave things like 'dialog' processes around
* daemon/gdm.c, config/XKeepsCrashing: Use gdmaskpass, ask if
the user wants to view X logs if X is crashing. And use gdmopen
in the script and correctly abort with exit 32. Also make it
not use the ugly tempfile stuff (Though a tempfile is still given
to the script for now)
* gdm.spec.in: raise epoch to 1, people abuse this field, and if they
do abuse it again and raise it beyond 1, I'll just max it out since
it makes package upgrading not work.
* daemon/slave.c, daemon/verify-(pam|crypt|shadow).c: add
/sbin/nologin as a thing to test for for disabled logins in
addition to /bin/false and /bin/true (it worked, but this adds a
nicer message)
* daemon/xdmcp.c: fix a warning.
* gui/gdmflexiserver.desktop.in: kill TryExec here
|