General :: How To Log Startup Ubuntu
Feb 11, 2010How do i log all startup text from when grub loads to when desktop appears?
View 2 RepliesHow do i log all startup text from when grub loads to when desktop appears?
View 2 RepliesI'm running Ubuntu 9.10 inside VMWare Workstation on Windows XP (Yo dawg... I put an OS inside yo OS), and when I rebooted my virtual machine tonight it happened that I couldn't reach the login screen. I've rebooted several times and after going through the usual boot sequence and showing me the boot progress bars, Ubuntu hangs at what should be the login screen with the "busy" cursor spinning round and round.
I can press CTRL+ALT+F1 to get to a console, however, and then I can login and use my computer normally (albeit without a GUI). The only thing I can think of that I've changed recently was I installed a new window manager, XMonad -- but I don't see how that could affect the login screen.
I've got a script than ran fine under Ubuntu 7.10 but I'm having a problem with it under Ubuntu 10.04 LTS. The script runs fine when executed via sudo. The script is in /etc/init.d, it's executable, I registered it with update-rc.d, and (according to ps) it's running. It just doesn't work.
Here's the script:
#!/bin/bash
cd /home/xxxx
while [ true ]; do
kermit -q <pc.kcs
sleep 5
done
kermit is installed and runs properly, the directory /home/xxxx exists, the file pc.kcs exists (remember: the script runs when executed via sudo).
and I've had Ubuntu Linux (10.10) for maybe a month and a half now. Im very satisfied with the whole system, no problems up until an update about maybe 2 weeks ago from today (rough estimate). Anyways, when I start my computer and choose to start Ubuntu, about half of the time it will load with some weird new login screen (because of update), and their are other times where the screen will go blank. I dont think its very safe to cut the power from the computer through the power button :/ I realize there are other posts regarding this, and I apologize if this is against the rules, I just thought maybe it would be appropriate to start a thread with this problem for 10.10 users
View 2 Replies View RelatedFirstly, what's the best way to execute commands on startup, cron? Can I use su in a shell script to switch between different users, if so how?
How do I create several detached screen sessions on startup? screen -A -m -d -S test ./script.sh seems like it should work but using it in a script started by cron doesn't show any screen sessions running after booting.
It looks like the screen session is closed after the command finishes executing, can I keep it open so I can see the output?
I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct
-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test
[code]....
The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:
#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script
[code]....
When the machine starts, I don't see "script called" or "start called" in the test.log at all.
I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes).
Under Red Hat installs, you can often configure most services that start from init using config files in /etc/sysconfig named by the service. Is there and equivalent thing under Ubuntu?
Specically I'm trying to control how the libvirtd and kvm processes are started as far as command line options go. I need to add the --listen option somewhere.
I have a problem with my keyboard on Kubuntu 10.10. The specifics of the problem are not really relevant right now. I can fix it by running 'setxkbmap br' on the command line. It's good for the entire session (KDE). But I often forgot to do that, so I want to have that done automatically. I tried adding it to my .tcshrc file, it didn't work. I tried adding it to /etc/rc.local, it didn't work. Where can I insert that line and have it run automatically? Please note that my login shell is tcsh, not Bash.
View 8 Replies View Relatedi installed win xp2 in my c: drive as usual it deleted my grub startup I had fedora 10 installed before installing XP and when i put the fedora cd to get back the startup it shows the following : " An Unhandled Exception has occured..This is most likely a Bug" and the details i had deleted my swap partiton.
View 3 Replies View RelatedI Need to run a specific command (pinging a particular machine). Which need to run every time i reboot the server till the time it shut down. What is the preferred way of doing this.
Will it impact my system performance.
My Operating system is as below.
Code:
[root@XYZ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: n/a
[root@XYZ~]# uname -r
2.6.18-128.2.1.4.9.el5xen
I'm trying to run a script on session start, so I added it to System -> Preferences -> Startup Applications.The script does run, but some of the commands inside don't appear to run at all. If after startup I open a terminal and run the script manually, it runs fine!
#!/bin/bash
if [ "$DISPLAY" == ":0.0" ]; then
tmux new -s Phys ;
[code]....
The theme I have chosen in Ubuntu 10.04 (Ambiance with buttons in the upper right-hand corner) is not applied to the menu bars at boot/login. Menu and title bars should be very dark with a white font. When I boot the computer, the application title bar is correctly formatted, but the main menu bar of gnome and the menu bars of all applications are black font on gray background. When I open the theme selection (in German Einstellungen | Erscheinungsbild, in English likely something like Preferences | Appearance).
The correct theme is applied to menu bars without that I have to select the theme again; simply opening the Appearance dialog suffices. First I did not name my modified theme (showed up as first theme in the theme selection dialog, user modified). In trying to solve the above issue I gave the theme a name, but the strange behaviour persists. Where I can make the theme automatically and completely applied at boot.
Is it possible to mount a partition on the hard drive that somehow is also scanned along with rc.local (or wherever the appropriate startup files go)? I want to boot a live image and have something automatically run but I can't change any files in the Live Image.
View 1 Replies View RelatedI've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile
export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh
Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .
I am using Vetor Linux and I want to login automatically every system starpup instead ask for user and password. Vector linux is based in slackware and uses shell to ask user and password.
View 1 Replies View RelatedI put one script in /etc/init.d/abc.sh. Now I want it to run at startup.
How can I do that with chkconfig?
chkconfig --add abc.sh
But I am not sure how it works.
I need to startup a program automatically. What to do? I using kubuntu. In Windows, you go to the startup folder under program files(I think.)
View 1 Replies View RelatedI'm using Kubuntu 10.10 and since I don't need Bluetooth I've disable startup for BlueDevil. Can I also disable startup for obexftp, or is it require by other processes?
View 4 Replies View RelatedI want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
my problem is that an application which I want to start at the startup is creating some problems if it is started at the startup. But if it is started after a few seconds or say a minute of the startup, it doesn't cause any trouble.
View 9 Replies View RelatedI have an embedded box on which I am developping a driver using a linux kernel. I frequently need to reboot it and relogin as root.
I wounder whether I can modify the boot sequence so that it directly boots into a bash belonging to user 'root'.
I know that this represents a security issue -- looking at my "use case" this is of concern.
I have an Acer Travelmate with an external Bluetoothswitch. Everytime I boot Linux Bluetooth is automatically activated. I'm running Kubuntu. How can I disable my Bluetooth so that it doesn't start on Startup?
View 8 Replies View RelatedI have been using Sabayon 5 64-bit edition , Everything has been going great . Last month I accidentally clicked on "automatically remember running application on logging out" option in startups applications preference box -> options tab.
After which some 5 applications incl. firefox and someothers running then start everytime i boot the computer.
Its annoyance increases day by day as it makes startup slow.
I could not find a file in which this information(Apps to startup) is written.I checked /etc/runlevels/default after some googling , but cant find anything interesting there , at last gave up
I've created a sample.sh file which I manually run on a terminal in Centos 5.5, I just want to know how can I make it run automatically hen the centos box starts?
View 2 Replies View RelatedHow do i disable startup programs in fedora 11.
actually pulseaudio sound system starts up every time i log in. It interferes with the vlc media player running on wine 1.1.13(compiled from source). i killed the pulse audio process, and every thing works fine, but i have to do it every time i log in
I am using Ubuntu as my os.I have read that we can change the startup message.So i go to etc directory as root, and found file called "motd" and try to open it.But it says "The Link "motd" is Broken. Move it to Trash?"This link cannot be used, because its target "/var/run/motd" doesn't exist.So how can i make startup message.why i couldnt open that file
View 1 Replies View RelatedI had windows vista on one partition, xp on another documents on another and programs on another.When I installed ubuntu on a new partition it very kindly let me see all the other partitions and mount them as necessary. I would like all my ubuntu files, documents music downloads to go right on to the documents partition so when I back up that drive to an external I have it backs up the documents drive it has all the files I have created in vista or ubuntu. Eventually I want to leave windows completely but I would still want to store all the ubuntu files on the documents drive.
I can go to "places" and mount the documents drive but what I would like to do is when I fire up ubuntu that the documents drive mounts automatically.
Made a little c-program i want to start at boot and found out that i can do that through the rc.local script that runs once every time the computer boots. Say that i have a program called test in /home/user/Documents... what do i write rc.local?
View 10 Replies View RelatedAs I tried to explain on the title, what i need is to run this command "NetworkManager --no-daemon" as root every time I start my arch+gnome so that the nm-applet would show on the panel.I need to know a way to do this automaticaly each time I start my pc
View 6 Replies View RelatedI have a program I have made, and I would like it to run as soon as the system is finished booting. I am using Ubuntu Mini Remix to recreate a LiveCD/USB stick. After booting, it drops me to a command line where I can enter "sudo qct" and it will run my program (which is called qct, and it has to be run as root).I want this to be automated.Instead of going to a command line, I want it to run the program itself at that point. How would I go about doing this? I have read many tutorials about scripting but I cannot seem to get it to work.
View 11 Replies View Related