login question

William A. Mahaffey III wam at hiwaay.net
Sun Nov 1 16:18:20 UTC 2015



I am configuring my new 'dev-box'. I have XFCE installed, haven't logged 
in to it yet, I am using SSH across the LAN to access it for now. I 
copied my .login file from this box over there, & whenever I login over 
SSH, I get a bunch of garble about aborted X11 startup, then I am logged 
in. I attach my .login file. Is there a way to discern the type of 
login, i.e. 1st-hand on that box vs. across-the-LAN, so I can decide 
whether or not to boot up XFCE ? TIA & have a nice weekend.


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

-------------- next part --------------
# $FreeBSD: releng/9.3/share/skel/dot.login 190477 2009-03-27 21:13:14Z ru $
#
# .login - csh login script, read by login shell, after `.cshrc' at login.
#
# see also csh(1), environ(7).
#

if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips
source -h ~/.Usual

# startx
[ ! -f /tmp/.X0-lock ] && startx



More information about the freebsd-questions mailing list