Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I switch our server to runlevel 5 from runlevel 3 I loose ssh and httpd access into our server? I ran serviceconf after booting into runlevel 5 and made sure the xinetd, ssh and httpd services were enabled. When the server is in runlevel 3 ssh and httpd work perfectly? Also, I can startx from runlevel 3 and ssh and httpd still work? I am running Redhat 7.3 and OpenSSH. I don't have much experience working with X as I have always worked in runlevel 3 previously. I may be going about this the wrong way. What I am trying to do is get a program to run upon startup. This program has to be run from an xterm. Currently, if I reboot our server I have to then login locally, startx and then run the program from the xterm. When I do that the program works as well as ssh and httpd. The problem is this server is going to be installed remotely so I need the program to run automatically if the server gets reset. Sorry if this is to much of a newbie question to be in the Networking forum?
Thanks for the suggestion but unfortunately that did not solve my problem. Httpd was already turned on in 3,4,5 and sshd was turned on in 3 and 5 but not 4. Sshd is now on in 3,4,5 but still can't access the server via ssh or httpd although they are running on the server?? Any other ideas?
I don't think so, both the server I am trying to ssh into and the PC I am sshing from are on our LAN and the firewall only blocks incoming traffic from outside of our LAN, plus I can ssh into the server if I boot into runlevel 3?? Is there some sort of firewall rules within the O/S that would not be enabled in runlevel 3 but enabled in runlevel 5?
I have always used hardware based firewall rules so I am not familiar with where to look in the O/S for the rules. Can you point me in the right direction?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.