Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #272380

Re: configuring tigervnc-standalone-server to listen on LAN

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: configuring tigervnc-standalone-server to listen on LAN
Date 2024-08-21 05:20 +0200
Message-ID <JdK38-6tmS-3@gated-at.bofh.it> (permalink)
References (2 earlier) <JdCoW-6ojQ-15@gated-at.bofh.it> <JdCyB-6on7-5@gated-at.bofh.it> <JdCIi-6oqM-19@gated-at.bofh.it> <JdD1D-6ox8-1@gated-at.bofh.it> <JdDXI-6p5G-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 21/08/2024 03:42, Gary Dale wrote:
> $ systemctl status tigervncserver@:1.service
> ○ tigervncserver@:1.service - Remote desktop service (VNC)
>       Loaded: loaded (/usr/lib/systemd/system/tigervncserver@.service; 
> enabled; preset: enabled)
>       Active: inactive (dead) since Tue 2024-08-20 15:52:31 EDT; 1min 4s 
> ago
[...]
> However I can run vncviewer localhost:5901 and connect as my user.

I hope you have tried "systemctl status" after vncviewer to be sure that 
systemd socket activation is not involved. I suspected that it is 
systemd, not any tigervnc binary that accepts client connection.

I have no idea if "/usr/libexec/tigervncsession-start :1" allows to 
create instance-specific configuration files.

You can override instance-specific systemd parameters in 
/etc/systemd/system/tigervncserver@:1.service.d/*.conf files (I hope :1 
does not need escaping).

It is better to query systemd runtime configuration than to rely on 
"find" or "dpkg -L". The following commands might help to figure out 
which way tigervnc is started

systemctl list-sockets '*vnc*'
systemctl list-units '*vnc*'
systemd-cgls
ps axuwf

and of course (as root)

journalctl -b

I am in doubts if some executable may explicitly call "systemctl start 
tigervncserver@:1.service"

Nowadays I do not see advantages of crontab @reboot over a systemd unit.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

configuring tigervnc-standalone-server to listen on LAN Gary Dale <gary@extremeground.com> - 2024-08-20 00:20 +0200
  Re: configuring tigervnc-standalone-server to listen on LAN Max Nikulin <manikulin@gmail.com> - 2024-08-20 04:30 +0200
    Re: configuring tigervnc-standalone-server to listen on LAN Gary Dale <gary@extremeground.com> - 2024-08-20 21:10 +0200
      Re: configuring tigervnc-standalone-server to listen on LAN Greg Wooledge <greg@wooledge.org> - 2024-08-20 21:20 +0200
        Re: configuring tigervnc-standalone-server to listen on LAN Gary Dale <gary@extremeground.com> - 2024-08-20 21:30 +0200
          Re: configuring tigervnc-standalone-server to listen on LAN Greg Wooledge <greg@wooledge.org> - 2024-08-20 21:50 +0200
            Re: configuring tigervnc-standalone-server to listen on LAN Gary Dale <gary@extremeground.com> - 2024-08-20 22:50 +0200
              Re: configuring tigervnc-standalone-server to listen on LAN Gary Dale <gary@extremeground.com> - 2024-08-20 23:20 +0200
              Re: configuring tigervnc-standalone-server to listen on LAN Max Nikulin <manikulin@gmail.com> - 2024-08-21 05:20 +0200

csiph-web