LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-30-2014, 03:37 AM   #1
kind.personnel
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 01-30-2014, 12:59 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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.
 
Old 01-30-2014, 03:37 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-connecting running X-clients to a different X-server? bokopperud Linux - Desktop 2 08-14-2009 01:31 PM
Getting error when connecting XServer from windows via UDP connection. dipk_23 Programming 4 03-29-2007 12:11 AM
Getting error when connecting XServer from windows via UDP connection. dipk_23 Linux - Desktop 0 03-23-2007 01:23 AM
connecting xp clients to samba swsred Linux - Networking 2 07-25-2006 09:42 PM
Connecting to remote XServer ibrar_ Linux - Networking 4 07-09-2004 04:22 AM


All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration