LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connecting X-clients to my Xserver do not work . (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-x-clients-to-my-xserver-do-not-work-4175493095/)

kind.personnel 01-30-2014 02:37 AM

Connecting X-clients to my Xserver do not work .
 
when using telnet to a server and then do export DISPLAY to point to my PC which runs linux fedora 20 , it doesn't work
I used xhost+ in my Xserver
but, it seems to be something in the firewall.

jpollard 01-30-2014 11:59 AM

It could be the firewall... but just as likely, the X server doesn't enable TCP connections. For security reasons, TCP connections are normally disabled.

It is easier (and more secure) to use ssh to make remote connections. ssh can forward X window connections properly without the problems caused by disabling security (xhost +) or trying to get the authorization keys transferred securely.

rtmistler 01-30-2014 02:37 PM

You could try -Y or -X in your ssh command.
Code:

ssh -Y user@host
This enables X11 forwarding, the Y one is for trusted clients and the X one is considered a security risk.


All times are GMT -5. The time now is 11:20 AM.