Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 14:21:19 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: Putting my new FreeBSD 9.3 desktop online ....
Message-ID:  <20140816142119.c08d7b44.freebsd@edvax.de>
In-Reply-To: <53EF4592.9030406@hiwaay.net>
References:  <53EBE6D6.8090501@hiwaay.net> <20140814072430.5e39c3bc.freebsd@edvax.de> <53ED2189.6020408@hiwaay.net> <53EE14FA.8060601@hiwaay.net> <20140815192413.78634baa.freebsd@edvax.de> <53EE4480.1080803@hiwaay.net> <20140815194438.2a468e5f.freebsd@edvax.de> <53EF4592.9030406@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Aug 2014 06:50:42 -0500, William A. Mahaffey III wrote:
> [...] I just do a console login, 
> then type startx & all is well. I normally stay logged in for long 
> periods (weeks/months), so this doesn't come up often ....

You _could_ add the following to your ~/.login file:

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

The test against the lock file will make sure that
further console logins won't try to start a second
instance of X.

But I think I would not advice to do this, I'd just
like to mention that it's possible (and part of my
"auto-login with X" setup).


-- 
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?20140816142119.c08d7b44.freebsd>