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 - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-11-2005, 01:38 AM   #16
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30

thanks, but my point is to make vncserver to be binded to localhost as it's going to be called olny fron there and I don't want it to be (in netstat) *:5900 *:* I wanto to make it if possible localhost:5900, *:*?\


My topic is minimizing listening ports for external interface although iptables are disabling access to them any ideas are welcome
 
Old 02-13-2005, 03:00 AM   #17
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Yes, some distro's use different run level numbers. SuSE, Mandrake, and Fedora core use run level 5 for the X windows system. Using 'startx' I believe that the only difference is that you don't run a graphical login manager. This is because the 'kdm', 'xdm' or 'gdm' session manager is started in the inittab itself. I suppose it would be best to check if the vnc service is running after running 'startx'.
 
Old 02-13-2005, 03:05 AM   #18
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
the vncserver startup is not a problem the point is how to make it to listen to localhost only?
 
Old 02-13-2005, 09:28 AM   #19
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Personal pride (or a percieved threat to same) will sidetrack a thread quicker than anything

If you're running VNC >4.x, it has a -localhost option which will only allow it to accept connections from localhost. It also has an -interface option that allows you to specify which interface to bind to. Not sure if older versions have those options or not though.

Being as this is Fedora, you'll probably have to spend an hour digging through the init scripts to find the proper place to set the options though.


Last edited by sigsegv; 02-13-2005 at 09:33 AM.
 
Old 02-13-2005, 03:15 PM   #20
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Original Poster
Rep: Reputation: 30
I really need those argument in initd any ideas? actually don't know if it can be done as a post gdm process? before user login and will the user binding work that way? is it possible the vnc client not to change the active desktop of another user? any suggestions are really appreciated

Last edited by johnnydangerous; 02-13-2005 at 03:17 PM.
 
  


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
Quick Question about listening ports nevarlen Linux - Newbie 9 06-24-2005 03:40 PM
Perl program to list listening ports doza Programming 1 07-29-2004 01:57 PM
Ports listening? dareino Linux - Networking 2 03-31-2004 08:40 AM
Listening SuSE 9 ports uniQ Linux - Security 9 01-24-2004 12:48 AM
XDM listening to ports tarballedtux Linux - Security 7 04-28-2002 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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