The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Opensuse boots in safemode only

    Discussion in 'Linux Compatibility and Software' started by wankel, May 6, 2008.

  1. wankel

    wankel Notebook Consultant

    Reputations:
    47
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    31
    I installed compiz, and then after I restarted X, it booted into safemode. Now I cant get out of it, everytime I shutdown and reboot, it only boots in safemode. Anyway out of this?
     
  2. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    I dont think its booting into "safe mode". What is probably happening is that X was crashing, and hence now system is not starting it now. Otherwise, you have the full functionality.
    You can verify X is crashing by logging in text mode, and executing
    Code:
    startx
    To get X back, uninstall or disable compiz, then edit /etc/inittab to make 5 as the default run level. I'll post part of my inittab file:
    Code:
    # The default runlevel is defined here
    id:5:initdefault:
    
    # First script to be executed, if not booting in emergency (-b) mode
    si::bootwait:/etc/init.d/boot
    
    # /etc/init.d/rc takes care of runlevel handling
    #
    # runlevel 0  is  System halt   (Do not use this for initdefault!)
    # runlevel 1  is  Single user mode
    # runlevel 2  is  Local multiuser without remote network (e.g. NFS)
    # runlevel 3  is  Full multiuser with network
    # runlevel 4  is  Not used
    # runlevel 5  is  Full multiuser with network and xdm
    # runlevel 6  is  System reboot (Do not use this for initdefault!)
    #
    Note that the second line says id:5 etc, yours prolly says id:3 since X crashed.
     
  3. wankel

    wankel Notebook Consultant

    Reputations:
    47
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    31
    When I execute startx, it just comes up with an error and then gives up.

    And when I ran the second part, my code output for the second line is similar to yours, it says "id:5:initdefault:"

    What do I type to uninstall compiz and xgl? Im running the KDE environment if that makes any difference. Thanks for your help :)
     
  4. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55
    Compiz backs up your xorg file.

    Type this in terminal as root

    cp /etc/X11/xorg.conf /etc/X11/xorg.conf.compizbad

    Hit enter then type this

    cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf

    (press tab once or twice after typing "/etc/X11/" to get a list of all the xorg files, if there is one called xorg.compiz.bak use that instead.

    Hit enter and reboot, then you can uninstall compiz from the package manager.
     
  5. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Blackbird, does compiz modify the xorg.conf file ?
    And even if he rolls back xorg.conf, wont compiz start up when he logs in ? Messing up X again ?
     
  6. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55
    Not directly, but if the drivers he installed put entries in xorg.conf about aigxl, xgl or any other type of acceleration then compiz can use those entries and cause stuff ups.

    But yea the best way would be to remove compiz via command line and start x, if problem persists then use the backup xorg file.

    I have no idea how to remove via yum
     
  7. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    If what blackbird said fails,
    login in text mode, become root, then run
    Code:
    yast
    From there you can go to software management (the tab key and up down arrows move in between options; and the space bar changes options).
    Go to search there and search for compiz, and uninstall it.
    More:
    http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch03.html
    You can go to the software module, and when you get compiz, you can mark it for deletion by entering the minus key

    After you delete compiz etc, you may still need to roll back the xorg file as blackbird indicated
     
  8. jas

    jas Notebook Evangelist

    Reputations:
    697
    Messages:
    622
    Likes Received:
    5
    Trophy Points:
    31
    It's difficult to determine what's going wrong without more information. The first thing you should note, is the actual error message you're getting. The second thing you should do, (after you try running the startx command), is post the output of the following command;
    Code:
    cat /var/log/Xorg.0.log |grep EE
    That will list any errors that were generated when you tried to run your X Window environment.

    Good Luck..
     
  9. Ayle

    Ayle Trailblazer

    Reputations:
    877
    Messages:
    3,707
    Likes Received:
    7
    Trophy Points:
    106
    do you happen to have installed the nvidia proprietary driver too when installing compiz?
     
  10. wankel

    wankel Notebook Consultant

    Reputations:
    47
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    31
    Thanks for all the help guys, I havent been able to follow up on this yet as I have finals this week. Ill definitely try your suggestions by this weekend and report back with any results.

    Ayle, I did install the nvidia driver. I also installed right afterwards. I believe I just followed the guide on install compiz on Opensuses website.