Operating System - HP-UX
1756128 Members
2949 Online
108841 Solutions
New Discussion юеВ

Re: UNIX environment parameters DISPLAY

 
SOLVED
Go to solution
HUBYCPCBN2
New Member

UNIX environment parameters DISPLAY

Who knows the explanations of x and y in
unix environment parameters DISPLAY=your_host_ip:x,y
3 REPLIES 3
Alex Glennie
Honored Contributor
Solution

Re: UNIX environment parameters DISPLAY

x=displaynumber y=screennumber

display = collection of monitors that share a common keyboard & pointer. see man X for more details.

screen number = in the case of more than one monitor each has its own set of windows,each screen is assigned a screen number . see man X for further details.
Stefan Farrelly
Honored Contributor

Re: UNIX environment parameters DISPLAY


in addition to the previous reply...different applications also use different y (screen) values, eg. Secure shell uses 10 (or 11 on some versions - DISPLAY=:10 or :11).
Im from Palmerston North, New Zealand, but somehow ended up in London...
Dirk Wiedemann
Respected Contributor

Re: UNIX environment parameters DISPLAY

Hi,

in addition to Stefan: I think you mean not the y (screen) but the x (display) number (first value after the IP).
In Secure Shell the value for display (e.g. 10 or 11) can be configured in the sshd config file with the parameter X11DisplayOffset.

regards
Dirk