Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What does the command export DISPLAY=:0on terminal do ??

Is it possible to change the number from 0 to some other value..

share|improve this question

DISPLAY=:0.0 is "the first configured screen"

DISPLAY=:0.1 is "the second configured screen"

And the EXPORT actually sets the variable to that value. It is used to tell X server to show what is comming next on that display. Example: How to start a a GUI software on a remote Linux PC via SSH

And yes, technically it should be possible to run KDE on tty6 and Unity on tty7. I have done it before (as in 2010) but I saw a question a while back about how to set that up and I failed to find a correct answer on how to do this with Unity. It needs to be done with the LightDM config and I can find the setting to change the port it uses (so change tty7 to tty6) but have not seen how to use both at the same time.

share|improve this answer

Your Answer


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.