Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

Set environment display

Paul Stanard
Regular Advisor

Set environment display

Any idea of how to set the env display in Tru64 to that of the local machine
Johan Brusche
Honored Contributor

Re: Set environment display

sh or ksh
DISPLAY=0:0 ; export DISPLAY

sentenv DISPLAY 0:0

one can also use localhost:0 instead of 0:0

Make sure the owner of the display has set
"xhost +" to disable access control.


Mic V.
Esteemed Contributor

Re: Set environment display

To clarify, "xhost +" allows anyone to connect to your display. If you'd prefer to allow only yourself:

xhost +`uname -n`

xhost +localhost

If your environment already allows everyone to connect (to find out: xhost), you can "xhost -" to disallow everyone who wasn't explicitly allowed to access your display.


man xhost

to read more about the command.


What kind of a name is 'Wolverine'?
Ralf Puchner
Honored Contributor

Re: Set environment display

using .0 without a hostname leads to a faster output because shared memory will be used instead of the network layer.
Help() { FirstReadManual(urgently); Go_to_it;; }