Re: Doing 'XDM'
Todd Gruhn <[email protected]> Tue, 9 Jun 2026 14:40:56 -0400
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <CA+9Akf9dmOcbt86-k0Ti8ad0Twgu-s5ueKUsS6_qBFqfo8rLHA@mail.gmail.com> |
YEP ... Got one thing: set PS1. But why does this set the prompt, for ONLY the 2 large windows? On Tue, Jun 9, 2026 at 2:13 PM Todd Gruhn <[email protected]> wrote: > > 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. > >