Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X server: connection refused

3,482 views
Skip to first unread message

Charles Kroeger

unread,
May 1, 2012, 7:40:01 PM5/1/12
to
After a dist-upgrade to an AMD64 wheezy/sid installation I get the following:

$startx
/etc/X11/xinit/sderverrc: 3: exec: /usr/bin/X: not found

xinit: giving up
xinit: unable to connect to X server: connection refused
xinit: server error

I had a look at /etc/X11/xinit/xserverrc

#!/bin/sh

exec /usr/bin/X -no listen tcp "$e"


well this is mud to me, any suggestions as to what the message might mean?

I use the nvidia-glx video driver.

--
CK


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120501181351.1651b3f3@Mondo

Indulekha

unread,
May 1, 2012, 8:00:02 PM5/1/12
to
On Tue, May 01, 2012 at 06:13:51PM -0500, Charles Kroeger wrote:
> After a dist-upgrade to an AMD64 wheezy/sid installation I get the following:
>
> $startx
> /etc/X11/xinit/sderverrc: 3: exec: /usr/bin/X: not found
>
> xinit: giving up
> xinit: unable to connect to X server: connection refused
> xinit: server error
>
> I had a look at /etc/X11/xinit/xserverrc
>
> #!/bin/sh
>
> exec /usr/bin/X -no listen tcp "$e"
>
>
> well this is mud to me, any suggestions as to what the message might mean?
>
> I use the nvidia-glx video driver.
>

Appears you no longer have the xserver installed.
Upgrade get interrupted, or finish with errors perhaps?

--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120501235303.GA22104@radhesyama

Charles Kroeger

unread,
May 1, 2012, 11:20:02 PM5/1/12
to
On Wed, 02 May 2012 02:00:02 +0200
Indulekha <indu...@theunworthy.com> wrote:


> Appears you no longer have the xserver installed.
> Upgrade get interrupted, or finish with errors perhaps?


Thanks for your response however I'm not sure it isn't something else as all
the nividia-glx 295.40-1 sources and drivers inclusive of dkms sources and
kernel and even the xserver-xorg-video-nvidia Xorg driver are all still
installed. There was nothing in regard to the xserver removed, something to
do with X11 or X maybe. I suspect they're screwing their nuts back at the X11
head office.

someone screwed up

--
CK


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120501215355.4373ed23@Mondo

Indulekha

unread,
May 1, 2012, 11:40:02 PM5/1/12
to
On Tue, May 01, 2012 at 09:53:55PM -0500, Charles Kroeger wrote:
> On Wed, 02 May 2012 02:00:02 +0200
> Indulekha <indu...@theunworthy.com> wrote:
>
>
> > Appears you no longer have the xserver installed.
> > Upgrade get interrupted, or finish with errors perhaps?
>
>
> Thanks for your response however I'm not sure it isn't something else as all
> the nividia-glx 295.40-1 sources and drivers inclusive of dkms sources and
> kernel and even the xserver-xorg-video-nvidia Xorg driver are all still
> installed. There was nothing in regard to the xserver removed, something to
> do with X11 or X maybe. I suspect they're screwing their nuts back at the X11
> head office.
>
> someone screwed up
>

Perhaps I am mistaken, or was just unclear -- sorry.
By "the xserver" I mean xserver-xorg, not the xserver drivers you
mention (dang my colloquially-inclined rural Southern hide). :)

Try "sudo aptitude show xserver-xorg", see if it's installed or not...
If so, check the same with "xinit".

--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20120502033650.GA25837@radhesyama

Bob Proulx

unread,
May 2, 2012, 2:10:01 AM5/2/12
to
Indulekha wrote:
> Charles Kroeger wrote:
> > $startx
> > /etc/X11/xinit/sderverrc: 3: exec: /usr/bin/X: not found
>
> Appears you no longer have the xserver installed.
> Upgrade get interrupted, or finish with errors perhaps?

I noticed today that an 'apt-get dist-upgrade' in Sid wanted to remove
xserver-xorg and much of the rest of the X system.

Sid is a little unstable today.

Bob
signature.asc

Tom H

unread,
May 2, 2012, 2:20:01 AM5/2/12
to
On Tue, May 1, 2012 at 7:13 PM, Charles Kroeger
<ckr...@frankensteinface.com> wrote:
>
> After a dist-upgrade to an AMD64 wheezy/sid installation I get the following:
>
> $startx
> /etc/X11/xinit/sderverrc: 3: exec: /usr/bin/X: not found
>
> xinit: giving up
> xinit: unable to connect to X server: connection refused
> xinit: server error
>
> I had a look at /etc/X11/xinit/xserverrc
>
> #!/bin/sh
>
> exec /usr/bin/X  -no listen tcp "$e"
>
>
> well this is mud to me, any suggestions as to what the message might mean?
>
> I use the nvidia-glx video driver.

X on Sid seems to be going through a transition at the moment and
isn't working for me either (although my particular problem might be
complicated by being related to VMWare).


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAOdoSwUcFZ9PEzX7hOZoLeWS...@mail.gmail.com

Jochen Spieker

unread,
May 2, 2012, 4:10:01 AM5/2/12
to
Bob Proulx:
>
> I noticed today that an 'apt-get dist-upgrade' in Sid wanted to remove
> xserver-xorg and much of the rest of the X system.

That's why I habitually only run 'apt-get upgrade', as it will never
remove any packages and you can use it more or less blindly in order to
receive unproblematic upgrades.

Some people (not necessarily you) are under the impression that sid
requires you to always use dist-upgrade, which is simply not true. For
example, running 'apt-get upgrade' today yielded the following
suggestion:

89 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
^^ ^^
Need to get 0 B/196 MB of archives.
After this operation, 3,514 kB of additional disk space will be used.
Do you want to continue [Y/n]?

That means I can install 89 packages without fear of losing anything.
The other 39 upgrades require either an 'aptitude safe-upgrade' or a
dist-/full-upgrade which are potentially destructive commands. In this
case, 'aptitude safe-upgrade' took care of another six packages and only
the full-upgrade proposes to remove xserver-xorg.

Incidentally, apt-get dist-upgrade is less disastrous in this case. It
only suggests to remove xserver-xorg-video-all,
xserver-xorg-video-s3virge and xserver-xorg-video-tdfx while keeping all
important X related packages for my system.

J.
--
I think the environment will be okay.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
signature.asc

Cyril Brulebois

unread,
May 2, 2012, 9:40:01 PM5/2/12
to
Jochen Spieker <m...@well-adjusted.de> (02/05/2012):
> Incidentally, apt-get dist-upgrade is less disastrous in this case. It
> only suggests to remove xserver-xorg-video-all,
> xserver-xorg-video-s3virge and xserver-xorg-video-tdfx while keeping
> all important X related packages for my system.

Background:
http://blog.mraw.org/2012/05/01/DXN-11/

Status:
http://release.debian.org/transitions/html/xorg.html

s3virge and tdfx both need some non-trivial merges from upstream, that's
why they didn't get processed yesterday along with the others.

(fly-by mode, I'm not subscribed to debian-user@.)

Mraw,
KiBi.
signature.asc

Charles Kroeger

unread,
May 4, 2012, 9:30:01 PM5/4/12
to
After the dist-upgrade on sid during the 'transitions' I noticed there was
'no' /etc/X11/xorg.conf file at all so I created one

I also added the meta package:

xorg

also there was no xserver-xorg package after the dist-upgrade this was the reason
I was seeing in my error message after startx: /usr/bin/X: not found.

dpkg-reconfigure -phigh xserver-xorg doesn't seem to work on sid [here at least]
even with the xserver-xorg package installed

I did not have to change the name of /etc/X11/xorg.conf to /etc/X11/xorg.conf.orig
as was suggested

successful /etc/X11/xorg.conf file can be posted if interested.

--
CK


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/a0jcrd...@mid.individual.net

Andrei POPESCU

unread,
May 6, 2012, 5:30:02 AM5/6/12
to
On Vi, 04 mai 12, 20:07:57, Charles Kroeger wrote:
> After the dist-upgrade on sid during the 'transitions' I noticed there was
> 'no' /etc/X11/xorg.conf file at all so I created one

If you did fine without one before it should work now as well.

Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc

Charles Kroeger

unread,
May 6, 2012, 11:50:01 PM5/6/12
to
On Sun, 06 May 2012 11:30:02 +0200
Andrei POPESCU <andreim...@gmail.com> wrote:

> If you did fine without one before it should work now as well.

It is curious to be sure. But when I tried to edit the /etc/X11/xorg.conf 'after
the dist-upgrade' when startx failed to start the nvidia driver, guess what vim
declared it was a new file. I made a special effort to make sure I had typed the
file name correctly.

dist-upgrade removed a lot of packages related to X including xserver-xorg that
contained a file I needed to have /usr/bin/X

After reinstalling xserver-xorg and xorg for good measure, I didn't get
the ..xserverrc: 3 exec: /usr/bin/X: xinit: giving up error message

anyway, I couldn't get the X back up until I created that /etc/X11/xorg.conf
file again. (a very simple one) but after that, all was once again well.

What do you think happened? I like to think it's sid/experimental walk on the wild
side Debian experience, invigorating if it doesn't go on too long.

--
CK


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/a0otic...@mid.individual.net

Andrei POPESCU

unread,
May 7, 2012, 2:50:01 PM5/7/12
to
On Du, 06 mai 12, 22:23:56, Charles Kroeger wrote:
>
> anyway, I couldn't get the X back up until I created that /etc/X11/xorg.conf
> file again. (a very simple one) but after that, all was once again well.

If you want any help with this please attach the full
/var/log/Xorg.0.log when you try to start without any xorg.conf and the
xorg.conf you have now.

> What do you think happened? I like to think it's sid/experimental walk on the wild
> side Debian experience, invigorating if it doesn't go on too long.

I can't give you a better answer than the one from Cyril Brulebois.
signature.asc

Charles Kroeger

unread,
May 7, 2012, 7:30:02 PM5/7/12
to
On Mon, 07 May 2012 20:50:01 +0200
Andrei POPESCU <andreim...@gmail.com> wrote:

> On Du, 06 mai 12, 22:23:56, Charles Kroeger wrote:
> >
> > anyway, I couldn't get the X back up until I created that /etc/X11/xorg.conf
> > file again. (a very simple one) but after that, all was once again well.
>
> If you want any help with this please attach the full
> /var/log/Xorg.0.log when you try to start without any xorg.conf and the
> xorg.conf you have now.
>
> > What do you think happened? I like to think it's sid/experimental walk on the
wild > > side Debian experience, invigorating if it doesn't go on too long.
>
> I can't give you a better answer than the one from Cyril Brulebois.
>
> Kind regards,
> Andrei

humm..well yes I appreciate what you say and I did read the links in the Cyril
Brulebois post. (X11 and xorg in transition) I examined ..../log/Xorg.0. after the
first failure of the 'startx' command (to bring up nvidia-glx) there was some
interesting attempts of X trying to load non-existent 'modules' like 'nv' 'nouveau'
'vesa' etc. Since this log gets recreated each time one runs startx, I put back
some missing packages (removed by the dist-upgrade) then ran startx again and got a
different set of errors but still no X. This is when (from reading other post on
the list) realized I didn't have an /etc/X11/xorg.conf file, so I recreated it and
my problem was resolved i.e. SOLVED.

Thanks for your reply

--
CK


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/a0r2gl...@mid.individual.net
0 new messages