PDA

View Full Version : [ubuntu] Display environment variable



kakarala
April 4th, 2010, 08:26 PM
Hi

I am using ubuntu linux on windows7 using vmware. Can any one tell me how to set the display environmental variable
I tried using command

setenv DISPLAY hostname:0.0

how do i select the numbers 0

Bachstelze
April 4th, 2010, 08:29 PM
First, setenv is for csh-like shells. For sh-like shells (e.g. Bash) you use


export VAR=value

As for the values you need to set, we can't tell you the correct value if we don't know what you want to do.

kakarala
April 4th, 2010, 08:35 PM
I am trying to use synopsis tools from the server.but to get gui i need to set the display environment variable. I cant set the display environmental variable

me13221
April 5th, 2010, 08:17 AM
It sounds like your question is about VMWare, not ubuntu.