LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-02-2019, 03:58 PM   #1
jrch
Member
 
Registered: Mar 2006
Posts: 158

Rep: Reputation: 15
startx intermittant failure, "X server already running on display :0"


Slackware64 14.2 / multilib, with original kernel ('huge') as released.
After boot and user login, I type 'startx' and it fails first time or maybe first two times, then launches. When it fails, it says, among other things, "X server already running on display :0" - which is pretty hard to understand since I just launched it for the first time.

Here is most of the visible message when startx fails:
"...
...
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 2 13:47:31 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
/usr/bin/startxfce4: X server already running on display :0
_IceTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_IceTransMakeAllCOTSServerListeners: server already running
xfce4-session: Unable to establish ICE listeners: Cannot establish any listening sockets
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file."

I used to use one of the 'xorgconfig' type programs to painfully setup a *.conf file, with sections for everything, monitor, keyboard, etc. But last few years, I just use startx after install and login to user acct.

I'm hoping I don't have to go thru the process of generating a conf file again. Right now there is none in /etc/X11/; in /usr/share/X11/xorg.conf.d (folder) there are only a few specific files apparently for laptops; no overall x conf file anywhere.

I've looked at the log file in /var/log/Xorg.0.log after both startx failure and startx success, and have trouble locating anything meaningful. Mostly seems like lists of optional vid cards and monitors it is 'trying'....

I've gotten used to just living with this, knowing X will start 2nd or 3rd try; so far no damage is apparent. I'm really not a 'gamer', and I don't need all the fancy gimicks on newer vid cards. This just gets a bit old, is all.

I don't know how to 'post' a copy of a file here.

I can't find any relevant information online - I must be the only one with this error message...

Thanks for any comments on situation..
jrc

Last edited by jrch; 12-02-2019 at 04:08 PM.
 
Old 12-02-2019, 05:21 PM   #2
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Manual says it's only necessary to run X -configure in case autodetect fails.

But it also says to run xwmconfig to select environment... (bottom): https://docs.slackware.com/slackware:beginners_guide
 
Old 12-03-2019, 05:38 AM   #3
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Jan - I did that (xwmconfig) as part of normal slack install. Also repeated it (with no effect, since I was already in xfce4) just in case, before latest error - same thing,

"X server already running on display :0"

Actually this problem has been present on several different computers running slack/xfce for years. Same symptom, same message.
 
Old 12-03-2019, 05:46 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Could be you're booting to the wrong level. By default Slackware boots to level 3 (console login); level 4 is graphical login. Maybe you changed the level and then forgot about it. Check /etc/inittab.

Also if X is running, you should be able to find it with alt-Fn (probably alt-F7).

Last edited by hazel; 12-03-2019 at 05:51 AM.
 
Old 12-04-2019, 06:33 AM   #5
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Thanks Hazel, I will check those things next reboot (today).
jrc
 
Old 12-05-2019, 09:13 AM   #6
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Exclamation to Hazel: Tried those things, no help

Thanks for suggestions Hazel. I tried both of those things, with no resolution.

1) Have been consistently starting on runlevel 3.

2) When startx fails with message, "X server already running on display :0", I try ALT-F7 AND also CTRL-ALT-F7 with no response from machine.

In addition, I went to the 'x' webpage (www.x.org/wiki) and checked the FAQ (and the 'other FAQ's'). One FAQ item (error messages...) "Server is already active for display 0". I performed all the steps there (as root) and nothing helped. The 'lock' file is not there at all. But x claiims the 'server isa lready running ...".

A bit mistifying to me.

jrc
 
Old 12-05-2019, 09:47 AM   #7
jrch
Member
 
Registered: Mar 2006
Posts: 158

Original Poster
Rep: Reputation: 15
Considering Moving Topic to Slackware Forum

I thank Hazel and whoever else contributed to this question.

However, in order to solicit more responses, I'm going to move this topic to the main 'Slackware' forum.

If this irritates some folks, I'm sorry. But that kind of response will - as far as I'm concerned - demonstrate that this 'Installatin' subforum is the wrong place to start a topic of any but the most elementary kind.

jrc
 
Old 12-05-2019, 10:19 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
If you enter "ps ax|grep Xorg" at the console, can you see Xorg running? Is there a /var/log/Xorg file with the current date?
 
  


Reply



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
Intermittant serial port failure - please help! ChrisO Linux - General 1 05-17-2011 06:27 AM
Intermittant serial port failure - pleae help! ChrisO Linux - General 1 05-17-2011 06:16 AM
Xming, startx as root: Server already active for display 0 rptk Linux - Newbie 1 09-12-2010 11:20 AM
Strange intermittant network failure... bulliver Linux - Networking 2 11-01-2005 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:52 PM.

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
Open Source Consulting | Domain Registration