Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think I'm misunderstanding this variable.

  1. Does each x-session have it's own display variable?
  2. What does the number before the dot vs. after the dot mean, for example DISPLAY=0.0
  3. Which number (before/after) represents an x-session?

Thanks :-)

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Each X session has its own display number. This is the number before the dot. The number after the dot is the screen within the X session.

share|improve this answer
    
What is meant by screen? Does this mean physical screen like running two monitors or something else? –  rubixibuc Feb 19 '12 at 4:58
    
That part is implementation-defined. On Xorg it means physical screens. –  Ignacio Vazquez-Abrams Feb 19 '12 at 4:59

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.