The officially official Devuan Forum!

You are not logged in.

#1 2025-03-02 04:50:02

amaro
Member
Registered: 2022-02-08
Posts: 99  

Cannot establish any listening sockets

Hello everybody!

X crashes everytime when I use 'xournal' or try to make changes to 'sylpheed' settings. Using 'sylpheed' to receive and send e-mail works fine. But clicking on the settings menu leads to a crash. With 'xournal' crashes come whenever they feel like it (in reading mode) and always when I try to save the file after some changes.

I am with daedalus, xfce.

Here is the log

[1144248.663] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[1144248.668] _XSERVTransMakeAllCOTSServerListeners: server already running
[1144248.672] (EE) 
Fatal server error:
[1144248.681] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[1144248.685] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[1144248.703] (EE) Please also check the log file at "/home/vb/.local/share/xorg/Xorg.0.log" for additional information.
[1144248.708] (EE) 
[1144248.713] (EE) Server terminated with error (1). Closing log file.

What might be the cause?
Any ideas are appreciated!
Thank you in advance!

Offline

#2 2025-03-22 18:49:31

lynch9
Member
Registered: 2024-07-17
Posts: 21  

Re: Cannot establish any listening sockets

X server might be having some issues, which is causing those crashes with xournal and sylpheed. From the log you shared, it seems like there might already be an X server running, which is blocking things from working properly.

First off, try checking if any X server processes are still running, and if so, stop them before trying to restart X. You can also check the Xorg log at /home/vb/.local/share/xorg/Xorg.0.log to see if it’s throwing any more specific errors.

If that doesn’t work, you could try reconfiguring X by reinstalling the xserver-xorg package—sometimes that resets things and clears up the issue. Also, it might be worth running apt-get install -f to fix any missing dependencies that could be causing problems.

Lastly, just to rule out anything with your user settings, create a new user and see if the issue still happens there. If it doesn’t, it’s probably something in your current user config causing the crashes.

Let me know how it goes!

Last edited by lynch9 (2025-03-22 18:51:14)


Hey, it's lynchian9.
Feel free to reach out via email.

Offline

#3 2025-03-23 06:16:40

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 79  
Website

Re: Cannot establish any listening sockets

Just some ideas to check
1 see if other Xorg instances are running -

ps aux | grep Xorg

2 maybe a conflict - XRDP - VNC ?
3 Try running sylpheed with a different user and see if that happens again

Hope this will help trimming down


Just a simple man!

Offline

#4 2025-03-24 09:43:33

amaro
Member
Registered: 2022-02-08
Posts: 99  

Re: Cannot establish any listening sockets

thank you, both!

here is today's output,

$ ps aux | grep Xorg
root      2462  2.4  2.7 774996 107776 tty7    Ssl+ Mar22  65:03 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/slim.auth vt07
vb        7833  0.0  0.0   6336  2244 pts/3    S+   11:28   0:00 grep --color=auto Xorg
$ cat /home/vb/.local/share/xorg/Xorg.0.log
[1144248.663] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[1144248.668] _XSERVTransMakeAllCOTSServerListeners: server already running
[1144248.672] (EE) 
Fatal server error:
[1144248.681] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[1144248.685] (EE) 
Please consult the The X.Org Foundation support  at http://wiki.x.org for help. 
[1144248.703] (EE) Please also check the log file at "/home/vb/.local/share/xorg/Xorg.0.log" for additional information.
[1144248.708] (EE) 
[1144248.713] (EE) Server terminated with error (1). Closing log file.
# ain xserver-xorg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-xorg is already the newest version (1:7.7+23).
xserver-xorg set to manually installed.
# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

if all that is ok then I will try the new user option as you suggested.

Offline

#5 2025-03-24 10:39:22

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,340  

Re: Cannot establish any listening sockets

Something funny is going on if the millisecond timestamp stays the same for the Xorg logs... are you sure that that is the current log file?

Online

Board footer