Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 06:05:00 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Brandon helsley <brandon.helsley@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xdm var/log/xdm.log
Message-ID:  <20200501060500.4a89db8b.freebsd@edvax.de>
In-Reply-To: <CY4PR19MB165588762EA2A92CF95C361FF9AB0@CY4PR19MB1655.namprd19.prod.outlook.com>
References:  <CY4PR19MB165569C1F62D653DEA0BC086F9AA0@CY4PR19MB1655.namprd19.prod.outlook.com> <20200501051811.2b24d320.freebsd@edvax.de> <CY4PR19MB1655947EFA1876957A4FD2CDF9AB0@CY4PR19MB1655.namprd19.prod.outlook.com> <20200501053836.76a32eaf.freebsd@edvax.de> <CY4PR19MB165588762EA2A92CF95C361FF9AB0@CY4PR19MB1655.namprd19.prod.outlook.com>

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
	/bin/csh

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





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200501060500.4a89db8b.freebsd>