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.

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
add comment

1 Answer 1

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
add comment

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.