I just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.
First my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):/etc/rc.d/rc.inet1
The above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.
Now samba will not start. i have the following line in my rc.local: /etc/rc.d/init.d/samba start
This used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.
The message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:
ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i) after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.
I need to run a shell to enable pseudo-multitouch on my touchpad using a shell which automatically configs synclient.I put this file under /home/<username>/, and also put this to the Session manager under system menu. But it doesn't work. I've already used chmod command to make sure that the file is executable.
I'm looking to make a launching script which launches a program in one of the current directories that the user has open, the problem is I have no idea how to get info about all of the terminals open.I simply want to check which directories the user has open and do a pwd on the terminals, and then use that to cd into the dir before launching. I might be able to use a combo of who,tty, top, and pwd...but I don't know where to go.
I have create a script to start a server(my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in /etc/init.d location and it will execute when the system will boot. But I am not able to understand how the first argument on the startup will be start? Is this predefined somewhere to use start as $1? If I want to have a case startall that will start all the servers in the script, then what are the options I can manage.
privileges of above script are okay. I've tried so far:
- add command to /etc/rc.local
- add script to /etc/rc3.d/ and create symbolic link to it in /etc/init.d/
- add run script by @reboot annotation in crontab (crond automatically starts with OS)
and jboss still sleeps after reboot. I've noticed that commands which remove directories seem to work when I've added them explictly to /etc/rc.local. But next command which runs jboss hasn't been executed.
I am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.
using any sort of rxvt-based terminal with TERM set to rxvt (or rxvt-unicode) then ^L will not clear the screen, only act as newline. This is not the behavior I see on Debian or CentOS. I have the same user environment at each site. Using urxvt on centos, ^L will clear the screen like readline(3) says it should. If I then ssh to slackware, it won't. exporting TERM=xterm will cause the correct behavior after having logged in to slackware, but I'd rather understand why this is happening. I've tried moving aside all the shell startup scripts, setting clear-screen explicitly in .inputrc, setting stty sane nothing doing. Am I missing something?
I've added mpd to System->Preferences->Startup Applications several times and it always just disappears and of course isn't started. I have used both mpd and /usr/bin/mpd as the command. I have done a log search as follows:
Im trying to get iBus daemon to start on boot, but cant seem to do it. In the Desktop Session Settings window iBus is not listed in the start up programs and there is no option to start in on boot in the iBus preferences window. How do I tell my computer to start it up when I boot?
I want to have it with vnc remote, because I want to have it in a place away from monitor and if it shuts down I have to connect it with a monitor and keyboard enter the user password and open vnc. So I want to do as windows start vnc on startup, and I don't know if it's possible enter the user password from remote.
As the title implies, I have fluxbox and conky running in Karmic. The problem is getting conky to start at startup. Below is my ~/.fluxbox/startup file. I have searched and tried everything I have found to get it to work. Conky works beautifully when I run it manually. Anyway, here is my startup file:
This is a weird problems.Everytime i log on to my computer/restart my computer, the terminal always autostart.I already checked at startup application.No terminal there.Any suggestion to stop the terminal from autostart with startup?
When I try to start alacarte from the shell, I get: Traceback (most recent call last):
The reason I start from the shell is because I noticed that it would crash after starting up in system monitor. This problem started after I tried to remove a program from the list which had already been manually removed. When this program was unchecked, the list went completely blank. I tried to revert the list, but it didn't work. Is there any hopes of repair?
I have a problem in my Ubuntu box. The applications defined in "Startup applications" fail to start. On another user's account, everything works fine. I think that's some configuration problem. Where are the data of of the startup applications stored? (i suppose it's .xx file that I could just delete to restore defaults)
A lot of times when I start up my computer, instead of the graphical login screen I'm brought to a CLI login. If I log in and do "startx," it'll start KDE, but sound doesn't work and the shutdown/restart options disappear. (The logout option is still there.) It's inconsistent; sometimes it'll start the GUI and sometimes it won't. I have yet to find out what causes it to work right and what causes it to bring me to the CLI. When it doesn't work, if I run "shutdown -r now" or "shutdown -h now," it'll start the GUI as the computer is shutting down. I've tried Ctrl+Alt+F7 when it's brought me to the CLI, but it didn't do anything
I'm having difficulty making Autokey start at startup. I use the startup applications utility but don't know how to use it properly. I guess that I'm supposed to navigate to Autokey's executable but don't know where that is or if it exists because I don't understand the file system.
I need to start vboxwebsrv and x11vnc on startup with a specific username.I tried entering the commands in rc.local as:/bin/su -c "/x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800" user1/bin/su -c "/usr/bin/vboxwebsrv -b" user2.But this does not start the app on startup.
I'm putting a program in my startup applications that is completely GUI, with no command line options. The program is Calibre, if anybody is curious. Is there any way to start this program minimized? Gnome, Lucid, x64
I recently updated to Ubuntu 10.04. On this same machine I've used Ubuntu for 3 or 4 years now. Upgrading from 8 - 9 - 10. I love Ubuntu and use it as my everyday work environment. Anyway, recently when I start my machine in the morning it boots to commandline instead of the desktop. For the last couple days I boot to safe-mode and do a package repair. Sometimes more than once. Eventually I get the desktop to start but it is annoying. When trying to boot to Fail Safe Graphics Mode(?) I get an error stating: "Fatal Server Error: No Screens." The message referred me to /var/log/Xorg/failsafe.log. Here is a snippet of the end of that log file:
Also, I'm using an NVidia graphics card on an HP machine. I installed the "current version" accelerated graphics driver which it says is proprietary.
Using 10.04. I use one machine mostly as a printer server: If it goes down for whatever reason I want to restart without having to enter any password. Samba seems to start and allow file shares, but does not start the printer sharing so I must manually enter "sudo restart smbd" to allow the printer sharing. From reading the various threads I guess that the samba "start command" is before the printers are "initialized" and thus are not "setup". So how can I make the samba "startup" last after everything else? I am not enough familiar with all of the commands to understand the thread posting to make it work.
I have put som programs in System -> Preferences -> Startup. That works fine, except that Synaptic starts without asking for a password, and therefor also without superuser privileges.Is there a way I can change the command so that it will ask for a password?
I've recently installed ubuntu 10.10 again and when I boot it starts in ffy1 console, in which I need to login.After the login in console version it will display the error after this it takes ~30 seconds till the normal graphical login screen I've searching the forum about this problem but haven't encountered the solution anywhere nor the problem itself.And yes I do see the disk errors but that would be during the login on the graphical screen.
I have installed ubuntu desktop (not server) because some users want to access the gui (because of their applications). Now what I want to manage is: 1- boot the system in shell mode. 2- if someone want, use startx command to enter graphic mode for his own. otherwise he can continue to use pure terminal shell.
Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh email@example.com'Nothing happens when I log in, and I've checked that the command works.
I am running ubuntu 10.4, windows 7, and I had ubuntu 10.10 on a single hard drive. I upgrade the 10.10 system to 11.4 and now my grub menu which is on the 10.4 system shows two windows and two 11.4 installations.
How can I clean this up? Also I have tried to start with the grub 1.99 on the 11.4 system and all I get is a black screen at startup. I am happy with grub on 10.4 except for the extra lines.
my Conky needed the Coretemp, and a friend of LQ told me to run modprobe, and it works greate! no every time I start my system, I need to run the modprobe to add the module to Kernel. How can I put the coretemp to start every startup? (I think there is somenthing to do with a file on the rc.module at /etc/rc.d/, but I'm afraid to do something stupid...) I want to make the conky running after start of the system. How can I do this?
I'm preparing a vitualization server (host) with VirtualBox. This machine, running Debian, is intended to run in HeadLess mode, without GUI. I've got some guests VMs running. But I was wondering about the best way to start this guests VMs on startup and shut them down kindly when host is shutdwon.
Virtual Machines run under non-root user. I was thinking about making a script in /etc/init.d/ in order to start certain VMs and to stop every VM running when system is halted. Is this really the simplest and most secure approach? Actually I couldn't find very much on this subject in user manual or googlin' around.
i need to add a line in the login start up file(s) (one of ~/.bash_profile, ~/.bash_login, or ~/.profile) and startup file run by my shell when started as a non-login shell (~/.bashrc) so as to set up my account envirnoment for one of my courses.I don't know how to proceed with this. I tried doing this in my ubuntu enviroment and my system got locked after that.