You are not logged in.

#1 2026-01-16 06:25:00

zener
Member
Registered: 2016-12-10
Posts: 6

Tigervnc startup file?

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

#2 2026-01-16 07:59:55

LBLaiSiNanHai
Member
Registered: 2025-12-06
Posts: 5

Re: Tigervnc startup file?

Check ~/.config/tigervnc/config, this config controlled where is the startup script

Offline

#3 2026-01-16 07:59:58

zener
Member
Registered: 2016-12-10
Posts: 6

Re: Tigervnc startup file?

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

#4 2026-01-16 08:04:34

LBLaiSiNanHai
Member
Registered: 2025-12-06
Posts: 5

Re: Tigervnc startup file?

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

#5 2026-01-16 08:04:57

zener
Member
Registered: 2016-12-10
Posts: 6

Re: Tigervnc startup file?

LBLaiSiNanHai wrote:

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

#6 2026-01-16 08:08:19

LBLaiSiNanHai
Member
Registered: 2025-12-06
Posts: 5

Re: Tigervnc startup file?

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

#7 2026-01-16 08:15:40

zener
Member
Registered: 2016-12-10
Posts: 6

Re: Tigervnc startup file?

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

Board footer

Powered by FluxBB