Results 1 to 2 of 2
Thread: Specifying displays
Enjoy an ad free experience by logging in. Not a member yet? Register.
I am trying to be able to open programs from the command-line (console), but it tells me that I need to specify the display. The way I always thought you did that was as following:
$ ./firefox -display=:0
- Join Date
- Sep 2005
- Edmonton, Canada
Different progams use different syntax for specifing a display, but a universial way to do it is to set the environment var $DISPLAY before running the program:
will work. Keep in mind the same user must own the :0 display and run the program. Running the command as root also works, but is not recommended, of course.