Results 1 to 7 of 7

Thread: How to get X running after ctl+alt+F1

  1. #1
    Join Date
    Aug 2008
    Location
    New York, United States
    Beans
    53
    Distro
    Kubuntu 11.04 Natty Narwhal

    How to get X running after ctl+alt+F1

    I have this habit of trying to switch desktops by using ctrl+alt+F1 (or F2 or whatever desktop I'm trying to go to) instead of ctl+alt+left/right. So when I do this and get dropped to CLI, is it possible to get back to the X session I had running? If not to that session, what's the proper way to kill X before bringing it back up?

  2. #2
    Join Date
    Jan 2010
    Location
    Hyperborea
    Beans
    2,045
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to get X running after ctl+alt+F1

    Ctrl+Alt+F7 should do it. Works for me in 10.10

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to get X running after ctl+alt+F1

    Yep, Ctrl-Alt-F1 to F6 are used for virtual terminals, while Ctrl-Alt-F7 and forward are the running desktop sessions.

  4. #4
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: How to get X running after ctl+alt+F1

    Some times you have to press Ctrl-Alt-F8. I think that might be if you restart gdm though.

  5. #5
    Join Date
    Mar 2010
    Location
    ρθΦ=000
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to get X running after ctl+alt+F1

    FYI: if you do have to drop to tty1 because of a graphics problem or something the way to start the x server or restart gdm is below

    Code:
    startx
    sudo service gdm start|restart|stop

  6. #6
    Join Date
    Aug 2008
    Location
    New York, United States
    Beans
    53
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to get X running after ctl+alt+F1

    Thanks! That's exactly what I needed to know. Now whenever I try to switch desktops and drop to tty1, I would curse profusely!

  7. #7
    Join Date
    Apr 2006
    Location
    Ubuntuland
    Beans
    2,124
    Distro
    Ubuntu 13.10 Saucy Salamander

    Exclamation Re: How to get X running after ctl+alt+F1

    Restarting the X server for this reason is a very bad idea. Especially if you had any applications running in the GUI before you went to the CLI. Using Ctrl-Alt-F7 is the way to go.
    24 beers in a case, 24 hours in a day. Coincidence? I think not!

    Trusty Tahr 64 bit, AMD Phenom II 955 Quad Core 3.2GHz, GeForce 9600 GT
    16G PC2-6400 RAM, 128 GB SSD, Twin 1TB SATA 7200 RPM RAID0

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
  •