Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting my Display

Status
Not open for further replies.

h2hummer47

Technical User
Dec 11, 2002
7
US
When using a VPN connection via my laptop and logging into my Sun Solaris Ultra 10 via Reflections I'm needing to export my display back to my laptop. Does anyone have any idea how this can be accomplished????
 
I presume you want to do it automatically rather than typing in export DISPLAY=1.2.3.4:0 every time you log on?

I use this snippet in my .profile:

[tt]DISPLAY=$(who am i | sed -e 's/.*(//;s/)//')
export DISPLAY[/tt] Annihilannic.
 
It's giving me the "Can't export display: {IP Address}"

which is listed as the Default Gateway Address for the company vpn when I run 'ipconfig /all'. I have an address for broadband connection as well as the router I'm using. Could this be a problem as well?
 
What shell are you using? In other words, what exactly is giving you that error message "Can't export display"?

Does typing the following work:

[tt]DISPLAY=1.2.3.4:0
export DISPLAY[/tt]

where 1.2.3.4 is the IP address of your laptop?

When you do an ipconfig /all the IP address of the "PPP adapter (your VPN connection name)" is the one you should use. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top