Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:vnc_setup [2024-12-25 Wed wk52 23:02] – [Newer references] baumkphome_server:home_server_setup:vnc_setup [2025-01-01 Wed wk01 21:12] (current) – [VNC Server] baumkp
Line 15: Line 15:
   * ''vncserver -kill :1'' to kill the :1 server listed   * ''vncserver -kill :1'' to kill the :1 server listed
   * ''vncserver -localhost no -geometry 800x600 -depth 24'', use the ''-localhost no'' option to allow remote connection.   * ''vncserver -localhost no -geometry 800x600 -depth 24'', use the ''-localhost no'' option to allow remote connection.
 +
 +I had a lot of problems getting tigervncserver to work with xfce.  The site [[https://unix.stackexchange.com/questions/762533/tigervnc-xfce-startup-failing-on-new-debian-12-bookworm-install-another-sessio|TigerVNC Xfce startup failing on new Debian 12 bookworm install. "Another session manager is already running"]]
 +This recommended the following ''~.vnc/xstartup'' configuration that simply worked, it took a long time to find a solution:
 +<code>#!/bin/bash
 +[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
 +[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
 +vncconfig -iconic &
 +dbus-launch --exit-with-session xfce4-session</code>
 +
 +The parameter ''vncconfig -iconic'' is for X clipboard support.
 +
 +My ''~./vnc/config'':
 +<code share>session=xfce
 +geometry=2000x1200
 +localhost=false</code>
 +
 +The ''localhost=false'' parameter means that you do not need ssh to access.  As this is on my LAN only I do not see the need for SSH.  (If i need WAN access I can Wireguard VPN into my local LAN.)
 +
 +When I finally got tigervncserver with xfce on Debian 12 the XFCE session came up with an annoying authorisation request that I found a resolution at [[https://www.geekdecoder.com/how-to-fix-authentication-is-required-to-create-a-color-profile-managed-device-on-ubuntu-22-04/|How to fix “Authentication is required to create a color profile/managed device”]]
 +
  
 ====Newer references==== ====Newer references====