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 - 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 11-14-2004, 03:33 AM   #1
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Rep: Reputation: 15
X and remote connections?


I started writing this in the Fedora forum but decided it might fit better in the Newbie forum...

I just did a "minimal" install of FC3 on a box that will be used as a home server. It has no screen (except one temporarily connected during install) and I SSH in from my RH9 desktop. X is not installed on it.

The thing is, I thought that some GUI programs would still work over SSH? They did on my previous FC2 installation. E.g. when typing emacs in my SSH window, the X version would automatically appear on my RH9 box. Now it does not. And the programs I was really trying to use (emacs was an additional test), like system-config-users will not run because they "require a running X server" On my previous install, I did not choose minimal, I manually deselected pretty much everything I did not want. I suppose it is quite possible some X things were automatically installed because I chose programs that required them.

Anyway, I guess my real question is: Do I need to run X on the server to use GUI tools remotely?
 
Old 11-14-2004, 11:59 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Re: X and remote connections?

Quote:
Originally posted by jonsson
Do I need to run X on the server to use GUI tools remotely?
yep
 
Old 11-14-2004, 05:12 PM   #3
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Ouch, to think that I ran a server for several months without knowing that it was running X...

Last edited by jonsson; 11-14-2004 at 05:16 PM.
 
Old 11-14-2004, 05:13 PM   #4
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
You do not need it running on the server to start a X app from a remote location. You may need X installed but not running I can't remember right off hand I will check and get back. Make sure when you connect to the server that you tell it to forward X connections
"ssh -X nobody@server" you can set this in ssh_config so you don't have to manually tell it.
 
Old 11-14-2004, 05:21 PM   #5
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
Yep. X needs to be installed but not running.
 
Old 11-14-2004, 05:27 PM   #6
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
Chances are it wasn't running. X is really only bad if it is listening for incoming connections( tcp port 6000), or if alot of untrusted people have physical access. I always install it on my servers but don't start it.
 
Old 11-15-2004, 12:25 AM   #7
jonsson
LQ Newbie
 
Registered: Sep 2004
Location: Sweden
Distribution: Kubuntu Feisty, Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
OK then, hopefully, I wasn't running it after all At least I know it was not accepting remote connections (except over SSH, as mentioned before). Only port 22 was open to the outside world and even on that only a few hosts were allowed to connect.
 
  


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
X not accepting remote system connections rdfoerster Linux - Software 10 07-11-2005 06:49 PM
restricting remote connections dominant Linux - General 0 03-03-2004 11:56 AM
ssh: remote connections refused Skurge Linux - Networking 8 08-18-2003 12:28 PM
Remote connections dARkHunTEr Linux - Networking 7 08-03-2003 10:22 AM
Remote connections cipher_arg Linux - Newbie 3 12-10-2002 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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