Running at startup on ubuntu
Running at startup on ubuntu
Hi, I'm trying to get this running on boot with linux, but no luck. Could you post a suitable init.d script with start/stop/restart please
Re: Running at startup on ubuntu
Inside the Readme of DroidMote Server for Linux you can find the exact procedure to start it on boot.
DroidMote Server for Linux must start after X11. Remember this, is very important to have all working.
DroidMote Server for Linux must start after X11. Remember this, is very important to have all working.
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
Donate with Paypal or Donate with Crypto
Re: Running at startup on ubuntu
How do I ensure that it starts after X11? I've tried doing what's in the readme, but no luck. All I get is 'Server is not reachable'
Re: Running at startup on ubuntu
I tested again what is written in the readme and it work.
Look in the process if the server is started, if you have the port listening.
But for first, try to ping your phone from your linux pc. If the ping not work you have connections problem indipendent from droidmote.
Look in the process if the server is started, if you have the port listening.
But for first, try to ping your phone from your linux pc. If the ping not work you have connections problem indipendent from droidmote.
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
Donate with Paypal or Donate with Crypto
Re: Running at startup on ubuntu
this is the exact procedure wriyyen in the readme:
How to start the server:
Disable the firewall on port 2302
chmod 777 ./droidmote
sudo su
./droidmote 2302 password
How to start the server at boot time automatically: (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
How to start the server:
Disable the firewall on port 2302
chmod 777 ./droidmote
sudo su
./droidmote 2302 password
How to start the server at boot time automatically: (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
Donate with Paypal or Donate with Crypto
Re: Running at startup on ubuntu
At first this setup didnt work for me.
though after i moved the startdm command further up the list in the wm config file it worked a treat.
though after i moved the startdm command further up the list in the wm config file it worked a treat.
Re: Running at startup on ubuntu
output of sudo nano /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
droidmote 2302 password &
exit 0
that solevs start up issue
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
droidmote 2302 password &
exit 0
that solevs start up issue