LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-15-2012, 03:20 AM   #1
comcastuser
Member
 
Registered: May 2004
Posts: 189

Rep: Reputation: 22
Cannot access port 6000 when going to Runlevel 5...


Whenever I go into runlevel 5 port 6000 (X) becomes closed. This is preventing me from opening an application window from a remote computer.

This problem goes away when I go back to runlevel 3.

When in runlevel 5 which port is the X server running on, and how do I set my DISPLAY variable on a remote computer (say, remote = 192.168.0.1 and this host with runlevel 5 = 192.168.0.2) so I can open remote windows ? I have tried 192.168.0.2:0, 192.168.0.2:0.0, 192.168.0.2:0.1, 192.168.0.2:0.2 and so on, to no avail.

Thanks!
 
Old 02-15-2012, 03:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I would very strongly suggest using X forwarding over SSH. If you do it this way the variables will always be set for you and it will securely suck the UI aspects over a nice SSH tunnel. it should work by default really, but you can ensure X11Forwarding is set to Yes in your own ssh_config.
 
Old 02-17-2012, 01:45 AM   #3
comcastuser
Member
 
Registered: May 2004
Posts: 189

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by acid_kewpie View Post
I would very strongly suggest using X forwarding over SSH. If you do it this way the variables will always be set for you and it will securely suck the UI aspects over a nice SSH tunnel. it should work by default really, but you can ensure X11Forwarding is set to Yes in your own ssh_config.
Ah hah, that worked, after a bit of research.

ssh -l (user) -X (host)

Thanks!
 
  


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
Disable port 6000 hegrunt Linux - Software 4 09-08-2003 12:49 PM
port 6000 pottsie Linux - Security 6 04-23-2003 04:06 AM
port 6000, how to close it? neo77777 Linux - Security 2 05-16-2002 10:41 PM
Port 6000 sitrus Linux - Security 4 12-15-2001 03:25 AM
Port 6000 an xwindows saavik Linux - Networking 8 11-09-2001 12:08 PM

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

All times are GMT -5. The time now is 05:18 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
Open Source Consulting | Domain Registration