Results 1 to 7 of 7

Thread: getting GUI (after boot without GUI)

  1. #1
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    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?
    Ask me a dumb question. Then I'll know I am in good company.

  2. #2
    Join Date
    Dec 2009
    Location
    greenville sc
    Beans
    283
    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
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    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.
    Ask me a dumb question. Then I'll know I am in good company.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    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
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    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.
    Ask me a dumb question. Then I'll know I am in good company.

  6. #6
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    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
    Ask me a dumb question. Then I'll know I am in good company.

  7. #7
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    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.
    Ask me a dumb question. Then I'll know I am in good company.

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
  •