Hello,

ksh does not load my .profile when run via xterm; it does when logging in
from a console.

I've followed the faq at http://www.openbsd.org/faq/faq8.html#ksh and it
still does not work.

This definitely used to work. Suggestions much appreciated.

Regards,
Laurence


My config files:

$ ls -la .profile .xsession .Xdefaults
-rw-r--r--  1 laurence  laurence   88 Jul 15 16:26 .Xdefaults
-rwxr-xr-x  1 laurence  laurence  432 Jul 15 16:53 .profile
-rwxr-xr-x  1 laurence  laurence  162 Jul 15 16:53 .xsession
$
$
$ cat .profile
# $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $
#
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
export PATH HOME TERM


# Custom stuff
export VISUAL=emacs
export EDITOR=$VISUAL
export PKG_PATH=ftp://mirror.ox.ac.uk/pub/OpenBSD/`uname
-r`/packages/`machine -a`:ftp://mirror.exonetric.net/pub/OpenBSD/`uname
-r`/packages/`machine -a`
$
$
$ cat .xsession


#!/bin/ksh
export LC_ALL=en_GB.UTF-8
export AWT_TOOLKIT=XToolkit
export VISUAL=emacs
export EDITOR=$VISUAL
xrdb -merge ~/.Xresources
xsetroot -solid grey
exec i3
$
$
$ cat .Xdefaults


! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $
XTerm*loginShell: true
$

Reply via email to