You are not logged in.
Pages: 1
Hi,
I'm a single user of a single KDE desktop. For some reason, with KDE I've always been logged in twice (always once, as long as my conscious act is concerned, which is my point). Today there are three of me:
$ users
llama llama llama
Is there a way to uncover the entities which keep on logging in in my name?
Offline
$ who
??
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
$ who
llama :0 2013-01-05 07:58
llama pts/0 2013-01-05 07:58 (:0)
llama pts/1 2013-01-05 07:58 (:0)
pts has something to do with remote connections. What are they in my case? None of my conscious activities, sure.
Last edited by Llama (2013-01-05 06:11:02)
Offline
Dunno what to tell you. KDM? KDE? I use lxdm and only see one:
% who
facade pts/0 2013-01-05 01:02 (:0.0)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I use lxdm
jk[~]$ who
jk pts/0 Jan 5 06:22 (:0)
jk pts/1 Jan 5 06:24 (:0)
jk[~]$
[edit: only user on a laptop / wireless network]
Last edited by flipper T (2013-01-05 06:28:59)
If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf
Offline
I use a systemd service and I get nothing
Offline
If it helps anyone here to diagnose the "problem", when i kill X
systemctl stop lxdm.service
and log into tty, only 1 user showing.
Restart lxdm:
jk[~]$ who
jk tty1 Jan 5 06:59
jk pts/0 Jan 5 07:00 (:0)
Reboot:
jk[~]$ who
jk pts/0 Jan 5 07:24 (:0)
oh hum...
Last edited by flipper T (2013-01-05 07:26:47)
If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf
Offline
...Open 2nd terminal (I use gnome-terminal)
jk[~]$ who
jk pts/0 Jan 5 07:24 (:0)
jk pts/1 Jan 5 07:27 (:0)
...Open 3rd
jk[~]$ who
jk pts/0 Jan 5 07:24 (:0)
jk pts/1 Jan 5 07:27 (:0)
jk pts/2 Jan 5 07:27 (:0)
closing a terminal reduces number of user by 1
So mystery solved for me, hope it helps OP.
Last edited by flipper T (2013-01-05 08:01:26)
If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf
Offline
Interesting that gnome-terminal opens as a login shell. Makes me wonder if this occurs with other terminal emulators. Can you try others?
Offline
Exactly same behavior with lxterminal.
I use i3wm, if that is of any relevance (not sure why it would be)
Last edited by flipper T (2013-01-05 08:16:45)
If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf
Offline
No it isn't. What I am trying to say is that typically when you open a terminal (at least this is what I have experienced), it is not a login shell. A login shell starts up slightly differently, configuration wise, and usually happens when you log in (imagine that!).
You can achieve a login by issuing something like
$ bash -l
or
$ zsh -l
if you prefer.
I am not so familiar with vte terminals though, so I am not sure if it has to do with that, or possibly the settings within those terminals.
Offline
Both KDE konsole and xterm do the same, and i'm not using a display manager.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Interesting that gnome-terminal opens as a login shell. Makes me wonder if this occurs with other terminal emulators. Can you try others?
IIRC it's an option in gnome-terminal
Offline
$ who
llama :0 2013-01-05 07:58
llama pts/0 2013-01-05 07:58 (:0)
llama pts/1 2013-01-05 07:58 (:0)pts has something to do with remote connections. What are they in my case? None of my conscious activities, sure.
No, "pts/X" are pseudo ttys which are open when you use a terminal emulator (and of course remote sessions as well). The reason why you see multiple logged in users is because your konsole (you use KDE, right?) updates utmp entry. You need to scout its config to set the corresponding setting to false.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Every time a terminal is open, it opens a new user shell, but some of the actual logging in that would be redundant doesn't have to be done over and over again.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
There are twelve of me.
I can't see an easy way to prevent this in Konsole's config...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I have KDE with KDM (i am using zsh). When i open a konsole i get the same output as previous posts:
saso :0 2013-01-16 10:45
saso pts/0 2013-01-16 10:45 (:0)
saso pts/1 2013-01-16 10:55 (:0)
Last edited by Shark (2013-01-16 09:56:52)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Pages: 1