please explain systemctl status xvnc.socket

41 views
Skip to first unread message

Mario Blunk

unread,
Feb 16, 2023, 11:08:04 AM2/16/23
to TigerVNC User Discussion/Support
I'm unable to log onto the remote machine. The client always outputs "The connection was dropped by the server before the session could be established." So I checked the server status and found a strange output as described below:

When I run this command, there is always a line starting with "Until: ...". What is this telling me ? From the timestamp I suspect a kind of timeout so that remote logging in is blocked:

machine1:/etc # systemctl status xvnc.socket
● xvnc.socket - Xvnc Server
     Loaded: loaded (/usr/lib/systemd/system/xvnc.socket; enabled; preset: disabled)
     Active: active (listening) since Thu 2023-02-16 16:50:37 CET; 16min ago
      Until: Thu 2023-02-16 16:50:37 CET; 16min ago
     Listen: [::]:5901 (Stream)
   Accepted: 19; Connected: 0;
      Tasks: 0 (limit: 4915)
        CPU: 4ms
     CGroup: /system.slice/xvnc.socket

Feb 16 16:50:37 notebook3 systemd[1]: Closed Xvnc Server.
Feb 16 16:50:37 notebook3 systemd[1]: Stopping Xvnc Server...
Feb 16 16:50:37 notebook3 systemd[1]: Listening on Xvnc Server.

Pierre Ossman

unread,
Feb 17, 2023, 8:56:25 AM2/17/23
to Mario Blunk, TigerVNC User Discussion/Support
On 16/02/2023 17:08, Mario Blunk wrote:
> I'm unable to log onto the remote machine. The client always outputs "The
> connection was dropped by the server before the session could be
> established." So I checked the server status and found a strange output as
> described below:
>
> When I run this command, there is always a line starting with "Until: ...".
> What is this telling me ? From the timestamp I suspect a kind of timeout so
> that remote logging in is blocked:
>
> machine1:/etc # systemctl status xvnc.socket

I'm afraid xvnc.socket is not something we have included in the TigerVNC
project, so it's likely something from your distribution.

Which distribution is it on this system?

Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Mario Blunk

unread,
Feb 17, 2023, 10:26:13 AM2/17/23
to TigerVNC User Discussion/Support
Pierre,
thanks for your reply. My distro is OpenSuse Tumbleweed. Is there a way to test the server functionality apart from systemd ?

Best,
Mario

Mario Blunk

unread,
Feb 18, 2023, 2:49:40 AM2/18/23
to TigerVNC User Discussion/Support
I asked the OpenSuse folks. For those interested see:


However, thanks for your great work !

Pierre Ossman

unread,
Feb 20, 2023, 7:57:17 AM2/20/23
to Mario Blunk, TigerVNC User Discussion/Support
On 2/17/23 16:26, Mario Blunk wrote:
> Pierre,
> thanks for your reply. My distro is OpenSuse Tumbleweed. Is there a way to
> test the server functionality apart from systemd ?
>

It depends what you want to test. If you want to start a normal desktop
environment with Xvnc, then a systemd service is the method used.
However, we have the service vncserver@.service. It seems OpenSuse has
their own thing going on, so I don't know how things are supposed to
work there. :/
Reply all
Reply to author
Forward
0 new messages