disable desktop at startup

Discussion in 'Linux' started by paketecuento, Aug 22, 2008.

  1. paketecuento

    paketecuento

    Joined:
    Aug 22, 2008
    Messages:
    3
    Likes Received:
    0
    is there any way to disable desktop mode on startup???? I want to use console mde only.
    I've tried this and doesn’t work:

    initdefault=3 in /etc/inittab
    comment startxfce4 in /home/usr/.bash_profile
    comment /usr/bin/xinit — -br>/dev/null 2>&1 & in /etc.rc.d/rc.S
     
    paketecuento, Aug 22, 2008
    #1
  2. paketecuento

    Toma

    Joined:
    Aug 15, 2008
    Messages:
    30
    Likes Received:
    0
    Use yum to remove X. It should tear down all the xfce4 requirements aswell.
     
    Toma, Aug 22, 2008
    #2
  3. paketecuento

    paketecuento

    Joined:
    Aug 22, 2008
    Messages:
    3
    Likes Received:
    0
    hi,
    Code:
    yum remove xfce
    only freezes the system :roll:

    It's very strange because, after doing that, the system still tries to open a session desktop (at least, this is what I guess), but in this case you can only see a black screen and a cross as a mouse pointer (in this situation the system is unrecoverable and you must to use the recovery DVD)

    tanks,
     
    paketecuento, Aug 22, 2008
    #3
  4. paketecuento

    retsaw

    Joined:
    Aug 1, 2008
    Messages:
    133
    Likes Received:
    0
    The AA1 is set to load X in the /etc/rc.d/rc.S file, XFCE is loaded from your ~/.bash_profile. Since you only removed XFCE but didn't remove X, X was still able to be started, but XFCE couldn't load.
     
    retsaw, Aug 22, 2008
    #4
  5. paketecuento

    paketecuento

    Joined:
    Aug 22, 2008
    Messages:
    3
    Likes Received:
    0
    Hi, If you comment
    Code:
    /usr/bin/xinit -- -br>/dev/null 2>&1 & 
    in /etc/rc.d/rc.S and then comment
    Code:
    startxfce
    in /home/user/.bash_profile the system becomes unrecoverable... only black screen with cross as a mouse pointer. ;(

    Update: now I can see a blue screen with Aspireone logo in the right :). Pressing Ctrl+C, now turns console mode!!!!

    thanks
     
    paketecuento, Aug 22, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.