Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When you know what display you want apps to start by default you would do something like:

export DISPLAY=localhost:0.0

But suppose miss daisy, which is a frisky windows user that is giving linux a chance, is trying to figure out the available displays values she can set this variable to. She probably expects something like localhost:0.0 0.1 1.0...

How does Miss Daisy query such basic information about her system in the command line?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.