NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Doing 'XDM'
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 <tgruhn2%gmail.com@localhost> wrote:
>
> AHHHHH, I will play with that.
>
> Thanks
>
> On Mon, Jun 8, 2026 at 6:23 PM Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> >
> > tgruhn2%gmail.com@localhost (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.
> >
Home |
Main Index |
Thread Index |
Old Index