Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 06:05:00 +0200
From:      Polytropon <>
To:        Brandon helsley <>
Subject:   Re: Xdm var/log/xdm.log
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 1 May 2020 03:45:18 +0000, Brandon helsley wrote:
> Ok, I will add xsession.

NB: .xsession (the dot is significant).

Or you can do the following, as you said you already have
a .xinitrc (which xdm will ignore, as mentioned):

	% cp .xinitrc .xsession

This will also work (if the content of .xinitrc is valid).
However, testing should first start with the simple things,
and after success, advance to the more complex things, that's
why I suggested checking the general X login / logout mechanism
first with an "exec xterm" line.

> I'm not even sure what a login shell or any of that is so
> I don't know what you mean by the lines I should put in xsession.

A login shell is the shell that is executed after you have
successfully provided your username and password. The shell
is, per default, the C shell in FreeBSD, even though other
shells are often used. It "holds your session alive", i. e.,
when the login shell exits, you will be logged out. 

The shell is defined in /etc/passwd, the entry is generated
when you use tools like adduser or pw to create a new user.

You can find out easily what's your login shell, e. g.:

	% echo $SHELL

That is the C shell, FreeBSD's default dialog shell.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>