Yes yes I already did my homework but none of the solutions I found made any difference.
I'm currently using a fresh install of Buster with Cinnamon both on my server and the local machine.
The problem is none of the VNC servers are creating the xstartup file on the first run. When trying to connect remotely the result is a black screen with an message "could not acquire name on session bus" and in the log I found this error "cinnamon-session[1218]: WARNING: t+0,00730s: Failed to acquire org.gnome.SessionManager".
After some research I found this bug on TigerVNC https://github.com/TigerVNC/tigervnc/issues/659.
After some trying, I found out that TightVNC server creates an xstartup but it made no difference, the error persisted as described:
Code: Select all
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec cinnamon-session &
Code: Select all
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
So, any clues what I could try next???