summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-01Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2022-06-19darwin: Wait for font_cache to complete to avoid a race with `xset fb=`Jeremy Huddleston Sequoia
Partially fixes: https://github.com/XQuartz/XQuartz/issues/216 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2022-04-07startx: don't attempt to catch SIGKILLnia
Most shells ignore attempts to catch SIGKILL. Some, such as NetBSD's /bin/sh, print an annoying message helpfully reminding you that it isn't possible to catch SIGKILL whenever X starts. Signed-off-by: Nia Alarie <nia@NetBSD.org>
2022-03-07Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2021-12-06Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-06gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-06-04Remove non-portable grep usage from startxArthur Williams
startx uses non-portable grep flags (-o). grep isn't even needed for this and has been replaced with substring removal. Closes #6
2021-05-22Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2021-03-15darwin: Specify +extension GLX when the user requests IGLX supportJeremy Huddleston Sequoia
Fixes: https://github.com/XQuartz/XQuartz/issues/54 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2021-03-10darwin: Ensure we launch the user startx from $HOMEJeremy Huddleston Sequoia
Fixes: https://github.com/XQuartz/XQuartz/issues/114 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2021-03-10darwin: Drop support for macOS 10.7 and earlierJeremy Huddleston Sequoia
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-10-16Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2020-08-28startx: use uname -n instead of hostnameRickie Schroeder
startx calls hostname to obtain the hostname, but this is not defined by POSIX, so not guaranteed to work. The script already does some checks to deal with different hostname implementations on Linux. Using uname -n instead fixes this in a portable way.
2020-07-23Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-04-25Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2020-03-08man: Restore non-SCO UNIX bits of the man pageMatt Turner
It looks to me like commit 5268936259c5 (Remove SCO support for SHELL_CMD and startx man page.) removed the wrong bits of the man page. This commit replaces the SCO UNIX bits of the man page with the non-SCO UNIX bits. Signed-off-by: Matt Turner <mattst88@gmail.com>
2019-07-15Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2019-03-03xinit 1.4.1xinit-1.4.1Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-09Buffer overflow with many arguments.Tobias Stoeckmann
Command line arguments are copied into clientargv and serverargv without verifying that enough space is available. A high amount of arguments can therefore trigger a buffer overflow like this: $ xinit $(seq 1 500) Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Reviewed-by: Walter Harms wharms@bfs,de
2018-11-25Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-24Fix some miscellaneous stuffs in the manpagesLaurent Bigonville
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726962 https://bugs.freedesktop.org/show_bug.cgi?id=83797 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09Make text about supplying X server arguments via startx more genericJon TURNEY
Make text about supplying X server arguments via startx more generic, rather than assuming the started server will be Xorg, and hence will take Xorg's arguments. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09xinit 1.4.0xinit-1.4.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-02-18Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2017-01-31xinit: check for correct fork error codeTobias Stoeckmann
Even though this code is only active on __sun machines, the fork return value should be checked for -1, not 1, to detect an error situation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-08-13Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2016-05-28startx: Add support for enabling IGLX for XQuartzJeremy Huddleston Sequoia
https://bugs.freedesktop.org/show_bug.cgi?id=96260 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2016-05-28startx: Add -listen tcp if nolisten_tcp is disabled for XQuartzJeremy Huddleston Sequoia
https://bugs.freedesktop.org/show_bug.cgi?id=95379 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2016-01-02Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2015-12-29launchd: Install binaries into libexecdirJeremy Huddleston Sequoia
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2015-11-07Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2015-09-03remove bogus \/ escapesIngo Schwarze
some X manuals use then escape sequence \/ when they want to render a slash. That's bad because \/ is not a slash but an italic correction, never producing any output, having no effect at all in terminal output, and only changing spacing in a minor way in typeset output. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
2015-06-14Use mktemp to create .serverauth file. Inspired by Debian patchesMatthieu Herrb
2015-06-14Merge OpenBSD local changes that were missed in previous syncsMatthieu Herrb
2015-03-28Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb
2015-03-26startx: don't init defaultdisplay to :0Peter Hutterer
This is misleading - it is always overwritten after looping through the lock files. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-03-25startx: Fix startx picking an already used display number when -nolock is usedHans de Goede
Currently startx relies on /tmp/.X?-lock being present for automatically picking a free display number. This does not work if -nolock is used when starting the server, or if the server is started with -displayfd as -displayfd implies -nolock. This is becoming a problem now that -displayfd is getting used by display-managers (e.g. gdm), this fixes this by also checking for /tmp/.X11-unix/X? Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-03-25startx: fix comment typoPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-02-16Remove left over $(launchagents_DATA) in CLEANFILESGaetan Nadon
This was left over when reorganizing layout of launchd sources in commit 567f59d3f8189b92bc46e2af1260f9340f462bdb Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-02-16Remove support for ancient A/UX 3.0 supportGaetan Nadon
This was Apple Computer’s implementation of the Unix operating system for some of their Macintosh computers. From 1988 to 1995. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-02-16Remove SCO support for SHELL_CMD and startx man page.Gaetan Nadon
SCO support was removed from startx.cpp and xinitrc.cpp earlier. Remove unixware / sco support http://cgit.freedesktop.org/xorg/app/xinit/commit/ ?id=fdf03cd2fdfd9cd5635334c5e4dc2bb23e92e37a Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-30startx: Don't use GNU expr extensionsMark Kettenis
Use the ':' operator instead of "match" and avoid the use of "\+". Both constructions aren't specified by POSIX and not supported in BSD expr. Also drop the '^' from the regular expressions as it is implicit and POSIX leaves its behaviour undefined. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
2015-01-23startx: Pass -keeptty when telling the server to start on the current ttyHans de Goede
Detaching from the tty causes systemd-logind to refuse service to the xserver, the xserver already tries to detect that it is being asked to run on the current tty and then automatically enables -keeptty, but this code fails if all of stdin, stdout and stderr are redirected to a file. So explicitly tell the xserver to not detach when we're telling it to run on the current tty. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1177513 Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-09-11xinit 1.3.4xinit-1.3.4Hans de Goede
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-08-30Merge remote-tracking branch 'origin/master' into obsdMatthieu Herrb