Alternative to StartX

Discussion in 'General Linux' started by Rory Glenn Pascua, Jan 30, 2012.

  1. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    What's an alternative to the command "StartX"?

    I'm trying to pull up the GUI on one of my VMs but StartX wont work

  2. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    Are you using all lowercase?

    You could just try an "init 5" to put it into runlevel 5 and see if x starts automatically..
  3. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Thanks Rob I'll try that
  4. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    Oh, and what's the error w/ startx?
  5. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Rob:
    Yes I'm using all lowercase.
    I also tried init 5 under root and I'm getting a "Command not found" error
  6. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Command not found error for both
  7. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    try:
    /sbin/init 5

    or
    /usr/bin/startx
  8. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    I tried the /sbin/init 5 command. It's doing something however, it's currently frozen with this message "INIT: Id "x" respawning too fast: disabled for 5 minutes"

    Not sure what it's going to do after 5 minutes... waiting...
  9. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    whee :) ctrl-c out of that and try the /usr/bin/startx

    I haven't had x issues in quite a while - otherwise i'd probably be more help ;)
    Rory Glenn Pascua likes this.
  10. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Got another one of those "disabled" message..

    Tried the /usr/bin/startx command and got this message: No such file or directory
  11. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
  12. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    233
    Trophy Points:
    43
    What was the last thing you did before it stopped working :)

    If it's just a workstation.. give it a reboot and see if whatever funkiness is going on will go away..

    Did you edit any config files related to the x server?
  13. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    I figured it out. The ISO I was working on did not have x in it and it wasn't designed to do gui stuff.
  14. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    It's like trying to buy burrito in an ice cream joint.
  15. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Disregard this thread. The ISO I was working on didn't have X in it.
  16. carbon333

    carbon333 New Member

    Messages:
    87
    Likes Received:
    6
    Trophy Points:
    0
    For the future readers: the best alternative to startx is lightdm.
  17. Rory Glenn Pascua

    Rory Glenn Pascua New Member

    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Thank you

Share This Page