matthieu
ccdae98fc7
Add group handling to match fbtab(5). Suggested by and ok aja@
2023-11-10 18:49:21 +00:00
robert
c8f482983a
make xenodm reload the environment variables after setusercontext(3)
...
so that environment variables configured in login.conf(5) are also
available
ok matthieu@, millert@
2023-04-14 11:17:49 +00:00
matthieu
349688e53b
remove references to bitmap fonts that aren't used by the greeter anymore
2022-11-07 17:12:06 +00:00
naddy
5fcec91123
X11 session startup: update list of ssh key files, tweak sh code
...
ok matthieu@
2022-07-01 20:42:06 +00:00
jsg
3ea314d40d
stop chowning old drm device nodes
2022-01-06 23:35:41 +00:00
gkoehler
4e67176f94
Allow login when ~/.Xauthority does not exist
...
If you had no .Xauthority, you needed to log in twice, because xenodm
created .Xauthority after your 1st session failed.
problem found by solene@
ok matthieu@ deraadt@
2021-09-20 22:48:08 +00:00
matthieu
d38f95338b
zap trailing white space
2021-08-30 18:18:35 +00:00
matthieu
1079040fc1
Make DEF_SERVER configurable.
2021-08-30 17:01:56 +00:00
matthieu
bf33b16568
Generate all the config scripts to avoid hard-coding /usr/X11R6.
...
This was already done partially.
2021-08-30 15:38:27 +00:00
matthieu
27bbf7383d
Improve the xenodm(1) manual page: describe the behaviour of te provided
...
Xsetup, Xstartup, Xsession and Xreset scripts and remove the sample code
that don't match the reality.
Also, while there mention more files used, including ~/.xsession-errors.
Based on a report from Laurence Tratt with corrections from jmc@
2021-08-01 20:31:37 +00:00
matthieu
f54e14f191
Remove a test target that was not intended to be committed.
...
Noticed by Brad Smith.
2021-06-26 07:58:37 +00:00
matthieu
6b3071f947
Set VT in Xservers for riscv64 too.
2021-06-26 06:54:34 +00:00
matthieu
157168dbeb
Fix confusion in boolean resources parsing.
...
This caused wrong resources values on big endian machines.
2021-03-16 15:45:05 +00:00
matthieu
829e92a2b2
Don't create non-existent atoms. ok kn@
2021-03-16 15:42:24 +00:00
matthieu
9d17ab7910
Skip IPv6 Link Local Addresses for TCP listener authorizations.
...
IPv6 Link Local addresses in $DISPLAY are not working for a number
of reasons that are unlikely to get fixed. Matches what is done by
startx(1)
2021-03-14 11:28:41 +00:00
matthieu
6c84ad3f57
Fix mis-indentation
2021-03-13 12:14:18 +00:00
matthieu
41a65ee918
Don't add authorizations for TCP connections by default.
...
Add a new resource 'listenTcp' (false by default) to explicitely
add authorizations for existing IP addresses on startup (and pass
-listen tcp to the X server).
ok kettenis@
2021-03-13 12:11:10 +00:00
matthieu
9723924a27
Remove code writing .Xauthority in /tmp if it cannot write it in ${HOME}.
...
Discussed with deraadt@ and zhuk@
2021-03-08 17:54:28 +00:00
jsg
f5ba11a186
chown /dev/dri/ nodes if they exist
2021-02-12 10:33:34 +00:00
matthieu
5df2671f50
Make login_fbtab() work by tweaking the pledges.
...
chown is needed until the login process is done.
It is removed afterwards.
Also use the console device from the X server root property.
This makes it available on architectures without VTs too.
2021-01-10 09:22:42 +00:00
matthieu
20d54e2cfd
Get the path to the console device from the X server.
2021-01-10 09:18:30 +00:00
matthieu
dfb28d9ae0
Regen autotools generated files
2021-01-03 11:24:40 +00:00
matthieu
24e60b4d18
Fix the WINDOWPATH environment variable setting.
...
Setting it to a device name was a mistake as this is not the semantic
expected by the applications that use it (screen readers).
2021-01-03 10:18:30 +00:00
matthieu
ba0413b196
Fix function name in Debug() messages.
2021-01-03 09:52:09 +00:00
matthieu
ca03b4fe5d
doneAddrs: reset addrs to NULL after freeing list
...
Resolves warning from Oracle Parfait static analyzer:
Warning: Dangling pointer
Dangling pointer [dangling-pointer]:
Invalid pointer is accessible to caller via global addrs
at line 664 of xdm/auth.c in function 'doneAddrs'.
Invalid pointer accessible via global addrs at line 646
a accessed from addrs at line 658 in function 'doneAddrs'
a freed with free at line 662
From Alan Coopersmith in xdm.
2021-01-01 18:09:07 +00:00
matthieu
a78c567225
Greeter: add parens to DRAW_STRING & TEXT_WIDTH macros
...
From Alan Coopersmith in xdm:
Oracle Parfait static analyser points out it wasn't clear if cast or
arithmetic operation in arguments at lines 410, 416, 431, & 433 was
intended to be done first, so we'll make it explicit.
2021-01-01 18:07:26 +00:00
matthieu
a4606ad337
Fix spelling/wording issues.
...
From Alan Coopersmith in xdm
2021-01-01 18:05:44 +00:00
kettenis
0d5d119426
Set the VT to be used by the X server on armv7 and powerpc64 too.
...
ok phessler@, matthieu@
2020-12-06 16:37:53 +00:00
matthieu
ca0f9517a5
Start xconsole after setting the background.
...
Fixes an issue that causes xconsole to crash reported and fix tested
by Joe Gidi. Thanks.
2020-07-04 13:32:50 +00:00
matthieu
5e486e4cdd
Provide a lower contrast root weave as default background.
2020-06-28 15:40:48 +00:00
matthieu
c9b9b122b9
A darker login widget, providing better contrast.
...
liked by many.
2020-06-28 15:38:34 +00:00
matthieu
a6fc36028d
sort architectures list
2020-04-01 19:58:02 +00:00
matthieu
9d9d20762c
Set the VT to be used by the X server on arm64 too. ok phessler@
2020-04-01 19:46:03 +00:00
deraadt
ed32a4544c
xenodm uses the libc authentication layer incorrectly.
...
fix by markus or millert
Reported by Qualys
2019-12-04 09:53:47 +00:00
matthieu
b9bedc770a
Provide better xsession examples. exec the window manager last.
...
Convert user's example to /bin/sh. Remove xman for example.
2019-08-15 16:23:33 +00:00
matthieu
41003a131f
check return values against -1 "reasonable" deraadt@
2019-06-29 20:29:48 +00:00
espie
04c7986e14
add (commented out) blurb to get openbsd-wallpaper running.
...
"perso j'ai rien contre" ok matthieu@
2019-06-29 13:33:06 +00:00
matthieu
156c07dd53
Check asprintf() return values correctly. ok and tweaks tb@
2019-06-29 08:31:22 +00:00
jsg
f8d726d75d
chown the first drm render node in addition to the primary drm device
...
ok matthieu@
2019-05-12 11:53:06 +00:00
matthieu
3dc8e8dd7e
Disable keyboard binding for abort-display() and update manual page.
...
while there remove a remaining reference to non-existent xdmshell(1).
Reported by Hiltjo Posthuma, ok solene@, bentley@
2019-04-16 05:51:04 +00:00
matthieu
b2e24c1d7c
Remove the unused 'keyFile' resource.
...
It is not used anymore in xenodm (was used to specify the secret keys
for the XDM-AUTHORIZATION-1 authentication protocol in xdm with
xdmcp).
ok kn@
2018-11-03 18:04:45 +00:00
matthieu
b129529692
regen
2018-11-03 14:01:21 +00:00
matthieu
e0d21cc9e4
Remove useless check for XdmcpWrap().
...
It was only needed by xdmcp. ok tb@ mortimer@
2018-11-03 14:01:02 +00:00
matthieu
f9024c4d46
Pass the correct buffer length to strlcpy() to avoid truncation.
...
Problem noticed by Edgar Pettijohn III, ok tb@
2018-10-28 19:38:19 +00:00
matthieu
0523432214
This file is not generated by configure, @ substitutions arent available
2018-07-17 11:52:12 +00:00
matthieu
ebae2cc3f5
Remove useless test for DISPLAY number.
...
This script is only run by xenodm for DISPLAY=:0
2018-07-16 06:52:00 +00:00
matthieu
d39b1994a3
OpenBSD id
2018-07-15 09:58:03 +00:00
matthieu
d31532afbd
Make Xstartup/Xreset consistent with GiveConsole/TakeConsole
2018-07-15 09:53:23 +00:00
matthieu
2a47fd34e2
regen
2018-07-15 09:07:48 +00:00
matthieu
10783d146c
Revert the removal of Xreset and Xstartup.
2018-07-15 09:05:11 +00:00