LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XWindows display fails (https://www.linuxquestions.org/questions/linux-newbie-8/xwindows-display-fails-4175474770/)

pbrantley 08-26-2013 09:29 AM

XWindows display fails
 
I am trying to run a GUI program and have installed MobaXterm on my desktop. I have logged in as the oracle user and set the DISPLAY={my desktop IP address:0.0} and export DISPLAY, when I run ./runIinstaller I get this message
Checking Temp space: must be greater than 120 MB. Actual 7349 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2015 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,
Thanks in advance

rtmistler 08-26-2013 01:47 PM

Have you tried to run /usr/bin/xdpyinfo and viewed what the output from it says, or if you even have that binary utility installed? Further, in your shell you can echo $DISPLAY to see what your DISPLAY variable is set for, if anything.

The output of xdpyinfo is pretty extensive. My display variable is something very terse; such as ":0.0"; however I'm not trying to install MobaXterm.

jpollard 08-26-2013 05:02 PM

It also depends on how you logged into the server...

By default Linux X servers do NOT support the TCP connection (which is required for hostname:0 display to work). Normal logins are done using ssh to provide a secure session with the remote system. X, by default, does not support encryption, thus the password used to connect to the X server is sent in cleartext... Ssh provides an encrypted connection AND ensures security by using a different value for the MIT-MAGIC-COOKIE password. ssh will setup the X display for you (ssh -X) if the servers configuration for sshd permits forwarded X sessions.

pbrantley 09-03-2013 10:53 AM

Problem solved
 
I solved this problem by loading the Cygwin X server and logging in using Putty. All is well
Tthank you very much
for your replies.


All times are GMT -5. The time now is 09:55 PM.