LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-05-2005, 10:02 AM   #1
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Allowing Remote Xsession (Solved)


I've got my firewall set up on my Slackware box using Guarddog.

I'm using a remote Solaris host to run SAS on my laptop.

If I disable the firewall I can use SAS. Otherwise my firewall does it's job and the Solaris server can't find my computer.

What do I need to enable to pass through in order for this to work so I don't have to shut down the firewall to use SAS every time I need it?

Last edited by sporks; 07-06-2005 at 11:26 AM.
 
Old 07-05-2005, 10:37 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
I'm not familiar with it, but find out which ports SAS uses. For most remote Xsessions this will be port 6000 but SAS may use something else so check its technical documentation. Then just punch the required ports through your firewall using a rule like this:

iptables -A INPUT -s 1.2.3.4 -p tcp --dport XX -j ACCEPT

...where XX is the port that SAS uses and 1.2.3.4 is the IP address of the remote system. Your firewall script should be available in /etc/rc.firewall.
 
Old 07-05-2005, 11:43 AM   #3
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: 30
I'll see what I can find.

I allowed remote X Sessions, that didn't do it. Perhaps it is a different port.

Thanks!
 
Old 07-06-2005, 11:22 AM   #4
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: 30
DOH!!!!!!!!!!!!!!!!!!!!!!!!!

RTFM my friend. It's all in there.
Quote:
Guarddog Manual
X Window System
In X Window System the notion of client and server is a bit backwards. The server is considered to be the machine running the X server program and displaying the screen and accepting user input. While the client is considered to be the remote program whose user interface is being displayed on the X server.
What this means is that you need to make sure that X is permitted to be served from the zone containing the machine showing the X display (the X server), to the zone containing the machines that actually run your programs (the clients).
Worked like a charm when I enabled X on the Client side not Internet side.

Last edited by sporks; 07-06-2005 at 11:25 AM.
 
Old 07-06-2005, 03:25 PM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
when all else fails, read the instructions.
 
Old 07-06-2005, 05:01 PM   #6
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Capt_Caveman
when all else fails, read the instructions.
Trick is knowing which manual. I read more stuff on SAS this AM on a Unix machine....
 
Old 07-06-2005, 07:07 PM   #7
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Btw, is that SAS as in the Statistical Analysis Software or it something else?
 
Old 07-06-2005, 07:35 PM   #8
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
I had to use SAS once and it is a nightmare. I used it in windows and it was pretty bad. I ended up using excel as it was easier to use and you can just fake the OLAP cubes in it.
 
Old 07-07-2005, 08:14 AM   #9
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: 30
Yup. It's SAS as in Statistical Analysis Software. That's why I provided a link in my first post.

SAS for Windows isn't bad with Version 8 and beyond in my experience. I remember earlier versions of SAS for Windows that sucked.

This way though I can use the server's power not my own PCs for large data sets. Plus we don't have SAS for Linux available on campus.
 
  


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
LCDproc Allowing Remote Access TemplaraPheonix Linux - Software 0 08-06-2005 10:10 AM
.xsession LoONeYChIKuN Linux - Newbie 2 10-18-2004 11:59 PM
Remote xsession and xdos mikenl Linux - Software 0 11-11-2002 09:36 AM
Starting remote Xsession jiplen Linux - Networking 0 05-01-2002 07:53 PM
Setting up remote Xsession coolguy18087 Linux - Networking 3 04-01-2002 05:23 PM


All times are GMT -5. The time now is 06:56 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration