Re: Doing 'XDM'
Todd Gruhn <[email protected]> Tue, 9 Jun 2026 14:13:52 -0400
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <CA+9Akf9WkNy97a_WZOX6BLU+24H2=Dqp9kDVTh8yqpze2p9i5Q@mail.gmail.com> |
AHHHHH, I will play with that. Thanks On Mon, Jun 8, 2026 at 6:23 PM Michael van Elst <[email protected]> wrote: > > [email protected] (Todd Gruhn) writes: > > >I got it working, when I log in, this happens: > >'gandalf$ ' ---> '$' > >How do I set PS? A specific .* file? > > > Your .profile isn't executed when you log in with xdm. > > One possibility is to treat every terminal (xterm) as a login > terminal where the shell executes the .profile. Most people > find that confusing, but it has the advantage that a changed > profile is used by any new xterm. > > The more common method is to set a profile for the whole > xdm session and let environment variables be inherited by > the window manager any process launched from it. > > The latter is done by providing your own custom $HOME/.xsession > file that replaces the system /etc/X11/xdm/Xsession > (or /usr/pkg/lib/X11/xdm/Xsession with modular X). > > The session file is not a profile script. Easiest is to copy the > system file and adapt it. >