I read that pts is a pseudo-terminal (that we get through ssh or xterm) and tty is the native terminal.
I didn't connect to my PC through ssh or xterm, but I am still getting pts/0 and pts/1 when I type who
command. When I open other terminals, the number of pts's increase.
username@machine$ who
username tty7 2020-12-30 11:39 (:0)
username pts/0 2020-12-30 11:39 (:0)
username pts/1 2020-12-30 11:53 (:0)
I am not getting why this is happening, shouldn't there be more tty's after opening other terminals?
Also, when I do su
I see that other pts session gets opened for root in auth.log file.
:0
indicates an X session, so you must be using a GUI terminal emulator (if not xterm, then gnome-terminal or something else)