Microsoft
Software
Hardware
Network
Question : Problem: I can't set the DISPLAY variable successfully
Ihave installed RH4WS 32 bit and I am having a problem not encountered before.
I have a static IP address of 162.182.8.114
If I "echo $DISPLAY" it returns ":0.0"
If I enter "xterm&" an xterm appears
I set the display to 162.182.8.114:0.0
If I "echo $DISPLAY" it returns "162.182.8.114:0.0"
If I enter "xterm&" I get "xterm Xt error: Can't open display: 163.183.8.114:0"
I have tried "xhost +". It makes no difference.
The /etc/hosts file looks like;
127.0.0.1 localhost
162.182.8.114 bslinux
162.182.8.115 billunix
Since I can not specify the DISPLAY successfully, once I ssh or telnet to another machine I can't get an xterm to come up.
Any ideas?
Answer : Problem: I can't set the DISPLAY variable successfully
OK, I've got it. You have run your X server with default option: -nolisten tcp.
Do I need to say more ... :)
Go to /etc/X11/... or wherever you have your X server config file (when you have kde there, it could be eg.
/usr/kde/3.5/share/config/
kdm/kdmrc file. It can be a little to search (try to use find /some/dir -name Xsession -print, then look in the directory where this file exists)
What you need is to find where you set this option and remove it. Then restart your X and all should work normally.
Random Solutions
Problem: Convert router to Wireless Print Server
Problem: Citrix Program neighborhood client question
Problem: Black screen on boot, no beeps..
Problem: eSATA PCI Card at 3GB/Sec - Can anyone find one?
Problem: Add SAS HDD to existing Raid 5
Problem: SQL error in Backup Exec
Problem: best software to modify Excel, PDF, JPG on Blackberry 8830
Problem: Bluetooth headset: can hear laptop audio (poorly), but mic doesn't work.
Problem: Installed new video card, when I connect monitor, i get "Signal Out Of Range"
Problem: Moving files from RDP to local machine, and back again.