w(1), who(1) and uptime(1) don't count the desktop user
#5
OK, but do you start "openbox" after you have logged in, or do you login after "openbox" has started? If you start "openbox" after you have logged in, then it has nothing to do with the issue. By the way, here's the tail of my "utmpdump /var/log/wtmp" dump:

Code:
[5] [00597] [tyS2] [        ] [ttyS2       ] [                    ] [0.0.0.0        ] [2018-08-14T19:10:34,428420+0000]
[5] [00605] [tty1] [        ] [tty1        ] [                    ] [0.0.0.0        ] [2018-08-14T19:10:34,431654+0000]
[6] [00597] [tyS2] [LOGIN   ] [ttyS2       ] [                    ] [0.0.0.0        ] [2018-08-14T19:10:34,428420+0000]
[6] [00605] [tty1] [LOGIN   ] [tty1        ] [                    ] [0.0.0.0        ] [2018-08-14T19:10:34,431654+0000]
[7] [02882] [ts/0] [lucho   ] [pts/0       ] [192.168.0.104       ] [192.168.0.104  ] [2018-08-15T10:28:55,740498+0000]

Unlike the name "lucho", the name "LOGIN" doesn't show any information about the user.

P.S. The processes with numbers 597 and 605 in the above dump belong to "agetty(1)". Here's a part of the "ps ax" output:

Code:
 597 ttyS2    Ss+    0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS2 vt220
 598 ?        Ss     0:00 /usr/sbin/lxdm-binary
 601 ?        Ss     0:00 /usr/sbin/sshd -D
 605 tty1     Ss+    0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
 607 tty7     Ssl+   1:33 /usr/lib/xorg/Xorg :0 vt07 -nolisten tcp -novtswitch -auth /var/run/lxdm/lxdm-:0.auth


Messages In This Thread
RE: w(1), who(1) and uptime(1) don't count the desktop user - by lucho - 08-15-2018, 04:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New user: Booting from emmc spropine 1 1,782 12-17-2021, 09:37 AM
Last Post: spropine
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 158 203,880 05-29-2021, 04:05 AM
Last Post: twilite
  UART4 in Debian Desktop Release of Mrfixit2001 Gienek 1 3,156 05-19-2020, 02:47 AM
Last Post: Gienek
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 3,630 12-10-2019, 01:30 PM
Last Post: Helium75
  Desktop battlenut 8 10,743 11-18-2018, 06:13 PM
Last Post: evilbunny
  super fast desktop experience, but youtube issue frewind 13 19,251 11-17-2018, 07:32 PM
Last Post: jwcolby54
  Ubuntu Bionic LXDE Desktop /w Firefox and TightVNC stability HenryBenry 4 5,942 10-11-2018, 04:33 AM
Last Post: HenryBenry

Forum Jump:


Users browsing this thread: 2 Guest(s)