run startup script which requires a xserver session
I have a python3-script which uses the Gtk-module (imported from gi.repository, for recent-manager functionality), requiring a link to the current xserver session (lightdm service in Ubuntu). Running it manually via console (in a xserver session) works, but i want it to autorun. An init.d script won’t work (setting the DISPLAY variable to 0.0). Using xvfb-run … Read more