LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-08-2001, 11:31 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
Question Port 6000 an xwindows


Hello!
Why does Xwindows listen on port 6000, isn`t it just the service for the GUI on the workstation itself?
 
Old 11-08-2001, 12:39 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
http://www.linuxplanet.com/linuxplanet/tips/1124/1/
here's an article on how to shut down the x-window tcp ports.
 
Old 11-09-2001, 02:20 AM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Cool so.....

what is it good for .... (absolutely nothing?)
 
Old 11-09-2001, 03:23 AM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
X applications talk the the X server using networking protocols, the X server then displays the window.

You can run a program on one computer but display it on another (which is handy when you want to sit at a P75 and run Mozilla and StarOffice at the same time!)
 
Old 11-09-2001, 04:37 AM   #5
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Question Using xwindow

So xwindows can be used like pcanywhere?
If this is right, how can I use it?
Just using the web browser and adding an ":6000" to the ip adress to let the browser know what port I want to connect?
 
Old 11-09-2001, 04:57 AM   #6
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
A bit like PC Anywhere, but not entirly.

You can't use a web browser, becuase browsers don't support the X protocol, and X doesn't support http.

The method I use to run remote X applications is as follows. Assume I am sitting at machine A and want to see programs on machine A but run them on Machine B.

[code]
ssh -X -C dorward@machineb.host.name
Password: ***********

dorward@machineb:~$mozilla &
[code]

The -X to ssh enables X forwarding, it may be enabled by default on your system. The -C enables compression, this eats more CPU but speeds things up over a slow network.

Mozilla will then run on Machine B and display on Machine A. Remember that if you refer to any file within Mozilla it will look on Machine B and not Machine A.

A program more like PC Anywhere is VNC, this includes a Java Applet client so you can point your web browser at it. There are also Linux, Windows, Palm Pilot, and other client applications. Servers are available for Linux and Windows (among others).
 
Old 11-09-2001, 07:11 AM   #7
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Lightbulb Yes!

Thank you for your help!
I tried this and it worked as you said!
But as always I have one last question:
Isn`t it the same as telnet? I couldn`t see any diference!
 
Old 11-09-2001, 01:05 PM   #8
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Ssh is somewhat similar to telnet, but considerably more featureful and encrypted.
 
Old 11-09-2001, 01:08 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
If you didnt see any difference thats all the better, a proof the system works.

The difference is SSH is able to handle authentication plus datastream encryption plus datastream compression in one (and still be easy to handle), where telnet does everything (auth & datastream) in cleartext.
 
  


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
How to close port 6000? WilliamS Slackware 12 03-02-2005 01:27 PM
Disable port 6000 hegrunt Linux - Software 4 09-08-2003 01:49 PM
port 6000 pottsie Linux - Security 6 04-23-2003 05:06 AM
port 6000, how to close it? neo77777 Linux - Security 2 05-16-2002 11:41 PM
Port 6000 sitrus Linux - Security 4 12-15-2001 04:25 AM

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

All times are GMT -5. The time now is 12:48 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