Posts: 64
reverseDog
Joined: 13 Jul 2016
#1
I'm a user of antiX-16 for some weeks now and am delighted how this distro breathes new life into my old hardware! __{{emoticon}}__ But when I run the command"who" in LXTerminal (so far my favourite terminal emulator) I don't get any output, whereas in ROXTerm, Rxvt or Sakura it works alright.

The same is true for the last line in the output of the command"w":

In ROXTerm I get

Code: Select all

martin@P4M800PRO-M:~$ w
 14:52:58 up  1:07,  3 users,  load average: 0,30, 0,22, 0,21
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
martin   pts/2    :0.0             14:52    1.00s  0.16s  0.00s w
martin@P4M800PRO-M:~$ 
in LXTerminal only

Code: Select all

 martin@P4M800PRO-M:~$ w
 14:53:40 up  1:07,  2 users,  load average: 0,15, 0,19, 0,20
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
martin@P4M800PRO-M:~$ 
Funny enough, it does work in LXTerminal when ROXTerm (or Sakura) is opened at the same time. What are the other terminal emulators activating that LXTerminal can't activate by itself?

P.S. In case I chose the wrong subforum please someone move my post to the appropriate one.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
OK, that is bizarre. but i can confirm the behavior.

urxvt doens't show the problem, and neither does xterm. so something is definitely off with lxterminal. its weird.
Posts: 64
reverseDog
Joined: 13 Jul 2016
#3
Thanks for your answer and for confirming the behaviour of LXTerminal. At least this gives me the hope that I haven't messed up my system. __{{emoticon}}__

After a lot of googling I finally found some interesting informations related to my problem here (althoug no working solution is provided):
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://unix.stackexchange.com/questions/62800/why-do-only-some-terminals-get-a-pts"
linktext was:"http://unix.stackexchange.com/questions ... -get-a-pts"
====================================


Indeed one can watch that opening ROXTerm immediately changes the timestamp of the file /run/utmp whereas launching LXTerminal has no effect. Obviously this file is responsible for determining the pts devices.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
I suspect that lxterminal relies on a helper app to log the pts changes. lxterminal works in mx15, so there must be something there doing the job...maybe the session manager takes care of it.