How can I configure X11 (Fedora 22) to listen to tcp?

asked 2016-01-06 15:38:29 -0500

updated 2016-01-06 17:18:33 -0500

mether gravatar image

Example: xterm -display :0 -> works xterm -display localhost:0 -> does not work

For research, seems to be that gdm is started such that X11 does not listen to tcp and will use a local display.

This appears to be a long standing issue. Some have suggested using xdm or kdm but I am looking for the simplest fix (xdm or kdm means learning a lot of new stuff). I used and configured xdm years ago on Suns, SGIs, and early LInux, but I have forgotten more than I remember.

edit retag flag offensive close merge delete


Welcome to ask.fedora! That's an interesting question that you ask, and I'm not sure what the answer is. Just what is it you're trying to do with this, because it's quite possible that there's an easier way to go about it. Please, either add a comment or edit your question because you can only give one answer to each question and it'd be a shame to waste it on amplifying your question.

sideburns gravatar imagesideburns ( 2016-01-06 17:36:08 -0500 )edit

I am trying to start a process on a remote computer and display its GUI on a computer running Fedora 22. I can use either SSH tunneling or MIT Magic Cookies. I have seen threads that discuss this as far back as 2008. They generally point to the "tcp listening" problem that I mentioned in the question. I have done both approaches 100's of times over the years and this is the first time I have had a problem (using Fedora 22).

teidson gravatar imageteidson ( 2016-01-07 11:45:56 -0500 )edit