0

I've been using vino (remote desktop access application) in 12.04 without any problem. I put an exec line in file /etc/kde4/kdm/Xsetup in order to start vino server when the kdm starts (like /usr/lib/vino/vino-server &).

Now I've installed 16.04 and saw that kdm is replaced by sddm. There is no such an Xsetup file for sddm. How can I start vino when sddm starts?

4
  • Generally, the start up applications go with the desktop environment, not with the desktop manager. What is your desktop environment?
    – anonymous2
    Jun 21, 2016 at 13:49
  • I'm using KDE... Jun 21, 2016 at 13:50
  • My aim is to start vino server when the login sceen appears, not after a user starts a session. I hope it is possible. Jun 21, 2016 at 13:52
  • Ah, I see. I'll look around a bit.
    – anonymous2
    Jun 21, 2016 at 13:54

1 Answer 1

1

create a sddm.config if it does not exist:

sddm --example-config > /etc/sddm.conf

In the XDisplay Section you will see the Xsetup script which is executed as user root:

[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

Replace DisplayCommand with your own script and add /usr/share/sddm/scripts/Xsetup there.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .