LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2011, 10:15 PM   #1
okaynz
LQ Newbie
 
Registered: Apr 2011
Location: New Zealand
Posts: 5

Rep: Reputation: 0
No GUI in Ubuntu 10.10


Hi. I am new to Linux. I have installed Ubuntu 10.10. It has gone through all the updates etc and has been running fine. Until today when my PC requested/notified me that an update for NVidia was available. So I updated and that was when the change occurred. On restart I have no GUI, just the command screen like DOS from days of old. The screen flickers, goes the nice purple of the GUI screen, and then goes black.
It asks for login and password which it accepts, then gives me last login etc etc
Welcome to Ubuntu
* Documentation: https://help.ubuntu.com
0 packages can be updated
0 packages are security updates

keith@sartre:~$
(Sartre is the name of the PC)
and it waits for a response from me.
I hope some one can help on this one. It is probably dead easy for someone who knows what they are doing.
Thanks
Keith
 
Old 04-14-2011, 11:07 PM   #2
coboltblue75
LQ Newbie
 
Registered: Apr 2011
Posts: 9

Rep: Reputation: 0
...

try this

after loging in at the comand line type startx that should load the GUI
 
Old 04-15-2011, 08:23 AM   #3
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
if startx does not work, try uninstalling the package that you installed using the command

sudo apt-get purge "package name".

and then reboot using

sudo reboot
 
Old 04-15-2011, 08:29 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
login to root
cd /etc/X11
mv xorg.conf.back xorg.conf
that will get your old back then you can try working on new.
 
Old 04-15-2011, 08:34 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
After posting I came across this
http://ubuntuforums.org/showthread.php?t=1598419
 
Old 04-15-2011, 08:41 AM   #6
geeksedition
LQ Newbie
 
Registered: Apr 2008
Location: Toronto
Distribution: RadHat, Ubuntu, SuSE
Posts: 9

Rep: Reputation: 0
I think xorg.conf is depreciated in 10.10. However...

Try this,

This will reconfigure your GUI. Login as your normal user on the "console". DOS, shutters lol. Once you have a $ prompt, type in the following.

sudo dpkg-reconfigure xserver-xorg

This should make your system reconfig its X settings. Let us know how it goes.

Cheers.
 
Old 04-15-2011, 08:50 AM   #7
geeksedition
LQ Newbie
 
Registered: Apr 2008
Location: Toronto
Distribution: RadHat, Ubuntu, SuSE
Posts: 9

Rep: Reputation: 0
BEFORE YOU TRY my last post...

xorg.conf is NOT depreciated. Duh, I was looking on my server with no X installed Silly me. Here is what I would suggest you do before you try my last post.

Hopefully you remember your "DOS" commands, it will help you.

Login and do a

cd /etc/X11
ls -l

You should see that xorg.conf. You *SHOULD* also see an xorg.conf.XXXXXXXX (where XXXXXX could be anything) Find the one that's dated just before your update of nVidia. We will call this file xorg.conf.bak (you will have to insert yout file name in place of this one below.

sudo mv xorg.conf xorg.conf.broken
sudo mv xorg.conf.bak xorg.conf
sudo init 5

With any luck, your GUI should be starting up again. If the sudo init5 dosnt work, likely this wont, but try it anyway

sudo reboot


Please mark the thread as SOLVED if this works, or post your resolution if you found another.

Cheers,
 
Old 04-15-2011, 08:56 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Op will still have to resolve the other issue
http://ubuntuforums.org/showthread.php?t=1598419
 
0 members found this post helpful.
Old 04-15-2011, 10:26 AM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by EDDY1 View Post
Op will still have to resolve the other issue
http://ubuntuforums.org/showthread.php?t=1598419
How is this on-topic?
 
Old 04-15-2011, 10:28 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by EDDY1 View Post
login to root
cd /etc/X11
mv xorg.conf.back xorg.conf
that will get your old back then you can try working on new.
How do you know that there is a backup of xorg.conf? How do you know that the one who backed it up chose to append ".back"?

Also, modern versions of X don't even need xorg.conf. They will try to automatically detect the settings if there is no xorg.conf.
 
Old 04-15-2011, 01:55 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
@MTK358
This is message that op received, I figured that the red highlighted area might have affected installation, even the nvidia package may be affected, since it says 0 packages can be updated.
Quote:
Welcome to Ubuntu
* Documentation: https://help.ubuntu.com
0 packages can be updated
0 packages are security updates
 
Old 04-15-2011, 02:09 PM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
<deleted>
 
Old 04-15-2011, 08:02 PM   #13
okaynz
LQ Newbie
 
Registered: Apr 2011
Location: New Zealand
Posts: 5

Original Poster
Rep: Reputation: 0
Hi All
Thanks so far for your help. I still haven't solved the problem.

Coboltblue75. "startx" didn't work. I got a screen full of text(too much to type in here). (I am using a second pc for this) It ended up with "fatal server error. no screens found"

bsat. I tried "sudo apt-get purge "package name"", but I don't know the package name so I couldn't get past this.

EDDY1. I tried "login to root
cd /etc/X11
mv xorg.conf.back xorg.conf
that will get your old back then you can try working on new."

My pc responded "mv: cannot stat 'xorg.conf no such file or directory'

geeksedition. I tried cd /etc/X11
ls -l

You should see that xorg.conf. You *SHOULD* also see an xorg.conf.XXXXXXXX (where XXXXXX could be anything) Find the one that's dated just before your update of nVidia. We will call this file xorg.conf.bak (you will have to insert yout file name in place of this one below.

I got nothing like xorg.confxxxxxx

so this
sudo mv xorg.conf xorg.conf.broken
sudo mv xorg.conf.bak xorg.conf
sudo init 5
didn't work

Geeksedition. I tried "sudo dpkg-reconfigure xserver-xorg" The pc waits for a response from me but I don't know what to respond. (I am new to this)


EDDY1. On login I now get
4 packages can be updated
4 updates are security risks.

Thanks for your help so far. My problem is not yet solved. Maybe I should download 11.04 and start over

Keith
 
Old 04-15-2011, 08:21 PM   #14
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Do you know about the quote feature? It's really hard to read with you putting parts of people's posts in there like that.

Did you try:

Code:
$ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
$ startx
 
Old 04-15-2011, 11:30 PM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Nvidia has it's own xconifgure, I need to go through my bash history to get it, but right now cloning disk, so I'll get it to you afterwards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu gui for ubuntu server labonet-cayes Linux - Newbie 3 04-03-2010 12:27 PM
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration