How to start radeon script during boot?

My system hangs during startx. I have got input what to do but now, I need to create my own systemd.service file to start the script during boot. I have made following /etc/rc.local:
modprobe -r radeon
modprobe -r drm
modprobe radeon modeset=1
and get 644 permissions.
To start this service have I tried  /etc/systemd/system/rc-local.service
[Unit]
Description=/etc/rc.local
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/rc.local
[Install]
WantedBy=multi-user.target
and systemctl enable rc-local.service
When I boot the system I get the error:
Failed to start /etc/rc.local
Any suggestion will be appreciated.

I think it would be better to launch startx manually and look at the output! I also have a radeon card and use the oss driver. Nothing has to be done for it to work. Are you sure you haven't messed up something else? Something weird in your grub config? What about your files in /etx/X11/xorg.conf.d? Remove every "improvement" you tried to do, I'm pretty sure startx will work just fine then.

Similar Messages

  • [SOLVED] How to get NetworkManager start on background during boot?

    NetworkManager has always taken relatively long time to start during boot, presumably waiting for wlan to connect.
    $ systemd-analyze blame
    7.682s NetworkManager.service
    Previously I was able to get it to start on background by removing /etc/systemd/system/multi-user.target.wants/NetworkManager.service
    This prevented multi-user.target from waiting for NM to start and it would continue to connect on background while my boot finishes.
    However, after upgrade to networkmanager-0.9.10.0-2 that doesn't seem work any more.
    If I remove the .service file from multi-user.target.wants/, NetworkManager doesn't start during boot at all.
    enabling NetworkManager.service creates these symlinks:
    # systemctl enable NetworkManager
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service to /usr/lib/systemd/system/NetworkManager-dispatcher.service.
    looks like enabling any other basic systemd unit links the .service file to multi-user.target.wants/ as well..
    How can I enable NetworkManager.service during boot without multi-user.target.wants/, and get it to start on background again?
    any ideas appreciated :)
    Last edited by ooo (2014-08-03 12:13:28)

    Okay, looks like this can be resolved by simply changing the NetworkManager.service type from dbus to forking.
    $ systemd-analyze blame
    173ms NetworkManager.service
    Here's the modified service file if anyone's interested:
    place it in /etc/systemd/system/NetworkManager.service
    [Unit]
    Description=Network Manager
    Wants=network.target
    Before=network.target
    [Service]
    Type=forking
    PIDFile=/var/run/NetworkManager.pid
    BusName=org.freedesktop.NetworkManager
    ExecStart=/usr/bin/NetworkManager --pid-file=/var/run/NetworkManager.pid
    # NM doesn't want systemd to kill its children for it
    KillMode=process
    [Install]
    WantedBy=multi-user.target
    Alias=dbus-org.freedesktop.NetworkManager.service
    Also=NetworkManager-dispatcher.service
    You need to disable NetworkManager.service before creating the file and enable it after so that systemd links the file from /etc/systemd instead of /usr/lib/systemd,
    there may be simpler way but I can't be bothered to go through systemd manuals any more.
    Note that this will probably break any systemd .service that actually requires network, although that was the case with my previous workaround as well.
    I won't guarantee this will work for you and won't set your machine on fire. If you have issues, simply remove the file and re-enable to go back to default

  • Build-in webcam issue: how to turn it off during boot-up?

    Hi,
    I have a laptop - Asus K52J & x86_64 - with a built-in webcam. During boot-up, the webcam turns on in - rough guess - 50% of the time. I don't find any obvious pattern when/why the webcam turns on.
    Searching this forum/internet doesn't give me a good answer...
    1/ I prefer a solution where the webcam is turned off on boot and where I can turn it on when necessary.
    2/ I can afford to disable the webcam when running linux.
    3/ Disabling in BIOS (often given solution) is not an option.
    For 1/, the only solution I got was running following and closing mplayer window. This turns off the webcam, but this is not an efficient manner. Is there another software-based work-around?
    mplayer tv:// -tv driver=v4l2:device=/dev/video0
    For 2/ I hear blacklisting the module is the solution. But how do I find the correct module?
    lsmod
    gives a whole list (pastebin).
    Is it videodev and/or v4l2_compat_ioctl32? How can I be sure? Any advice on this for other users with other laptops?
    Thanks for any help on advance!
    Kind regards,
      davidbe

    Your webcam uses the uvcvideo module so blacklist that one in /etc/rc.conf.

  • Start network connection during boot [KDE4]

    I want to able to connect to a network (with key) during boot.
    Right now, when my arch is booting, it is trying to connect to a dhcpcd during boot, but fails (after several seconds). Then knetworkmanager and even wicd doesn't seem to work correctly. Knetworkmanager (from KDEmod) seems like doesn't work at all.
    What can I do to make it connect during boot? (I usually connect only to one network).

    I got it working.. however, I am wondering if I have everything right in my rc.config file, in DAEMONS section (maybe I have there something extra, which I can turn off).
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    #eth0="dhcp"
    #INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(wireless-wep)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network netfs net-profiles hal !networkmanager crond alsa kdm)
    Which one do I need? network, netfs? net-profiles?
    Last edited by kdar (2009-12-16 02:17:01)

  • How to start OC4J at Linux boot time

    Hello,
    I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
    Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
    Thanks.

    Just put your OC4J start/stop commands in a rc script.
    Scripts in the directories
    /etc/rc.d/rc2.d
    /etc/rc.d/rc3.d
    /etc/rc.d/rc5.d
    will be called by the operating system with the command line option start.
    The number in the directory names represent the desired run level of the machine.
    Scripts in the directory
    /etc/rc.d/rc0.d
    will be called during shutdown with the command line option stop.

  • How to start ASM instance at boot time - RHEL 2.1

    Oracle 10.1.0.3
    RHEL 2.1
    I'm not able to get the ASM instance (not RAC) to start at boot time. It seems that the ocssd daemon does not finish starting until after all rc* scripts, including rc.local, have finished executing.
    Patch 3458327 includes a new dbstart with header notes that are in conflict. The notes says that dbstart can't be used to start ASM until AFTER all rc* is finished.  Then it continues and states that ASM instance startup should be put in rc.local.
    As soon as I get logged on, a ps -ef|grep ocssd shows the daemon running. I can then manually start the ASM instance.  There must be a way to get the ASM instance "auto" started at boot time.
    Ideas?

    The cheapest and administratively easiest way for me was to start Oracle instances (ASM and data) by "at" command :-) from rc scripts. Something like:
    ....echo "oracle start" | at now+2min....
    Additionally the deferred startup has some additional advantages in my environment, so I am not motivated to look for better solution.
    Best regards,
    Pavel

  • How to start OpenScripts-Scripts with OTM

    Hi
    I want to execute an OpenScript-Test in OTM. It was possible to add the TestScript in OTM. When I try to execute the script pressing the "Run this test"-Link i got an error massage:
    "Unable to connect to the agent system. Please ensure that the connection information is correct, and that the system is running the Oracle Load Testing for Web Applications Agent Service."
    How can i start the "Oracle Load Testing for Web Applications Agent Service"?
    Execute the olt-agent.exe doesn't work.
    Thanks for Help

    every time i run a test in OTM its write the following in the log file in x:\OracleATS/log/agentmanager_auth.log
    2010-01-28 11:00:00,937 WARN [URL:t3://xxxx:8088;Requestor Username: oats;Requestor Key:xxxxx;Requestor Queue:queue/AgentManagerStatusQueue;Request ID:1;Request:startagent;] - authentication failed
    Should i start the agentManager? How?

  • How to run a script at boot

    Hello,
    I'm trying to make a simple script to execute at the boot time, which call a program ( C ), but I cant do it. I don't know if there is some special "template" to make that script (like Freebsd has). If you could give some help, I'm new at Solaris (by the way, using Sol 10, and Sol 11 Express).
    thanks,
    Miguel Garcia

    That should be all, any script named S-something and which is placed in /etc/rc2.d or /etc/rc3.d will be executed at boot by the /sbin/rc2 and /sbin/rc3 scripts.
    It will be called with the argument "start".
    If its not working, test the script standalone (i.e. /etc/rc3.d/Sdiverse start) and see what it returns.
    Also, the $PATH and $LD_LIBRARY_PATH might contain unexpected (i.e. minimum) values. Typically $PATH is set to /usr/bin and /usr/sbin and $LD_LIBRARY_PATH will only contain /lib and /usr/lib .
    The working directory is probably / .
    For rc3.d scripts, also check the logfile:
    /var/svc/log/milestone-multi-user-server:default.log
    .7/M.

  • Automatic start of dbconsole during boot

    Is there an easy way to automatically start the dbconsole when a cluster node boots (unix) ? I don't mean putting "emctl start dbconsole" in a rc Skript. I would prefer an integration in clusterware.

    Sure, there are several steps but it's not impossible.
    Step 1 build application VIP
    crs_profile -create dbcVIP1 -t application -a /u01/crs1020/bin/usrvip \
    -o oi=eth0,public_ip,on=public_ip_netmask
    crs_register dbcVIP1
    crs_setperm dbcVIP1 -o root
    crs_setperm dbcVIP1 -u user:oracle:r-x
    crs_start dbcVIP1
    Step 2 write start/stop/status shell script
    Place in $CRS_HOME/crs/script on all nodes
    #!/bin/sh
    case $1 in
    'start')
    /u01/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
    RET=$?
    'stop')
    /u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole
    RET=$?
    'status')
    /u01/app/oracle/product/10.2.0/db_1/bin/emctl status dbconsole
    RET=$?
    esac
    exit $RET
    Step 3 assemble pieces
    crs_profile -create myDBC -t application -r dbcVIP1 -a script.sh -o ci=5,ra=2
    crs_register myDBC
    crs_setperm myDBC -o oracle
    crs_setperm myDBC -u user:oracle:r-x
    crs_start myDBC

  • How to force eject CD during boot

    Hello !
    I have a big problem. I had to reinstall OS X on my MacBook, but unfortunately something went wrong during the install. Now, while loading the system, it suddenly freezes with a sort of big graphical glitch. I can't boot from the installation disc. I... just can't boot actually.
    So here I am : the CD is impossible to eject because the system doesn't boot properly, therefore I can't reinstall it.
    I want to try to boot from a live USB with a linux distro on it and try to fix things out. But I tried to boot from the USB, and nothing happened.
    Is it possible to eject a CD while booting ? Are there different ways to boot from an USB ? Is it possible to boot from a USB while there is a CD ?
    Is my MacBook dead ? I hope not.
    Sorry for the panic, and thanks in advance for your help.

    This thread: https://discussions.apple.com/message/18865892#18865892 might be useful to you. 
    There is a response in this thread with the title "Solutions" that has 12 different troubleshooting steps for ejecting a CD.  Since you cannot boot at all, the last 4 Solutions on that list might be worth a try.

  • Errors during boot OEL 5.5 starting a 11.2 instance

    Hello,
    I've installed Oracle 11GR2 on OEL 5.5 and a I created a db instance. How I can see why my db instance is not up? More precisely , how I can get errors messages thrown by procedure that start oracle instance during boot process (I am sure that kind of messages is thrown but I can't see them).
    Many thanks,
    Aurel

    Hi;
    I've installed Oracle 11GR2 on OEL 5.5 and a I created a db instance. How I can see why my db instance is not up? More precisely , how I can get errors messages thrown by procedure that start oracle instance during boot process (I am sure that kind of messages is thrown but I can't see them).For can see your db up or not u can run :
    ps -ef|grep lg
    oracle 6750316 1 0 Feb 28 - 0:03 asm_lgwr_+ASM
    oracle 9437238 14418146 0 16:06:56 pts/3 0:00 grep lg
    oracle 14745644 1 0 15:50:41 - 0:00 ora_lgwr_orcl
    So my asm instance and db instance is up
    For alert or error message you need to create one sh which is cheking alert.log,if you hit ORA error than it can send u email
    Regard
    Helios

  • Why endless shutdown during booting? - Macbook Air 10.8.3 update

    After updating from 10.8.2 to 10.8.3 my Macbook Air 13" mid 2012 started to shutdown during booting.
    I have tried to reset the SMC and PROMs several times with no result - still shutdown during booting.
    The same result when starting in "safe" mode - shutdown in the end of booting.
    When booting in verbose mode the last lines befor shutdown was:
    AppleLMUController::smcReadKey received error 0x84 when reading key 'MSLD'
    AppleLMUController::smcReadKey received error 0x84 when reading key 'ALV0'
    It's no problem using the macbook air in target mode and use as the startup disk on another macbook.
    The other mac start fine and run smoothly on the system 10.8.3 on the disk from the macbook air that shutdown during booting.
    Before updating there was no problem with the computor...
    What to do?

    Run the #12 OnyX cache clearing routine, it's a lot of stuff to do and will take awhile, but it's very through on reseting your sub-system items like it was when it came from the factory.
    ..Step by Step to fix your Mac
    After rebooting it should sail like the wind, except bootup apps.
    Which this thread there are hacks to disable them from launching when you boot
    https://discussions.apple.com/thread/3244852?start=30&tstart=0
    Also look at this thread for other clues
    Why is my computer slow?

  • Windows XP hang up during boot up

    i am having a prob that i dont see an answer for. i am on a MacBookPro with OSX 10.5.4
    i used boot camp and set up XP with SP2. it worked for a while, then it started hanging up during boot. i would get the windows splash page and then i got the black screen. it just stays black every time i try it.
    Please Help?!?

    Hi and welcome to Discussions,
    prior to your problems, did you install any new programms or updates ?
    Have a look at the Safe Boot options of XP described here: http://support.microsoft.com/?scid=kb%3Ben-us%3B315222&x=10&y=11
    Especially the Safe Boot and/or Boot Logging options might provide some informations, why XP is not booting.
    Regards
    Stefan

  • [SOLVED] How do I start scripts at boot up?

    I've been looking around for awhile and can't find a way to auto-start scripts I've written in the console (the only ways I've found are for older systems using /etc/rc.local, but my system doesn't have this file.  The only things I've found for systemd are about starting daemons.  I'm not running a desktop environment on this system nor do I plan to (I'm using this machine as a server), so I can't put the scripts in a directory that auto-starts them like I can in KDE (and even then, I think that's only auto-starting them after login; I need these scripts to run without need of logging in).  And since my scripts aren't services I can't use "systemctl enable" to make them start at bootup.
    Does anyone know how to start scripts when the system boots?
    Last edited by Zukaro (2013-01-10 23:02:22)

    https://wiki.archlinux.org/index.php/Sy … process.3F

  • Start up script fails; Unable to boot...Please, Help.

    This is my first major problem that I have had with this computer. It has been running fine until this past Sunday night. I was running AOL, Firefox & iTunes. The computer was running slow and iTunes was skipping frequently. I rebooted and resumed my activities only to have the same problems and the computer booted slower than usual. I closed all my applications and rebooted once again. Then, I ran Disk Utility had used Verify Disk. It found an error on my system volume stating an incorrect block count in one sector and referenced a file cache_003, all other volumes passed. Disk Utility was unable to repair the volume. Repair Disk ran slow. I did a search for the file cache_003 and discovered that it was part of a Netscape profile back up on a different partition. I deleted the profile and used Disk Utility again. This time, the system volume passed and a different volume failed due to incorrect block size, Repair Disk failed. The next time I tried to boot the computer the gray screen with apple and loading indicator came up and stayed for several minutes followed by a blue screen with loading indicator for several minutes and stayed blue for nearly 40 minutes. Eventually, the screen went black and displayed that the start up script failed. Here is some of what was displayed.
    Darwin/BSD(Computer Name-Computer.local)(console)
    System Starter[35]
    login date&time Internet Sharing[96]:Libinfo[Socket_open():2318]connect():2318]connect:()connection refused (This line repeated continuously)
    I am able to input commands at this stage but I am not knowledgeable enough to know what to do.
    When I push the power button to turn it off the computer beeps once and the led light flashes three times and turns off.
    Each time when I attempt to boot either into Safe Mode or from the Software Install DVD I encounter the same problem.
    Now, Monday night by chance on another boot attempt the computer started up although it took about 20-30 minutes. It was missing one volume which showed up in Disk Utility under a different name. While I had the computer up I backed up what I could on the volumes that mounted. One file I was unable to burn using Toast 9 due to a data fork error. The computer eventually froze during my activities and since I have had no luck at my start up attempts and have had the same problem. Luckily, I was able to back up everything I needed with the exception of what was on the AWOL volume.
    The last thing I had installed recently was the latest Security Update which went fine and was two days before the trouble started.
    I am at a loss for what to do next. I would like to retrieve the files on that one volume but at this point if I can start up I would just like to reformat and install the OS.
    Any help with this problem would be much appreciated. Thank you.

    Well, originally when I ran Disk Utility, although it performed slower than usaual it found the error as previously mentioned and was unable to Repair Volume. As to using the Hardware Disc & Install Discs(original & Tiger) the computer failed to boot although you could hear the disc spinnning for awhile. In both and every instance regardless of any or no disc, the computer starts the boot process and you see the gray screen with white apple and loading indicator for about 3 minutes then it switches to the blue screen with loading indicator. After quite some time the loading indicator goes away and it's just a blue screen for nearly a half-hour followed by a black screen which starts the above prompt. I can post all of what that said later as I have written all of it down at home, a portion of it is in my original post. The start up chime doesn't sound at all. I do get a tone and flashing LED lights when I hold the power button down to turn it off after the above described boot process. There is not much I can do except try and try again. I may need to get a new hard drive but I would like to resolve it without doing so if possible. When trying to boot from both discs I was holding down the C key as directed and I have tried just letting the computer boot with disc in drive without any key interaction.

Maybe you are looking for