I’m using Plasma 6.3.6 on Framework 6.13.0 on X11 on Debian Trixie (13.3).
I want to autostart krfb without any window. Not minimized, but no window at all. (I have multiple reasons for this, so please don’t get into the “why?” part of this.)
I used Settings and added krfb to Autostart. So it starts, but with the window open. There is no ability to add command line arguments in Autostart. There is also no useable documentation on krfb. What can be found is in bits and pieces and without clear explanations. For instance, on this page (the forum won’t let me link to it - but it’s the krfbrc page on Github), it shows an example of krfbrc, but there is no explanation of any options and nothing to indicate that any command line options could be included. (Also, there’s no clear documentation on just what command line options krfb has.)
I created a script:
#!/bin/sh
/bin/krfb –-nodialog &
I added that to Autostart and removed kfrb, itself, as an item in Autostart. This does autostart krfb, but STILL opens the window in Plasma. (And, oddly, when I try ps aux|grep krfb, there is no krfb task when I start it with the script.) Also note that while I use --nodialog, the window always opens when I use this.
In Autostart, there is no way to specify command line options. While I could hand-edit the Autostart file, to add a command line option, if I ever use the Settings app to add a new item to Autostart, it would rewrite the file and clobber my hand done edits.
I’ve done this before, in years past, and it was so trivial I didn’t even write any notes on how to do it, but, as of now, it seems impossible to start krfb WITHOUT opening a window on the desktop.
How can I open krfb so I can reach my system with a VNC viewer, and get the KDE desktop, instead of another one, and NOT open the krfb window? There are a number of reasons I don’t want the window to open and, with the lack of documentation, or ability to use options in Autostart, it just seems impossible.
