Results 1 to 7 of 7

Thread: getting GUI (after boot without GUI)

  1. #1
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    283
    Distro
    Ubuntu 12.04 Precise Pangolin

    getting GUI (after boot without GUI)

    I have a 64-bit Precise system with dual boot.

    Occasionally, when switching on the computer, after choosing Precise it boots to a command line prompt for my username and password instead of taking the usual GUI route.

    I can login that way with no problem but I can't find the command which would then give me the GUI I would get if I have logged in via the GUI route. Can someone enlighten me, please?
    There are more irrational numbers than there are digits in the full expansion of pi.

  2. #2
    Join Date
    Dec 2009
    Location
    greenville sc
    Beans
    288
    Distro
    Ubuntu Studio 13.10 Saucy Salamander

    Re: getting GUI (after boot without GUI)

    I believe the command you need is service gdm restart (or maybe start). I may be wrong though as I haven't had any experience in unity beyond seeing that It won't run on my system. It may be service lightdm (re)start. Also the magic sys_rq key K will restart the xserver "alt + sys_rq(print scrn) + k"

    edit

    done some googling and the command seems to be sudo gdm start but service gdm (re)start should (re)start the display manager and x server too. Seems to me you may be having a crash of the xserver sometimes. you may want to check your logs in the directory /var/log.
    Last edited by zealibib slaughter; August 7th, 2013 at 11:18 AM.
    zealibib slaughter is a dwarven paladin of ill temperment played by a fat man of jolly temperment.

  3. #3
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    283
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: getting GUI (after boot without GUI)

    Thanks for your trouble, zealibib

    Next time it happens I'll try it (them!) out.
    A shutdown and reboot has always sorted it in the past, but this would be quicker.

    I suspect the cause is a timing issue - something is taking slightly longer to complete than usual and a contemporaneous process which needs it done is not checking before assuming it has been done.
    There are more irrational numbers than there are digits in the full expansion of pi.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    7,513
    Distro
    Ubuntu Development Release

    Re: getting GUI (after boot without GUI)

    Precise Pangolin does not use GDM. It uses Lightdm. You may try

    Code:
    sudo service lightdm start
    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    283
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: getting GUI (after boot without GUI)

    The best way to make sure an intermittent fault does not happen is to ask an expert to watch it happening.....

    This fault has not happened since I last posted. So it hasn't felt right to mark it solved.
    There are more irrational numbers than there are digits in the full expansion of pi.

  6. #6
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    283
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: getting GUI (after boot without GUI)

    Quote Originally Posted by grahammechanical View Post
    Precise Pangolin does not use GDM. It uses Lightdm. You may try

    Code:
    sudo service lightdm start
    Regards.
    Fault showed up for the first time for some weeks just now.

    The service call did not do the trick. The response was something like "lightdm already running".

    What should I look for in the logs, and where? I'm not a regular log reader!
    Last edited by col48; September 25th, 2013 at 09:15 AM. Reason: add log question
    There are more irrational numbers than there are digits in the full expansion of pi.

  7. #7
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    283
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: getting GUI (after boot without GUI)

    Quote Originally Posted by grahammechanical View Post
    Precise Pangolin does not use GDM. It uses Lightdm. You may try

    Code:
    sudo service lightdm start
    Regards.
    The fault just recurred (that's twice today!)
    As stated in my previous post (#6) this did not work. However
    Code:
    sudo service lightdm restart
    did.
    There are more irrational numbers than there are digits in the full expansion of pi.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •