Cannot start x server

Archived topics about LMDE 1 and LMDE 2
Locked
z06gal

Cannot start x server

Post by z06gal »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
wayne128

Re: Cannot start x server

Post by wayne128 »

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
z06gal

Re: Cannot start x server

Post by z06gal »

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

Re: Cannot start x server

Post by z06gal »

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.
wayne128

Re: Cannot start x server

Post by wayne128 »

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.
z06gal

Re: Cannot start x server

Post by z06gal »

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

Re: Cannot start x server

Post by wayne128 »

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

are you in $ prompt?
z06gal

Re: Cannot start x server

Post by z06gal »

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
wayne128

Re: Cannot start x server

Post by wayne128 »

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
z06gal

Re: Cannot start x server

Post by z06gal »

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
wayne128

Re: Cannot start x server

Post by wayne128 »

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
z06gal

Re: Cannot start x server

Post by z06gal »

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

Re: Cannot start x server

Post by z06gal »

It is doing a dist upgrade :wink:
z06gal

Re: Cannot start x server

Post by z06gal »

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!
wayne128

Re: Cannot start x server

Post by wayne128 »

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..
User avatar
Oscar799
Level 20
Level 20
Posts: 10397
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Cannot start x server

Post by Oscar799 »

Moved here by moderator
Image
telenux
Level 3
Level 3
Posts: 163
Joined: Tue Nov 06, 2007 2:52 am

Re: Cannot start x server

Post by telenux »

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.
craigevil

Re: Cannot start x server

Post by craigevil »

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.
z06gal

Re: Cannot start x server

Post by z06gal »

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:
Locked

Return to “LMDE Archive”