TurboVNC / turbovnc

Main TurboVNC repository
https://TurboVNC.org
GNU General Public License v2.0
761 stars 138 forks source link

how to pass " -listen tcp " args from TurboVNC session manager to /opt/Turbovnc/bin/vncserver when creating new session? #315

Closed wanlinwang closed 2 years ago

wanlinwang commented 2 years ago

Hi there,

How to pass " -listen tcp " args from TurboVNC session manager to /opt/Turbovnc/bin/vncserver when creating new session? Thanks a lot.

dcommander commented 2 years ago

Add it to the $serverArgs variable in ~/.vnc/turbovncserver.conf or /etc/turbovncserver.conf.

dcommander commented 2 years ago

Also, if you need to add server arguments just temporarily, you can set TVNC_SERVERARGS in the environment on the client rather than modifying turbovncserver.conf on the host.

wanlinwang commented 2 years ago

Also, if you need to add server arguments just temporarily, you can set TVNC_SERVERARGS in the environment on the client rather than modifying turbovncserver.conf on the host.

Got, thank you!!