(In reply to Richard Brown from comment #4) > I think : would be a correct designation for a wayland session within last I can understand probably thats the right thing to do because of the way wayland works. You may close the bug as invalid. I want to know couple of things and I am sorry to use the bug to find the information. I did lot of googling and digging, but could not find proper answers. 1. How do I programmatically find the display number on which a desktop user is logged in so that can export the display of a graphical application to the desktop ? None of the commands like last, who, loginctl seems to help. 2. Whether "export DISPLAY=..." is the right way with wayland or there is any better and recommended way to export display ?