Welcome to the Linux Foundation Forum!
Can't Launch GUI from Command Line
pizzaholic
Posts: 3
in Ubuntu
I'm have much computer experience but am new to Ubuntu.
I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting!
I have 8.10 and it's a valid disk (no errors).
Can someone help please?
0
Comments
-
Your X server is failing to start. You should check the last 20 or so lines of your X server log file. OR you could try a newer version of Ubuntu as your particular problem may already be addressed.
If you want to troubleshoot, check the log faile at /var/log/Xorg.0.log. Lines beginning with (EE) are errors. To get just errors, you can type in egrep "^\(EE\)" /var/log/Xorg.0.log
If you want more help, paste the output of that command here.0 -
So here's what's been happening. I installed Windows 7 afterwards...this was a few months ago...and I didn't realise that Micro$oft wipes out your boot loader. So the way I've been trying to get Ubuntu working was by booting from the install CD and that's what people have been telling me I've been doing wrong. Apparently that's why it wasn't loading the GUI...I'm not sure what the big difference is but anyways I'm gonna format my entire disk after burning 9.04 and try again.
http://www.linuxquestions.org/questions/linux-newbie-8/cant-launch-gui-from-command-line-790825/#post3872853
Thanks for your help :P0 -
You need to boot from the live CD and restore the grub image to the MBR to re-enable the multiboot option, https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
Was a windows installation in your bootloader options prior to you installing windows 7?0 -
Thanks for the link and my system would automatically boot Windows 7 right off the bat and I'd always have to use the installation CD just to be able to use Ubuntu. Don't you love how it wipes out your boot options? lol0
-
Windows is made with the assumption that it is the only OS on your computer, to get another type of OS to boot or even to get windows to boot from a secondary drive requires third party software and modifications.
Did the link hep you to reinstall the grub bootloader?0 -
As far as Microsoft is concerned, they own your system, so if you install Windows after installing something else, like any Linux distribution, you are pretty much hosed. Myself, I will only run Windows under Linux in a virtual machine, or on my laptop where I have separate system discs for Windows and Linux. I just pop out one, and pop in the other to switch operating systems.0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 775 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 12 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 32 Cloud & Containers Training
- 3 Cybersecurity Training
- 3 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 772 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 469 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 166 Mobile Computing
- 32 Android
- 119 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 720 Software Development
- 1K Software
- 418 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)