On Tue, Aug 20, 2024 at 15:04:11 -0400, Gary Dale wrote: > On 2024-08-19 22:27, Max Nikulin wrote: > > On 20/08/2024 05:15, Gary Dale wrote: > > > tigervnc-server has a command line option to listen to the LAN but > > > the Debian systemd service configuration doesn't invoke the server > > > program directly, so I'm not sure how to get the option to the vnc > > > server. > > [...]> This is the .service file: > > [...] > > > ExecStart=/usr/libexec/tigervncsession-start %i > > > > Try "systemctl cat" for the corresponding .socket file. > > > > <https://0pointer.de/blog/projects/inetd.html> > > > Thanks, but I can't find a .socket file. While > find / -name *.service | grep vnc > locates the various .service files associated with vnc: > /etc/systemd/system/multi-user.target.wants/tigervncserver@:1.service > /etc/systemd/system/vncserver@.service > > The same search for *.socket comes up empty.
If you know the package name, you can get a list of files which are part of that package. If it's installed locally, you can use dpkg -L to get the filenames. Otherwise, you can use Debian's web site: https://packages.debian.org/bookworm/amd64/tigervnc-standalone-server/filelist I'm guessing that's your package name. File list of package tigervnc-standalone-server in bookworm of architecture amd64 /etc/X11/Xtigervnc-session /etc/tigervnc/vncserver.users /lib/systemd/system/tigervncserver@.service /usr/bin/Xtigervnc /usr/bin/tigervncserver /usr/libexec/tigervncsession-start /usr/sbin/tigervncsession /usr/share/doc/tigervnc-standalone-server/changelog.Debian.gz /usr/share/doc/tigervnc-standalone-server/copyright /usr/share/man/man1/Xtigervnc.1.gz /usr/share/man/man1/tigervncserver.1.gz /usr/share/man/man8/tigervncsession.8.gz ... oh wait, the package name is in the Subject. Gah, I hate it when people hide details in the Subject header instead of the body. Well, at least I guessed the right package name.