LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to load vncviewer at startup (https://www.linuxquestions.org/questions/slackware-14/how-to-load-vncviewer-at-startup-4175526692/)

lgiancri 11-27-2014 02:05 PM

how to load vncviewer at startup
 
Hi I'm trying to load "vncviewer -listen" at startup but putting it in rc.local or .xinitrc didn't work. How do I automatically run a program after the window manager has been completely loaded?
thanks, lgiancri

frankbell 11-27-2014 08:10 PM

Desktop Environments commonly have a startup option. It can usually be found in the control center called "Session," but it may be called something else.

Most window managers have a way to start programs on start-up. In Fluxbox, you add the program to your ~.fluxbox/startup file.

Which DE/WM are you using?

willysr 11-28-2014 02:49 AM

rc.local will be executed by root, something you probably do not want

lgiancri 11-28-2014 06:45 AM

Quote:

Originally Posted by frankbell (Post 5276141)
Desktop Environments commonly have a startup option. It can usually be found in the control center called "Session," but it may be called something else.

Most window managers have a way to start programs on start-up. In Fluxbox, you add the program to your ~.fluxbox/startup file.

Which DE/WM are you using?

Thanks for answering
I'm using Kde in slackware 14.1

willysr 11-28-2014 11:20 AM

try ~/.kde/Autostart/

lgiancri 11-28-2014 12:08 PM

solution
 
Ok I got it!
In every users home there is a .kde/Autostart directory. I put a simple bash file in there and vncviewer loaded neatly after kde.
Thanks everybody for helping.
lgiancri


All times are GMT -5. The time now is 05:44 PM.