On 2/16/19 4:34 PM, spiky0011 via blfs-dev wrote:

On 16/02/2019 22:22, Douglas R. Reno via blfs-dev wrote:

On 2/16/19 4:04 PM, spiky via blfs-dev wrote:

On 13/02/2019 17:10, Bruce Dubbs via blfs-dev wrote:
On 2/13/19 1:27 AM, spiky0011 via blfs-dev wrote:

On 12/02/2019 09:43, Pierre Labastie via blfs-dev wrote:
On 12/02/2019 09:43, spiky via blfs-dev wrote:
Blfs is built as per book and I have built Lfs many times and just noticed this on this build. I can get xterm launched the 3 windows but when you exit out of all of them you are logged out of the tty as well, this has never
happened before

So you are using twm. If you have not changed anything to the default
configuration, only exiting the upper left xterm should take you out of X.
Exiting the other ones should just clode the window.

Have you installed the legacy fonts? They are known to be needed for proper
operation of twm (see the thread starting at
http://lists.linuxfromscratch.org/pipermail/blfs-support/2019-February/080725.html)

And please do not top-post. My 2nd answer is coming before your 1st question:)

On 12/02/2019 08:39, Pierre Labastie via blfs-dev wrote:
On 12/02/2019 08:47, spiky0011 via blfs-dev wrote:
Having built blfs latest svn, I have noticed that when in X with xterm, when I
exit xterm I return to tty but the user is logged out.

    Now this is a new thing that has just started happenning which is very
annoying, what is the cause of this, and how is it fixable.

Hi,

Are you using twm or another WM?
If using twm, have you changed /etc/X11/app-defaults/xinitrc, or do you have
~/.xinitrc?

What does /var/log/xorg.0.log say?
Try also starting with "startx > ~/startx.log 2>&1"
and examine the startx.log

That's all I can think of now.

Pierre

Sorry about top post

I have installed xorg Legacy fonts, but that didn;t fix the problem,

Try launching X exit the xterm, you are returnd to the login prompt but user is logged out. This is something that has been introduced on latest Systemd build, (not sure about SysV).

Xorg log shows nothing nore dose Journalctl


Try creating an .xinitrc in your home directory:

xterm  -g 80x40+0+0   &
xclock -g 100x100-0+0 &
twm


Then run startx.  There may be no difference, but it's worth a try.

  -- bruce

Ok tried adding that to .xinitrc in fact X wont even start with that.

There has to be something that has changed that logs the user out.

If there is are several desktops installed and .xinitrc is used to launch them, when you log out of 1 desktop you are logged out, you have to log back in at tty then run startx. This becomes a nuisance!!!

What has changed?

It's something to do with systemd-logind, and the freeing of TTYs once they're no longer in use. Unfortunately until we upgrade to systemd-241 I'm not sure there's much we can do about it.


I personally hadn't noticed.

It has only changed on the latest svn

20180920 version was ok.

That was systemd 239.  We are now at systemd 240.

You could always try sysV.  :)

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to