freebsd at edvax.de
Fri May 1 04:05:05 UTC 2020
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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions