Results 1 to 1 of 1
Hi,
I have an Redhat 4 As Update 2 without X and I want to run an X aplication from a windows machine. I have installed Xming in windows and ...
- 02-04-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 7
Install only X-Server
Hi,
I have an Redhat 4 As Update 2 without X and I want to run an X aplication from a windows machine. I have installed Xming in windows and I use the putty with X11 parameters. I get this error when I run the aplication :
I try to set the DISPLAY parameter but it doesn't works. I haven't "xhost" installed.Code:DISPLAY not set. Please set the DISPLAY and try again. Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable: - For csh: % setenv DISPLAY 192.168.1.128:0.0 - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY Use the following command to see what shell is being used: echo $SHELL Use the following command to view the current DISPLAY environment variable setting: echo $DISPLAY - Make sure that client users are authorized to connect to the X Server. To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command: % xhost + To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock': % <full path to xclock.. see below> If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance. Typical path for xclock: /usr/X11R6/bin/xclock
I think that this error is because in the linux I haven't the X Server installed. Is it true?
If yes, what rpm's I have to install?. I have to install the rpm manually (I can't configure yum).
Thanks.


Reply With Quote