Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 11371  / 2 Years ago, fri, january 14, 2022, 3:01:30

Is there a workaround to run a lightdm script? The one in the docs doesn't work. Anything placed there will prevent X from working.



The script I would like to use is my KVM utility synergy. I thought for a while it was synergy that was causing the problems. However, I found that anytime there is a lightdm.conf file with anything on that line X will fail to load.



Example:



greeter-setup-script=/etc/lightdm/test.sh


The text.sh file is simply a shell command to indicate it ran:



test.sh:
#!/bin/bash
date >> /tmp/test.log


Thanks in advance for anyone who has any input, or as I mentioned a workaround so that I could have a resource that will run upon X startup before the user actually logs in.


More From » scripts

 Answers
4

During the past week I saw this problem many times doing my research and effort to fix it. It turns out that any entries placed in a "lightdm.conf" file for Ubuntu 13.10 will break lightdm.



There is an entry in the lightdm.conf.d provided for this. I added my KVM script to:



/etc/lightdm/lightdm.conf.d/50-unity-greeter.conf


This works!


[#27811] Saturday, January 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
uquelighted questions
;