LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2004, 05:30 AM   #1
ibrar_
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Question Connecting to remote XServer


I want to connect my XServer Clients to remote XServer
I have 3 Computers network A, B, C all running Fedora Core 2
On A I have complete installation XServer and XServer’s client etc.
And other computers just have XServer client.
I want to connect my other pc’s XServer Client to A’s XServer Client.
How Can I do that?
 
Old 07-08-2004, 06:43 AM   #2
schurt
Member
 
Registered: Nov 2003
Location: raleigh, nc
Distribution: fedora, arch
Posts: 78

Rep: Reputation: 15
ssh with x11 forwarding enabled.. used to be enabled by default but became a security risk.
 
Old 07-08-2004, 06:46 AM   #3
ibrar_
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Please be clear how to do this i am new in linux
and make sure i have no XServer installed on B and C Computer
 
Old 07-09-2004, 03:16 AM   #4
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
SSH (or OpenSSH in the linux world) is a program which works similar to telnet, except that it uses high encryption between client and server and enables tunneling for ie. the X-protocol. Telnet is a program which has existed for many years and is a nifty utility for connecting to a computer (the server) to use the terminal/console on the server.

With the X-forwarding built in is infact very simple for a client to connect to a server, start a program thrue terminal and the X-program pops up on the client (if client has X running) instead of server.

To use SSH, you first need to check that you have "sshd" (server app) running on the computers you'd like to connect to. The ssh-client (called surprisingly 'ssh') is installed on probably every linux distro so I don't think you should mind about that one.

So, let's say you sit on computer c1, and is going to connect to c2.
1. Check c2 has sshd up and running.
2. On c1 do:
Code:
user@c1# ssh -X user_on_c2@c2
Password:
Welcome to c2. Last login ??.??.?? ??:??
user_on_c2@c2# mozilla
...then mozilla will run from c2. The window will pop up on c1.

Of you have problems connecting you should perhaps also have a look into your firewall settings.

Good luck,

Jens
 
Old 07-09-2004, 03:22 AM   #5
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
...to check whether you have X-server installed on you computers you should use rpm I guess (haven't tried feodora)
Code:
rpm -qa|grep "xserver"
if something pops up then you have it installed. To remove it then you write:
Code:
rpm -e <package_to_remove>
.
You have to be root to remove a package.
 
  


Reply



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
shutdown xserver via remote shell (ssh) ? timbaloo Linux - Newbie 1 07-07-2004 04:33 PM
Remote login with root from XServer(SUSE 9.0) Hasegagwa Linux - Networking 11 06-25-2004 01:04 AM
SSH use remote xserver? breenbaron Linux - Networking 4 06-17-2004 07:33 AM
setup Xserver for remote access drwolfson Linux - Networking 2 12-11-2003 10:57 AM
Xserver remote control (like VNC on Windows?) thajade Linux - Software 3 09-15-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:46 PM.

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
Open Source Consulting | Domain Registration