Quote:
any solution to this? very similar issue here as well
|
Is the client that you're trying to open windows on allowing the server to connect? Try:
Code:
netstat -an | grep 6000
If nothing is returned, there's nothing listening to receive a connection from your server. You can issue "xhost +" 'til the cows come home and nothing's going to be able to connnect until you tell the desktop that you want to allow connections to port 6000.
You'll have to open up port 6000 on your desktop to allow the remote connection. On SUSE you'd do this using the "/etc/sysconfig editor" found on the YaST menu selection from the main panel menu. and then expand the "Display Manager" branch. You'll want to change the setting for the "TCP port 6000 open" variable. I didn't see what distribution you're using but I'd guess that a similar sysconfig editor is available. If not, you ought to be able to find the variabe to change in "/etc/sysconfig/displaymanager". You'll need to either log out and back in again for the setting change to take effect (if you're booting to level 5) or exit X Windows and re-issue startx (f you boot into level 3). If your change was done correctly, you should be able to rerun the above "netstat" command and see something like:
Code:
$ netstat -an | grep 6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 :::6000 :::* LISTEN
Hope this helps...
Cheers,
Rick