I am on a linux virtual machine and I'm trying to run the command sudo synaptic &
which should start synaptic in the background. However, it doesn't ask for the password and the program doesn't seem to start. I have not typed my password earlier, as running any other command withouth the & at the end ask for my password. What is the problem?
You can run sudo bash -c 'synaptic &'
sudo --help says about option -b
-b, --background run command in the background
This worked for me
sudo -b su -c "command what you want to run"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With