env DISPLAY problem


 
Thread Tools Search this Thread
Operating Systems Linux env DISPLAY problem
# 1  
Old 01-12-2010
env DISPLAY problem

Hi,
I am working on Windows and from here accessing a Linux system using Putty.
Now, I like to run the firefox but it is opening on that Linux system. How to open it on my Windows system so I can see the browser. I am using bsh. The environment varaibale I am setting as
DISPLAY=localhost:0.0; export DISPLAY

But still unable to see that browser on my system(Windows).

Thanks
# 2  
Old 01-12-2010
Hi, there are a few things You must set up correctly.

1) You must have an X Window Server set up on Your Windows PC and have it running. I recommend Xming. Others may prefer using Cygwin/X.
2) You must enable X11 port forwarding in Your Putty (or other ssh) connection.

Once You have connected with putty, run any X program and it should display on Your Windows PC.

You do not need to set any environment variables because Putty will handle that for You when it makes the connection.

Best regards,
Lakris
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - ENV Variable context problem using su

Hello I have found some piece of code to verify and then run shell script with root permission from normal user. see : http://blog.mecworks.com/articles/2006/02/23/bash-scripting-tip-running-a-script-as-root I have wrote two scripts using this tips. - one to copy file from server to local... (6 Replies)
Discussion started by: jcdole
6 Replies

2. UNIX for Dummies Questions & Answers

Problem with VI display

Hi Experts, i am facing this problem with vi. Most of the time my vi display will show like below.it is hectic for me to .so again i have to do re size or maximize something like then it will come normal. HELP?? (2 Replies)
Discussion started by: prakumar
2 Replies

3. Web Development

Deny from env=env-variable Does not work

(Above from Apache docs). On my system, using: SetEnvIf User-Agent Mozilla IsBad=1 Order allow,deny Allow from all Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies

4. UNIX for Dummies Questions & Answers

DISPLAY Problem

We are facing an issue setting up Display on our server. Thu Jan 5 17:09:01 2012 vncext: VNC extension running! vncext: Listening for VNC connections on port 5905 vncext: created VNC server for screen 0 error opening security policy file /usr/lib/X11/xserver/SecurityPolicy... (1 Reply)
Discussion started by: narayanv
1 Replies

5. UNIX for Advanced & Expert Users

problem in Unix Env. in Shell script

sdir;csp os_lib-0.5.24;bdir;cbpdob ---enable-useosstl os_lib-0.5.24;mbp os_lib-0.5.24; If i run this command in unix shell directly it is running. sdir;csp HA_util-0.0.7;bdir;cbpdob ---enable-useosstl HA_util-0.0.7;mbp HA_util-0.0.7; HA_util === Configuring source package HA_util... (4 Replies)
Discussion started by: girija
4 Replies

6. UNIX for Dummies Questions & Answers

display problem

hi i have written a script #!/bin/sh clear menu() { ...... echo "enter 4 for finding text in a files" echo "input: \c" } switch() { read input case $input in ....... 4) echo "find" (1 Reply)
Discussion started by: the.noob
1 Replies

7. Shell Programming and Scripting

Display Problem

Hi, I am trying to install oracle client on unix(SUN Solaris) machine. For this a GUI window will open when i click ./runInstaller I have Humming Bird Connectivity ->Exceed .Now what i have to do ...?? Please tell me ASAP. Its urgent i need to install right away. This is a Solaris Machine. ... (1 Reply)
Discussion started by: dreams5617
1 Replies

8. Solaris

Display Problem

Hi, I am trying to install oracle client on unix(SUN Solaris) machine. For this a GUI window will open when i click ./runInstaller I have Humming Bird Connectivity ->Exceed .Now what i have to do ...?? Please tell me ASAP. Its urgent i need to install right away. This is a Solaris Machine. ... (1 Reply)
Discussion started by: dreams5617
1 Replies

9. Shell Programming and Scripting

Adding command line env in cron env

Hello friends, i run two scripts manually & they work. i run them in cron & they don work. how to match the two env's 1.command line env 2.cron env i would like cron to use command line env. Thanks & Regards Abhijeet (1 Reply)
Discussion started by: abhijeetkul
1 Replies

10. UNIX for Dummies Questions & Answers

X display problem...

I've checked all the documenttion that i can find here in the forums...and on the net....to no avail. Here's my scenario: I'm attempting to activate a remote X server. I 'm on a SuSe 7.0 distro, behind a firewall. (using bash shell) $ $ ifconfig eth0 192.168.1.203 up{as root} $ xhost +... (2 Replies)
Discussion started by: thomas.jones
2 Replies
Login or Register to Ask a Question