Kali Linux – Fix E: Unable to locate package Error and install XRDP

27. January 2019 Kali, Linux 0
Kali Linux – Fix E: Unable to locate package Error and install XRDP

So, having installed a new instance of Kali Linux I decided that i wanted to setup XRDP, TightVNC was not functioning how I wanted so it seemed to be a logical option

When attempting to install XRDP i received the following error

E: Unable to locate Package

This error is because the entries in the source.list are either not present or they are not present. In order to put this right we need to open the source.list file with the following command

$ sudo nano sources.list

We then need to paste the following sources into the file

so it should look something like this

now write the changes (CRTL+O) and exit (CTRL+X)

Now run

$ sudo apt-get update

now we can run the command to install XRDP

$ apt-get install xrdp

XRDP will now go ahead and install via the repositories we aded earlier

Use the command




$ service xrdp start

If you want this service to start aftera reboot then make sure the following command is issued

$ update-rc.d xrdp enable


Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.