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


Groups > linux.debian.user > #272321

configuring tigervnc-standalone-server to listen on LAN

From Gary Dale <gary@extremeground.com>
Newsgroups linux.debian.user
Subject configuring tigervnc-standalone-server to listen on LAN
Date 2024-08-20 00:20 +0200
Message-ID <JdiTf-6c3L-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I'm running Debian/Trixie on and AMD64 system. I have a need to be able 
to connect remotely to this machine.

My network already is setup for ssh from the outside to go to my main 
server. From there I would normally use -L port forwarding to connect to 
a computer on the LAN. However, tigervnc-standalone-server's 
configuration defaults to only listening on localhost, assuming that 
anyone coming in is using an SSH tunnel already.

I could punch another hole in my router's firewall to take me directly 
to my workstation, and set it up as an SSH server. But I trust my LAN 
and would prefer to just go through my normal SSH tunnel.

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.

Any ideas?

This is the .service file:

[Unit]
Description=Remote desktop service (VNC)
After=network.target systemd-user-sessions.service

[Service]
Type=forking
ExecStart=/usr/libexec/tigervncsession-start %i
PIDFile=/run/tigervncsession-%i.pid
SELinuxContext=system_u:system_r:vnc_session_t:s0

[Install]
WantedBy=multi-user.target

Back to linux.debian.user | Previous | Next — Next 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