can't install xrdp on debian 8.5
when i do the command apt-get install xrdp i get this message.. i am new at alway done windows i thank anyone who can give me help.
jim@Server1:~$ apt-get install xrdp E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? |
Quote:
Welcome to the forum :) You need administrative privileges to execute your command. To do this, place the word "sudo" in front of the command.... Code:
sudo apt-get install xrdp Regards... |
xrdp tried that got this
Quote:
bash: sudo: command not found |
Quote:
Do the instructions here help? Or how about... Code:
su apt-get install xrdp EDIT: Whoops, thanks guys. I didn't realize Debian was different in this respect. My apologies to the OP. :) Regards... |
Gain root privileges with
Code:
su - |
Debian doesn't use sudo for administration, that's just Ubuntu and its derivatives.
System administration needs to be done as root. When you installed Debian you set up a root password in addition to your regular user password. Use "su -" to switch to root, enter root's password, and then you can run apt-get and any other admin utilities as necessary. Do not follow the instructions in the link posted by ardvark71 unless you want to compromise the security of your system. Sudo can be a powerful and useful tool, but it is not designed and should not be used to make a regular user the equivalent of root. |
Quote:
Then why is it ok to use for Ubuntu and its derivatives? :confused: Regards... |
Quote:
Canonical did it to make Linux more "Windows-like", they didn't do it for security. If you notice, Canonical has also stripped EVERY reference to the word "Linux" from their website so they can pretend to be something different, all while compromising security and adding spyware right into the DE. |
Quote:
Thank you for the explanation, although I honestly don't see the difference between the two in terms of the system rights given. :) EDIT: Never mind the last part, I think I get the essence of what you're saying, at least in part... ;) Quote:
|
Quote:
|
Quote:
Code:
# Allow members of group sudo to execute any command You can still use sudo as it was intended, by adding rules in /etc/sudoers to allow SPECIFIC users to run SPECIFIC tasks, this just removes the all-encompassing Windows style rule that turns any user in the "sudo" group into another root. |
Thanks suicidaleggroll.
|
xrdp thanks
Quote:
|
Quote:
You're welcome, were you able to get it to install? If so, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks! :) Regards... |
xrdp
Quote:
|
All times are GMT -5. The time now is 09:51 PM. |