LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 01-14-2012, 06:43 AM   #1
malayo
Member
 
Registered: Dec 2010
Posts: 116

Rep: Reputation: 1
is it possible to run system-config-firewall via ssh forward without gnome on server?


is it possible to be able to run system-config-firewall via ssh forward without gnome on server so that a technical staff can configure iptables via GUI?

is it as simple as

1- installing system-config-firewall, xorg-x11-xauth, xorg-x11-fonts-base & liberation-fonts and

2- uncommenting below in sshd_config?
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
 
Old 01-15-2012, 12:17 AM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 13.37
Posts: 82

Rep: Reputation: 26
Pretty much - you'll need to enable X forwarding when you connect to the server too ("ssh -X <machine>"). If you're logging in as a regular user and elevating your privileges with sudo to run system-config-firewall, you might also need to edit /etc/sudoers to make your regular user's DISPLAY and XAUTHORITY environment variables available to the root user's shell (and possibly details of the ConsoleKit session too, I don't know Red Hat well enough to know for sure):

Code:
Defaults env_keep += "DISPLAY XAUTHORITY"
Defaults env_keep += "XDG_SESSION_COOKIE"
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I forward to a proxy server over ssh,using a VM machine running Feather Linux dauser Linux - Networking 1 08-16-2010 06:10 AM
removing system-config-firewall, and more corp769 Linux - Networking 8 01-18-2010 04:56 PM
forward system logs to syslog server digity Linux - Newbie 2 09-24-2009 09:20 PM
system-config-display won't run mickeyboa Fedora 8 12-30-2008 11:31 AM
how to install system-config-firewall watcher69b Linux - Newbie 1 07-02-2008 10:06 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration