mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
FreeBSD: Fix dtlogin failsafe session
We need to have /usr/local as the proper X11 prefix to start mwm and xterm
This commit is contained in:
parent
1a51479e38
commit
bd70163b09
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,7 @@ XCOMM emulator.
|
|||
$XDIR/xterm -C -ls
|
||||
#else
|
||||
|
||||
|
||||
XCOMM
|
||||
XCOMM Global variables
|
||||
XCOMM
|
||||
|
@ -56,6 +57,9 @@ XCOMM
|
|||
#if defined(linux)
|
||||
XDIR=/usr/bin
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
XDIR=/usr/local/bin
|
||||
#endif
|
||||
|
||||
$XDIR/xsetroot -default &
|
||||
|
||||
|
|
|
@ -1652,6 +1652,8 @@ StartClient( struct verify_info *verify, struct display *d, int *pidp )
|
|||
failsafeArgv[i++] = "/usr/X/bin/xterm";
|
||||
#elif defined(__hpux)
|
||||
failsafeArgv[i++] = "/usr/bin/X11/hpterm";
|
||||
#elif defined(CSRG_BASED)
|
||||
failsafeArgv[i++] = "/usr/local/bin/xterm";
|
||||
#else
|
||||
failsafeArgv[i++] = "/usr/bin/X11/xterm";
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue