What is display variable in Linux?

Trương Duy

New member
What is display variable in Linux?
Answer
The DISPLAY variable is
used by X11 to identify your display (and keyboard and mouse). Usually it’ll be :0 on a desktop PC, referring to the primary monitor, etc. If you’re using SSH with X forwarding ( ssh -X otherhost ), then it’ll be set to something like localhost:10.0 .
 

Tìm kiếm

Back
Top