You are not logged in.
I have tried ~/.vnc/xstartup and also symlinked it to config but it does not seem to execute it.
I can see from vncserver stdout that it's loading my ~/.Xresources but it does not appear to load any of the above.
What is the path to the user vncserver startup file?
Offline
Check ~/.config/tigervnc/config, this config controlled where is the startup script
Offline
I see from the wiki that there's a new config file ~/.config/config where I can specify a session,but the default session files in /usr/share/xsessions does not include the window manager I have installed manually in my $HOME.
I tried to make my own session file and put it into ~/.local/share/xsessions, but it does not seem to use it. Where can I put the session file for vncserver to find it?
Offline
check ~/.config/tigervnc/config, this file has a session option, and the value is the session name that in the /usr/share/xsessions, you can put your start script into /usr/share/xsessions as a session and reference it in config file.
Offline
Check ~/.config/tigervnc/config, this config controlled where is the startup script
Thank you. I found that in the wiki, but now my next problem is how can I make a desktop file under my $HOME (I don't want to make a desktop file in /etc which is referring to a window manager under my $HOME) which can be selected by the config file as posted above?
Offline
I checked the manual, I think no way to config startup commands without modifing /usr/share (not /etc), also may /usr/local/share works, I am not fully sure.
Offline
Thank you for checking. Back in the day it was quite simple to add your own startup script running your own WM without root access and having to modify the the root FS.
Offline