Commit 4ac6955
committed
vglgenkey: Abort if DISPLAY env variable is unset
In an XDMCP environment, a separate instance of the display manager is
launched in a remote display session. Depending on the system, this may
cause the display manager startup script to be invoked with the DISPLAY
environment variable unset. If this occurred, vglgenkey preemptively
removed /etc/opt/VirtualGL/vgl_xauth_key, but there was no way for xauth
to generate a new key. Thus, effectively the xauth key generated for
the "root" display manager was clobbered by the instance of the display
manager launched in the remote display session.1 parent 5f67738 commit 4ac6955
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
2 | 11 | | |
3 | 12 | | |
4 | 13 | | |
| |||
0 commit comments