Ubuntu :: Starting FatRat On Boot On Headless Machine?
Aug 14, 2010
I recently installed FatRat on my headless system. I am having trouble starting the program on boot though. When I launch it using the -n switch for no gui, it uses the terminal window as a log file, which means I cannot put it in the bootup programs because the constant logging stops the next program in the list from starting.
Is there any way to launch fatrat without the gui, and letting it release the terminal for further commands after?
I'm starting several VMs on a remote headless ubuntu server via ssh using:
Code: VBoxHeadless -s <vmname>
The VM starts up okay, and I'm left with an occupied command terminal on my local ubuntu machine. So, if I want to start up several VMs on the remote server, I have to open up several command terminals and end up with as many occupied terminals once they're all running. When the local terminal is closed, the remote VM is also shutdown.
Is there a better way to do this without the remote VM being dependent on the local terminal? I'd like to remotely startup the VMs and be able to close the local terminals without shutting down the VMs. I'm sure this must be possible, I just don't know how to do it.
I have a Fedora 11 PC, which I want to connect to the ldap server at my organisation. When my /etc/ldap.conf file is in place, the machine will not boot past "starting system messagebus" and just hangs there. I have to press the reset button, and boot it into single user mode, and remove /etc/ldap.conf, and only then will it boot. The ldap.conf file is fine, I think, because if you boot the machine up without ldap.conf, then log in.
I can put ldap.conf in place and immediately I can see all the user accounts etc. from the ldap server. If I then reboot, with ldap.conf in place, it hangs on boot again. I found a bug report for FC5 which stated this problem, but there was no solution. There was a workaround, making messagebus starting later in the boot process (move it from S22 to S27 in rc3/5.d), but that didn't help in my case.
My ldap.conf contains this (I've removed my actual ldap info): host my.server.ip.addr base dc=my,dc=dn uri ldap://ldap.mydomain.com ssl no tls_cacertdir /etc/openldap/cacerts pam_password md5 bind_policy soft
As I say, I think the ldap config is fine, because you can start it manually once the machine has booted up without an ldap.conf in place. I lifted it from a Centos client, which works fine and doesn't have the same problem with booting that Fedora does.
I want to use a headless (no monitor) and armless (no keyboard/mouse) PC as a Linux box that I can remotely access from my other machines. That is I want to make it look like I'm sitting at the console on the Linux box with a monitor/keyboard/mouse.
I've tried that via the instructions at [URL]
but, the moment I disconnect the monitor and reboot, the remote desktop connection fails as apparently X fails to start for lack of a "screen". Removing the keyboard/mouse does not seem to be a problem.
Is there a workaround?
I guess what I'm looking for is the remote desktop behavior from Windows XP/Vista:
1. Connect -> Get logon screen
2. Disconnect -> Session remains active on remote machine and can be reconnected to
I have an Ubuntu Desktop 11.04 virtual machine using VirtualBox on my Windows 7 system.
Up until now I have been doing all my development within the Ubuntu environment but unfortunately, I don't like it. I want to move back to Windows, which is much more familiar to me but I would still like to access the virtual box like a virtual server as it is already set up with Apache, PHP, Pear, Git etc...
How can I make the two work in harmony? I essentially want to be able to start the VM and connect to it as if it was a server machine somewhere on my network, without having to actually buy another machine to put on my network.
I've gotten hold of 3 old pc's that I've installed with Jaunty & use Loki as a quick and dirty render farm manager.
I've got one display between them and so i can check that each one works on its own as a 'grunt' of the 'master' (my main pc).
To get the grunt to work I have to log in to a cli (to save on ram), start nm-applet (the only way the wireless cards work at mo) & start Loki in grunt mode. All whilst connected to a display.
I'd like to learn how to script all this so I can simply switch the pc's on without needing to use a display. Do i need a boot script and how does that work?
How do I set them to auto log in to command prompt?
I have a cron job to start spideroak when the server boots code...
Command line arguments not allowed during New User Setup Interestingly enough.... the line saying "Command line arguments not allowed during new user setup" isn't from my script. Any chance that has something to do with it?
I've installed 6.0.1a on my xi3 box [URL] and it works great. However when I remove the monitor and keyboard it doesn't boot (I don't know how far it gets, there is no monitor...). I did not install, and do not want, any kind of GUI interface, command line only. This is going in a closet as a solid state rsync backup repo. I have another small system (not this exact one) running Lenny that runs just fine headless - is this some kind of Squeeze regression? Is there any way I can get this running headless (I can't run Lenny on this box because I don't think the Marvell GbE driver is there or is working in Lenny.
and it starts successfully and the CMS can use it. To start OO at boot time, I wrote a script called 'openofficeserver' and saved it to /etc/init.d. It looks as follows
i was unable to stop X after trying the following: sudo /etc/init.d/kdm stop sudo service kdm stop sudo stop kdm
i had ssh'ed in, so there was no point in trying ctrl-alt-f1.there was no /etc/inittab file, so i poked around, and found out that i could simply create one, and enter the following into it:
id:3:initdefault:
which would start the machine in runlevel three (to avoid starting X).that didn't work, since (k)ubuntu apparently ignores the differences between runlevels 2-5.
so i entered the following into my newly created /etc/inittab:
id:1:initdefault:
and restarted the machine.there was no screen output, and i could not ssh into the machine.i took out the new graphics card, and plugged the monitor into the motherboard's vga outlet.still no graphics on the monitor, and i can't ssh.
(and for extra points, how do i get my nvidia card to work?)
I want to make my machine to PXE boot windows from another machine having RHEL5.2. I know the procedure to PXE boot linux, but I want to know is it possible to PXE boot your client machine with windows XP.
I have a roughly 3-year old PC that I put together from parts (listed below) that has been running great with various flavors of Linux as the sole operating system. It is currently running Ubuntu 10.4. A couple of months ago, it started to have intermittent problems booting. The machine will hang before it gets to the Ubuntu "boot" screen with the dots that show progress as the machine boots. If I look at the power on messages from the BIOS, it fails at different points in the process - sometimes during the memory test, sometimes during the search for IDE drives. It fails about 2 out of every 5 attempts to boot. It sometimes takes 2-3 tries at booting before it actually works. Sometimes when it does boot, the Ethernet jack doesn't work and I see errors in syslog about there not being a carrier.
There are no syslog entries when the machine does not boot.The machine is plugged into a UPS. The UPS indicates that it is running at 13% of capacity at 123V/60Hz. I'm in the US.Once the machine boots normally, it will stay up without issues for days.I've checked the 4GB of RAM (I added 2GB to the original 2GB several months ago) using the memory testing application on the System Rescue CD and no errors were found.I've replaced the motherboard battery, which seemed to help for a few weeks, but then the problem returned.I've checked the hard drive for errors using the SMART diagnostics tool in System -> Administration -> Disk Utility and buy running fsck.The interior of the case is not very dusty and all the fans appear to be working.Are there things I can do to investigate and fix this issue other than starting to replace components - starting with the motherboard and the power supply?The parts of the machine:
CPU INTEL|C2D E6850 3G 65N 4M R - Retail (Qty=1, Price=$279.99) CASE ANTEC|P180B BLACK RT - Retail (Qty=1, Price=$114.99) MB GIGABYTE GA-P35-DS3L P35+ICH9 - Retail (Qty=1, Price=$111.99)
I am facing a problem with my AT91SAM9260 customized board. Board is almost same as the evaluation kit.
I could download the binaries ( Bootstrap-v1.16, u-boot-1.3.4, linux kernel 2.6.20) successfully to the DATAFLASH/NANDFlash in my board by using atmel SAM-BA tool with usb/serialport/jlink.
Here I describe the problem.
When I power up the board, boot strap is not jumping to U-boot location, in the normal boot sequence and board stuck with bootstrap.
But when I disconnect/connect the JTAG USB cable ( provided with SAM-BA ICE) , it's jumping to u-boot location and booting the board properly. I'm getting the same error in NAND FLASH also.
I have tried one more test case.I copied bootstrap binary at the flash location, [location which is specified for u-boot binary] instead of U-boot.bin (location: 0x8400 in dataflash), I got continous bootstrap debug messages in my console. [ So can I conclude SDRAM doesn't have any problem? ]
I was upgrading our lab's dhcp server to Lucid and it totally died. I have it running on a Debian recovery cd right now. I ran into a bug in gtk which I seem to have fixed, but now I have more serious errors. If I boot without a CD, I get dumped into a busybox shell after the machine fails to boot. From the live CD, I tried dist-upgrading again and it dies trying to build and install rsyslog with a broken pipe error. I am at a loss as to what to do from here short of reinstalling (which is the last option as this server has a lot of custom configs on it)
I can't get cups to auto-start at boot time. Running sudo cupsd manually works fine, but I don't want to have to do that every session.This seems to be affecting lots of folks. This thread claims that bug #444597 in launchpad has a solution, but I must be too stupid to see it, and the thread is closed so I can't post there. All my rc and init files seem fine, bootsplash is off, and, of course, there are no useful boot error logs in Karmic.
I'm having a problem getting my MPD service to start during boot. This started a week or so ago. It's no big deal, just a pain. It start fine when I run the script in a terminal. I changed the start priority with update-rc.d. I occasionally get a segfault message in my syslog and messages log. Not sure what it means.
Mar 18 22:44:25 tony-laptop kernel: [ 1244.162897] mpd[3874]: segfault at c00 ip 0806f7d2 sp b6f2a130 error 4 in mpd[8048000+4e000] Mar 18 22:55:28 tony-laptop kernel: [ 1907.414336] mpd[4759]: segfault at c ip 00194d1d sp b6f9bcd4 error 4 in libpthread-2.10.1.so[18d000+15000]
I lost power to my ubuntu box earlier today, so it didn't shut down properly. I'm now trying to start it but it keeps getting stuck at 'Starting Up' for over an hour. I've tried pressing escape to boot a different version or into recovery mode. The only difference I get is when loading a recovery mode it just puts up a flashing underscore instead of 'starting up . . .' - it still hangs there. This is a small box without a optical drive which is why I haven't tried a live CD.
I'm not really familiar with linux or boot issues.
However, many of those threads show that adding two lines to the file "/etc/network/interfaces" should solve the problem. I checked on my PC and those two lines are already there.. but CUPS still doesn't start properly on boot up...
Since a few hours I can't seem to get GNOME working. Whenever I boot my computer, I just get tty1 wanting me to log in. That works, but then I just get tty1 with a terminal... In tty7 I can see the startup checks which end with "* Checking battery state... [OK]".
Something happened to my ubuntu 10.4 - I can't see my desktop after boot. As a matter of fact, when I boot I see a message saying: Continue to wait; or press S to skip mounting, or M for manual recovery. I left it like that over night, this morning I found the logon box, typed my password and I got to an empty desktop.
I did a Ctrl-Alt-F1 and logged on there, I am looking at /etc.fstab and I see the first lines like this: proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda3 during installation UUID=3538bcd0d-... ext4 errors=remount-ro 0 1
I guess something is wrong right from the start, some portion of the file system is not recognized anymore (or is in the wrong place) ...
I was playing around with my house mates fresh install of 11.04, was going to show him compiz, little did I realize it does not like playing with Unity with wobbly windows. So now Unity wont start at boot and I had to find a round about way of getting to the terminal to then to start Unity manually.
i am trying to keep my gui from loading unless i want it to. does any one know how i can go about doing this? also how do i uninstall the graphical boot also i have heard that you can add a 3 on to the end of a your kernel line in grub to get a non graphical boot. this also sounds interesting to me
How would I make sure cron is running every time my server is turned on? I want to make cron jobs, but I need to know that it is running when the server boots. Also, I used a program at some point that was terminal based and it showed be what programs ran when the server booted up. It allowed me to check a box and select which programs I could run at boot. If someone could tell me this program,
I've just renamed my Mythbuntu 9.04 machine which was running a frontend and master backend. It's now a frontend and slave backend with a different machine name. All is working in that the connection between slave and master backend functions without problems. However, the mythbackend on the slave will not start on boot - I have to start it manually from the terminal. In addition, the power button on the machine will not shutdown the machine any more - I can only shut it down from the terminal.
Since I have not gotten anything on the "General Help" I am posting this here: When a Ubuntu 10.10 I have starts up apache2, MySQL and postfix start properly but bind9 doesn't. Once booted is I run 'sudo /etc/init.d/bind9 start' it starts. The only thing odd on this system is I have a "inet6 v4tunnel" interface defined in my /etc/network/interfaces. From booting in the syslog there is:
Even with the bind debug level at set at 90 I do not get any more in the logs that what I posted before. The lack of errors in the logs is giving me no idea where to start. I commented out the IPv6 tunnel interface and rebooted and still no help. bind still is not starting at boot. OK, it is not a permissions issue, I have changed the config and zone files to be owned by bind:bind, root:bind, root:root and bind:root and it has made no difference. Doing a fresh install on a Virtual Box VM and configure it in a similar manner bind9 starts normally. (I am almost to the point where I will rebuild the box)
configure my Apatche server to start at Boot Up. I started 'Start Up Application' under > 'System' but didn't know what to do then.How to make Apatche configured to be used over LAN. Btw i have it already up and running and i can accesses the web pages through my browser.
Since my desktop (Ubuntu 10.4.1 for now) has no need for anyone trying to ssh into it, I want to prevent ssh from starting as a service when I boot up.
If I type: sudo update-rc.d -f ssh-agent remove
in terminal, will that stop the service for all boots (until I run: sudo update-rc.d ssh-agent defaults -- in terminal)?
I've already removed (unchecked) ssh agent key from my startup applications