Cannot start x server

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

Cannot start x server

Postby z06gal on Tue May 01, 2012 12:32 am

I just installed the newly released LMDE and after installation, I installed the nvidia-glx package. It told me that the nouveau driver was in conflict but to restart to resolve the issue. I restarted but it took me to a tty. What do I need to do to get to my desktop? I am coming from Mint Main so I am a little lost with this. Thanks for your help. My video card is the Nvidia GTX 570 if that helps.


Robin
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Linux Mint is funded by ads and donations.
 

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 12:40 am

hmm, you are now only boot into the console... :mrgreen:

may be you could try to use smix to rescue.

hopefully you still have internet,

follow the steps outline in smxi, link below.

http://smxi.org/site/install.htm
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 12:44 am

This is the output of startx:

"unable to connect to xserver; no such file or directory"


I have installed nvidia glx package and nvidia settings
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 12:45 am

wayne128 wrote:hmm, you are now only boot into the console... :mrgreen:

may be you could try to use smix to rescue.

hopefully you still have internet,

follow the steps outline in smxi, link below.

http://smxi.org/site/install.htm



I can't get out of the tty. I'm on a desktop right now.
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 1:09 am

not sure if you have smxi installed..


are you still on terminal?

if yes, just to kick start.

I copy what the instruction of smxi here.. but the formating can be out since I read them on graphic ( colourful ones) , however copy and paste is just text ( black and white).

if you want to proceed this way, just follow instruction to install smxi, then run in terminal, and read their instruction, select appropriately, it should bring you back to the proper display drivers ( ati or nvidia)..




Code: Select all
===========================================================================

    :: Home
    :: Documentation
    :: FAQs
    :: Forums
    :: Donations ::

===========================================================================
 How to Install the Scripts
===========================================================================

Well, you can't very well run these scripts if they aren't installed on your system, can you? Here's how you install them all, one by one.

NOTE: to copy any command, just highlight the whole command string, and then paste it into your console with a center mousewheel click. Who needs typing! This is Free Software, and you're free to not type if you so choose!

Also note that all these scripts must be installed in the /usr/local/bin directory, except for inxi, which you can install anywhere, but you really should install that one in /usr/local/bin too to keep things simple.

    1) Installing smxi / sgfxi / svmi with zip installer
    2) Installing single smxi / sgfxi / svmi scripts
    3) Installing sgfxi (non-smxi mode)
    4) The smxi / sgfxi / svmi stub installer
    5) inxi install options
    6) rbxi install options
    7) switcher install options
    8) dws install options
    9) acxi install options


----------------------------------------------------------------------------
 Installing smxi / sgfxi / svmi
----------------------------------------------------------------------------

There are several ways to install smxi and related scripts sgfxi and svmi:
----------------------------------------------------------------------------
Installing with smxi.zip

I'll start with the easiest. Download and extract the smxi.zip package. This requires the unzip utility. So first let's check if you have it:

# type this command:
which unzip

# if it gives you an answer, you have it.
# If nothing happens when you do that, just do this:
apt-get update && apt-get install unzip

# or, if you prefer aptitude, do:
aptitude update && aptitude install unzip

Ok, so now we're ready to get the file, which contains smxi, svmi, and sgfxi.

# as root, run the following command
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi

If everything worked as expected, it should, if you are X (KDE, Gnome, etc), ask if you want to turn off X and start again.

This method installs smxi, svmi, and sgfxi, all ready to go.
top
----------------------------------------------------------------------------
Installing single scripts

If you only want one of those, here's how you do it. Just copy and paste which ever command you want:

Arch Linux users, install to: /usr/bin

# to install just smxi, as root, do:
cd /usr/local/bin && wget -Nc smxi.org/smxi && chmod +x smxi && smxi

# same for the others: sgfxi
cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi

# and svmi
cd /usr/local/bin && wget -Nc smxi.org/svmi && chmod +x svmi && svmi

smxi and sgfxi can't really be run in X, but svmi and of course, inxi, can be.
top
----------------------------------------------------------------------------
Installing with the smxi stub installer

A few lucky users (for example, antiX 8.0 and later) are running distros that are using the smxi stub installer (svn source page). This lets you install any of the supported scripts by simply typing in the following commands, as root:

smxi

# or for sgfxi
sgfxi

# or for svmi
svmi

The stub installer downloads and starts the scripts if they are missing, otherwise it just runs the script directly. This is by far the most pleasant, and the easiest, way to install and start the scripts, but it requires a preinstalled smxi stub installer to work.
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:10 am

i cannot get out of tty. It says now "screens found but no usable configuration"
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 1:13 am

z06gal wrote:i cannot get out of tty. It says now "screens found but no usable configuration"



are you in $ prompt?
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:14 am

wayne128 wrote:
z06gal wrote:i cannot get out of tty. It says now "screens found but no usable configuration"



are you in $ prompt?



Yes in tty
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 1:15 am

refer to the coded page I inserted earlier, start here

# type this command:
which unzip

should see this
wayne@lmde32x210204rc ~ $ which unzip
/usr/bin/unzip
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:19 am

wayne128 wrote:refer to the coded page I inserted earlier, start here

# type this command:
which unzip

should see this
wayne@lmde32x210204rc ~ $ which unzip
/usr/bin/unzip



I get /usr/bin/unzip
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 1:22 am

ok it said you have unzip, now next command from the coded page, is to install smxi script ...

this one mean your internet must work
also you should have the /usr/local/bin directory.

if not it is simple just to create, get into root prompt
then mkdir /usr/local/bin

# as root, run the following command
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:28 am

wayne128 wrote:ok it said you have unzip, now next command from the coded page, is to install smxi script ...

this one mean your internet must work
also you should have the /usr/local/bin directory.

if not it is simple just to create, get into root prompt
then mkdir /usr/local/bin

# as root, run the following command
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi



It is doing something wayne...lol
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:33 am

It is doing a dist upgrade :wink:
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby z06gal on Tue May 01, 2012 1:39 am

I AM ON MY DESKTOP! Thank you Wayne. 2 things popped up: "NO_BUILT_MODULE_NAME" and "bad conf file." :D

Any idea what I need to do with that? Thank you soooo much!
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Re: Cannot start x server

Postby wayne128 on Tue May 01, 2012 1:44 am

seems to be related to dkms...may be during kernel upgrade??
but without being on your terminals reading those stuff I do not know what was that.

anyway, does smxi display tells you your options?
think your purpose is to get up display via smxi script, so if problem is kernel, I think you can leave it alone and proceed with old kernel, just proceed with those related to your nvidia driver installation..
wayne128
Level 10
Level 10
 
Posts: 3314
Joined: Tue Jul 13, 2010 12:15 am

Re: Cannot start x server

Postby Oscar799 on Tue May 01, 2012 12:17 pm

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8826
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Cannot start x server

Postby telenux on Tue May 01, 2012 7:04 pm

It sounds like the OP buggered up his xorg config files as it didn't properly purge the nouveau 'stuff' so that they're not in conflict. That's my theory anyway.

Next time, OP, have a Live CD/DVD or the .iso on a usb stick and boot up the Live media of the same OS. It will give you the 'default xorg' info and you can repair your file this way. Or at least, it used to be relatively easy to do so. :)

I always check what's installed with Synaptic to have a good idea what's installed. Always get rid of one or the other when upgrading the Nvidia driver. I think what happens is that when they're both installed, there is not a good method in choosing which driver to use or the xorg info gets corrupted somehow. It's always possible a wrong 'choice' was made when going through the routine of configuring X Server.
telenux
Level 3
Level 3
 
Posts: 164
Joined: Tue Nov 06, 2007 2:52 am

Re: Cannot start x server

Postby craigevil on Tue May 01, 2012 7:29 pm

Use smxi to install the proper nvidia driver. Not only will it download and install the proper driver, it will remove and blacklist nouveau , and configure xorg.conf correctly.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Cannot start x server

Postby z06gal on Wed May 02, 2012 2:37 pm

craigevil wrote:Use smxi to install the proper nvidia driver. Not only will it download and install the proper driver, it will remove and blacklist nouveau , and configure xorg.conf correctly.



Craig, that script rocks! Did you write that? I tried debian several years ago and never could get the drivers going so I went back to Mint Main :lol:
z06gal
Level 5
Level 5
 
Posts: 668
Joined: Sat Jun 13, 2009 7:16 pm

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 3 guests