Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th March 2011, 07:49 AM
sumasage Offline
Registered User
 
Join Date: Feb 2011
Posts: 3
windows_7firefox
can't ssh or vnc into server unless a local user is logged in

I recently installed FC14 as my server and is able to ssh and vnc into the server when locally logged in. If i logged out (at login screen) then i cant ssh or vnc into the server.

How can i fix this? It is pointless to have a server if i am not able to remote in via ssh and vnc.

Thanks for any helps.
Reply With Quote
  #2  
Old 4th March 2011, 08:06 PM
SiliconSlick's Avatar
SiliconSlick Offline
Registered User
 
Join Date: Aug 2009
Location: College Station, TX
Posts: 501
linuxfedorafirefox
Re: can't ssh or vnc into server unless a local user is logged in

Run system-config-network (System->Administration->Network) and configure an interface to activate on boot. Then:

service network on
service NetworkManager off

NetworkManager won't start the net until someone logs in so the point here is to not use it.

SS
Reply With Quote
  #3  
Old 4th March 2011, 09:24 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfedorafirefox
Re: can't ssh or vnc into server unless a local user is logged in

You can get this to work, but you have to add "ONBOOT=yes" to the network configuration.

My original configuration was done with Fedora 11, and copied to fedora 13. It may work for 14, though the option in the network configuration menu may not be present.
Reply With Quote
  #4  
Old 4th March 2011, 10:44 PM
sumasage Offline
Registered User
 
Join Date: Feb 2011
Posts: 3
windows_7firefox
Re: can't ssh or vnc into server unless a local user is logged in

Quote:
Originally Posted by SiliconSlick View Post
Run system-config-network (System->Administration->Network) and configure an interface to activate on boot. Then:

service network on
service NetworkManager off

NetworkManager won't start the net until someone logs in so the point here is to not use it.

SS
I cant find the "Network" under System>Administration. Only find Network Connection under Preferences.

i ran the command system-config-network and it open a "text" window to configure. I selected "Device Configuration" and the next screen (Select A Device) is blank. So i cant really change it.

I ran chkconfig and turn the network service on for levels 2345. Does this do the same thing?

---------- Post added at 03:44 PM ---------- Previous post was at 03:31 PM ----------

I was able to install the GUI program for the Network and did see the option to enable it when the computer start. There is also an option to allow NetworkManager to control, should i allow this?

Last edited by sumasage; 4th March 2011 at 10:35 PM.
Reply With Quote
  #5  
Old 4th March 2011, 10:52 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfedorafirefox
Re: can't ssh or vnc into server unless a local user is logged in

You can try it both ways.

If you choose to disable network manager, you will need to enable network.

I do see that the "lo" configuration file (/etc/sysconfig/network-scripts/ifcfg--lo has onboot set to yes, but does not have network manager enabled. This is likely because the loopback interface is relatively immune to requiring resets/restarts, where real interfaces sometimes get locked up.

In my case, I have eth1 used for local networks (this is Fedora 11 and not Fedora 14), and have it enabled for network manager. I also have an eth0, used with DHCP for a FIOS modem/router, and it also has ONBOOT set to yes, as well as NM_CONTROLLED set to yes.
Reply With Quote
  #6  
Old 5th March 2011, 12:52 AM
MauserM98's Avatar
MauserM98 Offline
Registered User
 
Join Date: Mar 2009
Location: Norway
Posts: 134
windows_7chrome
Re: can't ssh or vnc into server unless a local user is logged in

I use a wireless network card for my server. I just had to check "available for all users" in network manager. Then my server can start without anyone logging in and I can acces with ssh and ftp etc....
Just my ¢2.
Reply With Quote
  #7  
Old 5th March 2011, 01:02 AM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,048
linuxredhatfirefox
Re: can't ssh or vnc into server unless a local user is logged in

If you haven't already figured out:

via network services
su
yum install system-config-network
chkconfig network on
chkconfig NetworkManager on (You'll want it for wireless or apps sensing network presence)
system-config-network
exit
via network manager
Or copy your ifcfg-???? to /etc/NetworkManager/system-connections if you expect NetworkManager to activate you nic at boot.
Good Luck
Reply With Quote
  #8  
Old 5th March 2011, 09:56 PM
sumasage Offline
Registered User
 
Join Date: Feb 2011
Posts: 3
windows_7firefox
Re: can't ssh or vnc into server unless a local user is logged in

It worked!! I had to install the Network GUI then configure the ethernet card that way. Set it to start when computer start did the trick. I ticked the check box for Network Manager to control it as well.

Thanks for your helps guys.
Reply With Quote
  #9  
Old 14th April 2012, 03:35 PM
uddika's Avatar
uddika Offline
Registered User
 
Join Date: Apr 2012
Location: sri lanka
Posts: 1
windows_7firefox
Cool Re: can't ssh or vnc into server unless a local user is logged in

i did this, for RHEL6...

DEVICE="eth0"
HWADDR="00:0C:29:60:77:61"
NM_CONTROLLED="no"
ONBOOT="yes"

IPADDR="192.168.1.78"
NETMASK="255.255.255.0"

had the same problem, now solved.
Reply With Quote
Reply

Tags
local, logged, server, ssh, user, vnc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending mail to a 'local' user who is actually not local danscott Servers & Networking 0 28th February 2010 05:03 PM
New User can't logged on khyle11 Using Fedora 5 13th January 2008 01:26 PM
FC4 - Im logged in twice as user lvanek Using Fedora 4 5th July 2005 03:59 PM


Current GMT-time: 22:37 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat