Ubuntu :: Part Of Boot Process Executes Just Before Login Screen?

Apr 12, 2011

In Ubuntu 10.10 I want to have a shell script execute on bootup after everything else is done, *just* before the computer gets to and sits at the login screen. I find this easy in CentOS/Red Hat. If I place my scripts in /etc/inittab near the end, right after the mingettys, that is PERFECT. But Ubuntu has no /etc/inittab and I have spent the past few days going over and over and OVER more info about Upstart and the rcX scripts and I can't seem to get it. Anything I place in an rcX script runs too late, only after the machine is past the login screen i.e. a human must log in first. And I would rather not have to enable auto-login. I've heard that Ubuntu will honor an /etc/inittab file if you create one, and it does, but that too runs too late, only after a human has logged in. Can anyone tell me where a script should be placed in Ubuntu to execute after all system initialization is done, but before human interaction is required?

View 3 Replies


ADVERTISEMENT

General :: RT Process Stuck As Runnable 'R' / But Never Executes

Jul 28, 2011

I have a hard to reproduce (seen a couple times in a month) issue where my program seems like it is hung (not increasing in cputime), however, it is in the runnable state and never gets to run. The cpus are 99% idle according to vmstat and the load is 5 (which is equal to the number of threads in my program that are in the R state) according to ps, and there are no processes on the system in the 'D' state. The other major oddity is that one of the migration threads has a cputime usage almost equal to the uptime of the system. Typically migration threads have a cputime on the order of seconds across hundreds of days of uptime, but in this case the migration thread has DAYS of cputime according to ps.

The last time this happened, I went around saving as much /proc/X information that I could into logs for referring to later, before I had to reboot the box to get it running back to normal. (because in this state, a kill -9 is not heeded by my program)Does anyone have any idea what could cause this? I am not sure if this is a scheduling bug or a bug in my program (the likelier case).I have a wealth of logs to look through if anyone can suggest something specific to look for.

View 4 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

Red Hat / Fedora :: What Happens When A Process Executes Unlink(".");

Feb 19, 2010

What happens when a process executes unlink(".");

What is the current directory of the process ? (Assume superuser permissions are given.)

View 1 Replies View Related

OpenSUSE Install :: After Boot Restored Defaults In Login Screen Themes / Login Theme Not Working?

Jun 3, 2011

i am having a boot problem with opensuse.i installed a theme named suse-elegant under personal settings(configure desktop)-system administration-login screen.

i had also added vbox users(i ticked vboxusers) under yast-security and users-user and group management-edit-details to make virtual box work.

i want to check that installed theme so i restarted my laptop.after the restart opensuse taking too long time to boot

note:the login theme also not working.

after the boot i restored defaults in login screen themes.it is also not working.

i don't know which cause this problem(vboxusers or login theme).i am also seeing a root user has been added in my login area.i tried opensuse failsafe also.

View 5 Replies View Related

Ubuntu :: Computer Won't Boot \ Opened The Screen But The Login Screen Wouldn't Appear?

Oct 1, 2010

I am using Ubuntu 10.04.1 and I run it 24 hours a day. Recently one morning I went to my laptop and opened the screen but the login screen wouldn't appear. Anytime the cursor appeared, HDD activity would go to 100%. I'm assuming this because the HDD light on my laptop was permanently on. So I made the dumb decision of just holding the power button down and turning it off. When I turned it back on, I noticed it came to a command prompt type screen listing "initramfs" at the bottom apparently wanting me to input a command. I did a lot of research and couldn't find much of anything that would help me. I read about GRUB, superblocks, fsck, e2fsck, etc.. . I tried all of those and nothing has worked so far. Any ideas? I did notice one thing. When I went into the actual install with the livecd, it told me the drive was /dev/sda5, but in Disk Utility on the livecd, it told me it was /dev/sda1

View 9 Replies View Related

Ubuntu :: Change Boot Screen And Login Screen Background

Jul 24, 2011

i used to have 9.10 but now upgraded to the latest version. Back then I changed the background to full black for both the preboot screen and login screen.Now after upgrading it changed it to the purple color screen. I am wondering how I can change back the background color?

View 1 Replies View Related

Ubuntu Installation :: Boot Process Halts With A Black Screen

Aug 16, 2010

I'm trying to update an older laptop for my nephew. It was running Hardy Heron (Ubuntu 8.04 LTS) successfully.

However, after installing a clean copy of Lucid Lynx (Ubuntu 10.04 LTS), the boot process halts almost immediately with a black screen. There is no blinking cursor and no hard-drive activity.

When I hold down the "Shift" key after the rebooting the computer, I'm able to edit the grub2 boot options.

When I remove the "quiet" boot option, I'm able to see about a page of text before the boot process halts and displays the black screen. Here is the last bit of text that appears just before the black screen:

Code:
...
Begin: Running /scripts/init-bottom ...
Done.

At this point, the font style changes slightly. Then the text is replaced by the solid black screen. There is no blinking cursor, and the hard drive activity ceases.

I've tried booting in rescue mode: This also halts at a solid black screen.

This is an older laptop: I had to boot the installation disc with the boot option "noapic" in order for the installation disc to run.

However, the installation seemed to run normally. I was able to finish installing the system. But, after removing the installer disc and rebooting, we were met with that solid black screen almost immediately after booting.

I used the minimal install disc: [URL]

I've verified the MD5 checksum for the disc image. And I've successfully used this same disc to install Ubuntu for my mother.

But my little nephew is left without a usable system.

Could we be missing a boot option?

View 1 Replies View Related

Ubuntu / Apple :: Horizontal Line In The Upper Part Of Screen Which Believe Is A Screen Tearing?

Apr 24, 2011

I got macbook pro 5.1 recently upgraded to 11.04, all works out of the box! However when I watch movies or play a game from time to time I observe a horizontal line in the upper part of my screen which I believe is a screen tearing.Depending on a movie player this effect is more or less visible.nvidia propietary driver enabledvsync enabledcompiz settings adjusted (refresh rate ->60, vsync)nvidia-settings -l is loaded with the systemMaybe it's not a huge problem but everything works fine under osx

View 3 Replies View Related

Ubuntu :: Login To Xfce The Screen Goes Black - Flickers A Few Times Then It Brings Back To The Login Screen

Apr 12, 2011

My last setup (years ago) ran fluxbox so because it was familiar I installed it as a secondary to xfce right off the bat. I download a lot of different stuff because I like to try out all the apps I can find but somewhere I broke something. I can still run fluxbox fine, but nither the Xubuntu nor Xfce sessions will run now. Last thing I remember changing was pulse audio(removed it for an experiment I was trying with jack audio), not sure if it is connected but when I try to login to xfce the screen goes black, flickers a few times then it brings me back to the login screen.

I tried failsafe but everytime I do my monitor gives me a "frequency out of range" error. I tried purging and reinstalling xubuntu desktop and xfce settings but I am thinking its my xorg config. My laptop is a Toshiba satellite M305D-s4830 with ATI Radeon 3100 mobile graphics card and I am running Xubuntu 10.10. Unfortunately I also broke the screen, so right now I am stuck with an external monitor till I get a new one.

View 1 Replies View Related

Ubuntu Servers :: ISO SSH Tutorial (secure Login Part)?

Dec 13, 2010

I am trying to remove the ability to login with password so, I follow the procedures I have found to generate a key, copy it on the server and after editing the sshd_conf file to set PasswordAuthentication to no, after I restart ssh, I find my self locked out of it....

View 5 Replies View Related

Ubuntu :: Run Script At Boot / Login Screen?

Sep 12, 2010

ok i have made this script to do an automated remote rsync of my windows machine. I have my router set to wake my server up every monday at 10:00amI want to then have this script run when the computer hits the login screen.... However I only want it to run on that specific day.how would i have it do this. It needs to just rsync to my users home directory.My thoughts: have the script check the day and if it is the right day it executes.

View 4 Replies View Related

Ubuntu :: 10.10, Boot Up Freezes At The Login Screen?

Mar 30, 2011

i start up the computer, it loads, it arrives to a screen that says the laptops name, and a bar at the bottum. I can interact with this bar, it is blank and has a picture of a little man with a circle. Clicking on this does nothing, another says shutdown and reset, again clicking on it does nothing. I think the error occured when the computer got unplugged while updating.now before we get into all this GRUB and fancy stuff. I am completely new to linux. I installed this using a cd made from an iso image downloaded from the site. I did not use a windows loader. I don't even have windows anymore. I have all my personal information and data on here and would like it to be restored.I googled it and it says to go to recovery mode using GRUB, don't know how and don't know what grub is.:confus ed:

View 3 Replies View Related

Ubuntu :: Reset Boot And Login Screen?

Jul 9, 2011

i installed macbuntu a few months ago which changed the bootup screen and also the login screen. i have tried uninstalling macbuntu but i still have the macbuntu boot screen and login screen. i wish to reset these to the default screens but cant find out how.

View 1 Replies View Related

Ubuntu :: Login Screen Gone But Boot Splash Shows?

Jan 11, 2010

I don't know what caused it, but as I boot into Ubuntu (9.10), the login screen never appears. Boot splash shows,then the cursor shows up but never the login screen. I haven't found anything that will reset the default gdm or login screen that works.

View 2 Replies View Related

Ubuntu Installation :: Can't Boot In 9.10 Login Screen Freeze?

Mar 9, 2010

I have a dual boot configuration (WinXp and Ubuntu 9.10) on a PC (my video card is an ATI Radeon 4850), i have been configuring ubuntu for the past 5 days and everything was working fine. Today i installed Screenlets (through synaptic manager), and i was adding a screenlet when the screen froze. I could move the cursor, but couldn't click anything. I left it for about 5 minutes to see if anything changes, and since it was still frozen, i did a hard reset (restart from the button).

In the grub menu i chose the normal linux boot (not the recovery mode), it loads up the welcome splash screen (with the tribal sound and the bar moving), and then the little circle cursor appears, turns into the normal arrow cursor and it hangs. I can move the cursor, but the screen is stuck with the ubuntu splash screen.I restarted (again from the button) and went into recovery mode, but in the recovery console i can't select any option from the keyboard (i tried hitting the cursor keys, enter, nothing happens). I hit ctrl+alt+delete and it restarted the system (so the keyborad does function). In XP i found a recommendation to restart the Xserver, so i rebooted in the Ubuntu splash screen, hit ctrl+alt+F2, logged in, typed the command i found:

sudo dpkg-reconfigure -phigh xserver-xorgrestarted (sudo reboot), and got to the splash screen, which after playing the tribal sounds, turned semi-transparent (i could see the desktop wallpaper, taskbars and a black rectangle where my cairo-dock should appear), but again it freezed, no cursor. I hit ctrl+alt+F2 to go into console mode, and uninstalled screenlets (since it was the last thing i installed before the initial freeze).Screenlets uninstalled properly (i used sudo apt-get remove screenlets) so i rebooted, but it still freezes at the ubuntu screen splash (this time it wasn't transparent, just the standard screen splash). So i tried getting into console mode again, but this time my screen displays lines in a lot of colors, randomly (probably a failure from the video adapter)

View 2 Replies View Related

Ubuntu :: 9.10 Cannot Boot To Command Line Login Screen?

Mar 13, 2010

I have used the below command to do that successfully for the previous version of ububunt, but this time I failed to do that with Ubuntu 9.10. I know I can do that manually by "sudo /etc/init.d/gdm stop" command. I try to change the name of /etc/init.d/gdm files, but the problem still exist.m"sudo update-rc.d -f gdm remove"

View 3 Replies View Related

Ubuntu Installation :: Won't Boot And Show A Login Screen

Mar 24, 2010

Ive been using it for a few days and it kept reminding me to update some files. (about 200mb worth) after it finished installing i rebooted but it won't show me a login screen. it only shows me a commmand line. it allows to 'exit' and then it boots windows.

View 9 Replies View Related

Ubuntu :: Use Koala's Login And Boot Screen In Meerkat

Mar 21, 2011

I so like the Karmic Koala's login and boot screen (named chocolate?) and I want to use it instead of the default login and boot screen of my Maverick Meerkat. Is there a way to do that? How?

View 2 Replies View Related

Ubuntu :: 10.04 Lucid Slow Boot Before Login Screen?

May 5, 2011

I just did a fresh install of Lucid on my desktop. The boot background splash screen comes up very fast, but then it is about a 1 minute wait until the login prompt appears. Then once I enter my login credentials, GNOME loads up ASAP. It wasn't this slow before I reinstalled. Anyone know why this could be? Everything works.

View 4 Replies View Related

Software :: Ubuntu Login Black Screen At Boot Up?

Jul 14, 2011

I have ubuntu 10.04 installed inside the Window xp.I dont know what went wrong.Today,when i started ubuntu it gives the black screen for login,if i fil correct username and password still black screen is there.I need Gnome-GUI back as it was before

View 14 Replies View Related

Ubuntu :: Using Only Part Of The Screen?

Oct 6, 2010

my laptop is kinda broken and the right part of my 1440x900 display doesn't work anymore (all black). I think i have around 1200x900 left on the left side. Is there a way to tell X to only use those for displaying the desktop?Does this work with other application using "fullscreen" ?

schematic of the display:
OOOOOOXX
OOOOOOXX

[code]...

View 2 Replies View Related

Red Hat / Fedora :: Cant Boot Into Login Screen

Jan 22, 2010

I have a HIS 4670 display card with my asus p5kpl-am board running fedora 12 after installing the driver downloaded from the official site, fedora cant boot into the login screen.so i uninstalled the driver in single user mode then everyhing back to normal.does anyone knows wht was going on?

View 3 Replies View Related

Ubuntu :: Make A Startup Script That Executes A Simple Php Script At Boot?

Mar 24, 2011

trying to make a startup script that executes a simple php script at boot. The stipulation is that it must be run after fstab is processed because it requires access to a volume that fstab mounts. As it is, it doesn't seem to be running properly at startup, and I suspect that it is simply running before the volume is mounted. The script does not need root access. If I run it once I login, it works fine.

Also, is there a way to determine the output of a startup script?I am have configured a bash script called module.sh that cd's to the scripts directory (in the external volume) and then executes the script. I didn't forget the ampersand after the php invocation. I used update-rc.d module.sh defaults to configure it.

View 1 Replies View Related

Ubuntu :: Get Boot To Command Prompt Option At Login Screen?

May 14, 2010

I know there is a way to do this... What do I need to install to give me this option from the login screen?

View 2 Replies View Related

Ubuntu :: Alienware Laptop Doesn't Boot Sometimes To The Login Screen

Jul 25, 2010

My alienware laptop doesn't boot sometimes to the login screen. It doesn't move on from kubuntu screen (the one with the animated dots). This happens only sometimes. When this happens if I press the power button once,the dots start moving and machine shuts down. I also have a nvidia card and don't know if the bug has been sorted where it doesn't show proper resolution during the kubuntu dots screen.

View 7 Replies View Related

Ubuntu :: How To Reset Boot Screen And Login Windows To Default?

Sep 17, 2010

I want to reset Boot Screen and Login Window to Default. How to do it?

View 2 Replies View Related

Ubuntu Installation :: Exits Back To Login Screen After Boot

Nov 21, 2010

I had Kubuntu 10.04 installed, I screwed up a bunch of stuff in it and it would hang after the login screen. I reinstalled Kubuntu 10.10 (formatted the partition with Kubuntu on it) but I kept my /home partition in tact. NOw, when I log in, i starts to load, and then KICKS ME OUT, back into the log in screen. The user does exist, I can access the user from the console, but when I try to get into Kubuntu, it kicks me back out to login. What on earth is going on? I've tried failsafe mode as well as regular login. neither works.

View 2 Replies View Related

Fedora :: Lock At Boot Up Before Get Into The Login Screen

Nov 20, 2009

I just installed Fedora 12 earlier today using preupgrade. Everything seems to work alright, but I do have a couple of problems. I've had this happen twice already, but when I'm booting up, my machine will freeze once the Fedora logo is shown right before I get into the login screen. Another problem I've had is when I do boot into KDE I'll see an ! icon next to the clock telling me that there has been a crash in the kernel.

Edit: Update- It only hangs when I reboot. If I restart in windows and try to boot fedora, it hangs, if I restart in Fedora, it will hang after the restart. The only way I can boot Fedora is from a cold boot

Edit: I seemed to have fixed the problem after searching Google for 20 minutes. I just ran this command as root.. #chcon -t system_dbusd_exec_t /bin/dbus-daemon

View 1 Replies View Related

Plymouth Boot Screen Just Stays There - Can't Login

Jun 5, 2011

This happens on boot on Fedora 15. Plymouth Boot Screen just stays there and I can't login. Searching around suggested kmod-nvidia to cause this (one moth ago ofc), but here I am with Intel Graphics and the default drivers.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved