I've been using X11 forwarding to forward clipboard contents from remote servers.
When I tried to use X11 forwarding from one GUI linux computer to another, I noticed something peculiar. Let's say that machine A sshs into machine B.
I can issue the following command on any machine to check its clipboard contents
xclip -selection clipboard -o
I see the same clipboard contents when I issue it on
A and on the ssh prompt connected from
However, if I issue it on machine
B's GUI session, then I see different contents!
Does this mean that machine
B has two X11 sessions? One for the GUI, and one created when I ssh'd into it via
Since on linux everything is a file, where do files for these respective sessions live?