In order to set my display for an X session I have the following commands in a file:
#!/usr/bin/csh
setenv DISPLAY XXX.XXX.XX.XX:0
commands
The only problem is that if I am working from a different workstation, my IP address is obviously different. Is there a command that I can use so that it will automatically detect my IP address and use it to set my display?
#!/usr/bin/csh
setenv DISPLAY XXX.XXX.XX.XX:0
commands
The only problem is that if I am working from a different workstation, my IP address is obviously different. Is there a command that I can use so that it will automatically detect my IP address and use it to set my display?