How would I get the SSH server to start before I've logged in?Basically, the problem I have is that if I'm connecedt to my computer remotely over SSH, and reboot the machine, I'm not able to SSH back in after it restarts. As far as I can tell, this is because the SSH server doesn't automatically start up until after I've logged in for the first time.How would I get around that? Surely that is a fairly common scenario for network admins (especially ones who have keyboardless and monitorless machines running).
I can view my website, and ssh in when I've logged in already at home, but if the system gets rebooted, and gets as far as the login screen, I am not able to view the web site or ssh in. I was wondering how to set things up so thatthese services are running independent of logging in.
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
I start to build up IMPS to my server. Any ideas where to start? Any experience so far. I this think yamicocom like service. And about 5 bugs to get in. What you think? I need to put some extra to this basic concept.
Problem I have is the Samba server, it does not seem to start up the shares at boot.When I boot the system, nothing is available on the network, I have to run the Samba Server Configuration Tool everytime I want to access a share, edit a share, save and quit, then my network shares become available.I see Starting SMB services during boot up, it says OK.It worked good on Fedora13.
I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.
I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:
1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)
2 - leave x server running without starting login manager
I have an H340 Home Server, and I really want to eliminate any Windows on it.Having read what people have written here, I installed Ubuntu Server 10.10 on an empty drive via an existing machine. Then I removed the supplied 1 TB drive with Windows Server on it from the H340, inserted the new Ubuntu server drive.Now I can power up the machine, the lights come on, the network light flickers with activity, and...
Well, I am at a bit of a loss at what to "do" now. The H340 is connected to a router, just like my existing machine, so it gets an IP address from the DHCP server in the router. How do I actually connect to the H340? I really don't know. Do I go "Places->Network"? or "Places->Connect to Server"? Or do I do a remote desktop connection?
When it is powered up, how does it start without a user doing a login? There is no keyboard, screen, etc. Only the network cable. I have simply never had to deal with a Server before, so I need some hand-holding for a while. I have Ubuntu 10.10 desktop and Windows 7 dual boot.
I recently aquired server with TWO hard drives.For reason unknown (hehe) i installed unbuntu server on both hard drives.This is causeing me some problems, and i would like to wipe everything and start over, would like to put unbuntu server on one hard drive and use the other for free space.P.S I have had Unbuntu server run succsessfully i am just unclear on how to clear a hard drive of any OS.Oh did i mention the first time i used linux was 3 days ago? Ye i am a newby (sigh)
I just installed Kubuntu (10.04), did some upgrades and updates then upon booting the computer wont go beyond the login page. at first it posted a message (Xsession:warning: unabele to write to /tmp; X session may exit with an error).I followed some instructions from the net which asked that I do the following:
ctr+alt+f aptitude clean of apt-get clean cd /var/log
after this, when I login it no more goes off, but the desktop wont still come on, instead a terminal (konsole) window is open but when I try start x it refuses.(the only method I use to start my computer successfully is though the recovery mode)
I just installed FC11 yesterday and I can login on terminal window usingu and root password no problem. However if I try to login atachine startup screen as root and password it tells me denied password.
When I boot my Fedora 15 installation it shows me the blue screen with progress indicator, however I do not reach the login screen.Instead I see the textual shell where the last item is:Started Display Manager.It looks like my monitors are not detected anymore. I have been working with them though (this appeared after a restart). I am not sure how I determined it but I read in some log that no display was detected. Nothing changed to the hardware set up however.I see some suggestions to run system-config-display as root.However this command can not be found nor can it be found when I run yum install system-config-display.
My desktop server serves up files via a number of protocols and I connect to it via SSH and Avahi. Today I tried connecting to it via SSH, but it timed out. I was able to ping it, and a port scan reveals all the ports I have open on the network. THe problem is that I can't connect via SSH, HTTP, AFP, SMB or any other protocol I have established.Is there a way to jump start a system in a situation like mine? I have a 6 month uptime going, but I'm taking it down soon for some hardware upgrades, so a hard restart is not out of the question, but I'd rather not. I also reset the router without a solution.
I have two ubuntu servers. I have upgraded them to 10.04. Now I have serious problems at startup: iscsitarget and heartbeat scripts do not start all the times I reboot.I have installed monit to try to start iscsitarget and heartbeat and guess what? It does not start too at boot.In one of the two server sometimes it also starts with ethernet cards swapped.
Ok so I followed the instructions here [url] and this works great for the install however if the machine is rebooted the VMWare server refuses to start back up stating that it knows that its installed but it was not installed with the right installer.
This is on a Dell Server I can't remember the model right now but its got Dual PIII in it. I'm running Ubuntu Server 32bit 10.10 on the box as well. Thank you in advance for your assistance with this. Once I get this first server figured out I'll get my other one fired back up.
This is a very trivial thing, but when I SSH into my newly updated 10.04 server, the stats of the server are displayed on the screen twice. How can i fix it to just display once? This is what it is doing.Quote:Linux xxxxx 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/LinuxUbuntu 10.04 LTS
Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ System information as of Tue May 4 08:41:22 EDT 2010
Does anyone know a secure method for starting a service after a user logs in to the desktop environment? There are a couple of issues that I'm trying to work around / troubleshoot and this would assist with doing that.
I'm running Fedora 11, not sure if that matters for this question.
I am trying to make start an iptables.cf script on my server.
I have copied it into /etc/init.d/ And try to make it load with /etc/init.d/iptables.cf start Then "not permission" (I was the root then). So, sudo /etc/init.d/iptables.cf start Then, "command not found".
I've kinda gone hopelessly lost on my mail server install and now want to start from scratch, after having wasted 4 days on this.Basically I have a 95% working postfix installation, a probably 100% working dovecot installation, but am not happy with it as a few things aren't working properly, and I don't know what I did!mail to /var/mail/richard NOT /Maildir - being the main oneBut, also the fact that I don't know where I went wrong, and want to understand why everything is now haywire. I am not certain if my security is working on the mail or the logins either.e to achieve is thefollowing:PostfixDovecotVirtual Users - using IMAP with Security, allowed to send mail from their clientVirtual DomainsPostfix AdminWebmail (Roundmail)Anti-Virus and Spam-filteringI started with this guide How to set up a mail server on a GNU / Linux system), which seems very, very good I might add, but it is for Courier, and when I bumbled along with the Dovecot equivalent ... that is where things broke.
Well, to start off my graphics card didn't work but I got that fixed.
When I start up and the login screen appears it no longer says my username and Other.. under it. It only displays Other.. I have to click that type in my username and then my password. When I log on the Auto Bug Reporting tool pops up and says 3 things crashed
I can't change my system time, shutdown or reboot under system or my username in the top right hand corner. I have to su and manually type reboot or shutdown to shutdown. It is like the computer is completely restricting me from using it.
When I try to get into my firewall an error comes up