How do I run at startup on Linux Mint/Xfce?

Discussion about DroidMote Server for Linux
mrdm
Posts: 2
Joined: Wed Apr 13, 2016 6:09 pm

How do I run at startup on Linux Mint/Xfce?

Post by mrdm »

How do I get the server running at startup on Linux Mint/Xfce?

I tried using the Session Startup and that didn't work (http://www.linux.com/learn/tutorials/89 ... d-on-linux)

And I tried the suggestions in the ubuntu startup thread in this forum:
edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh
restart your machine
and
sudo emacs /etc/rc.local
still no auto startup --- everything else works.
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: How do I run at startup on Linux Mint/Xfce?

Post by zulu99 »

mrdm wrote:How do I get the server running at startup on Linux Mint/Xfce?

I tried using the Session Startup and that didn't work (http://www.linux.com/learn/tutorials/89 ... d-on-linux)

And I tried the suggestions in the ubuntu startup thread in this forum:
edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh
restart your machine
and
sudo emacs /etc/rc.local
still no auto startup --- everything else works.

How to start the server at boot time: (you can use also an alternative configuration, but you must start droidmote after X11)

get root permission with sudo su
copy droidmote to /usr/bin
chmod 777 /usr/bin/droidmote
create a shell script startdm.sh in /usr/bin

-----------------------------
the content of startdm.sh is:
#!/bin/sh
droidmote 2302 password &
-----------------------------

chmod +x /usr/bin/startdm.sh
edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh
restart your machine
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
rarara
Posts: 1
Joined: Fri Jun 17, 2016 5:55 am

Re: How do I run at startup on Linux Mint/Xfce?

Post by rarara »

edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh
restart your machine
using Linux Mint 17.3

there is no folder lightdm so i cannot edit lightdm.conf

what can i do to start droidmote at linux Start?

please help
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: How do I run at startup on Linux Mint/Xfce?

Post by zulu99 »

rarara wrote:
edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh
restart your machine
using Linux Mint 17.3

there is no folder lightdm so i cannot edit lightdm.conf

what can i do to start droidmote at linux Start?

please help
http://www.webupd8.org/2012/06/how-to-u ... dm-in.html
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto