as you can see i have a whole bunch of machines in here i have
my kali linux systems on this side i have my windows machine on this side ubuntu servers and
a whole bunch of other computers there's gotta be a better way to manage your computers hey guys i
hope you're doing fantastic this is dan duran and today i'm going to show you the lazy way
of managing your computers so stick around don't go anywhere get your coffee and let's get going
you can use one of these this is a kvm switch a keyboard video and
mouse switch to manage your computers if you want so you attach a whole bunch
of cables in here and monitors and so on the other thing that you can use is
keyboards and mice and all of that on each computer and all i have to do is just turn
around and start working on them but again and i am too lazy to do that so there is a
better way and that's exactly what we're going to go through today i'm going to set up an rdp
so a remote desktop protocol connection made by microsoft back in the days and can be used pretty
much universally so you can use an apple device you can use a linux box you can use a windows
machine and in this case we're going to use akali systems to connect to the rdp okay so i'm writing
my kali linux system in here and i'm just going to log in like that and i'm going to start a terminal
right so let's start the terminal right now and i'm going to go into sudo su there you go and type
in my password right so i'm here now the next step is to install xrdp so i'm going to go and let's
check out if we have um xrdp installed so xrdp and as you can see it's red so it's not installed
at all so i'm going to choose no right and let's uh install rdp so you type in apt install
xrdp there you go like that
perfect once it's installed then what we're going to do is we're going to enable xrdp to on startup
and to do that we have to update so update your rc d dot d like that and i'm gonna type in x rdp
enable like that perfect once we do that now we're going to start the service so you type in service
x rdp start
and let's check out if it's working so service
xrdp status as you can see xrdp is already running so the next step is to create a new user for kali
so let's do that this new user that i'm going to create is going to be an admin user and the reason
why i'm doing this is because uh you cannot log in to an rdp connection using the same
user that you already locked in with so you need to create a new user kali in linux
that's how it works you can actually have two different users logged in at the same time
in linux and windows is a little different you can only have one at a time so if you log in with rdp
into the windows machine that is going to ask you to log out from the user one to log into
user 2 using rtp so let's create a new user on the kali system and for that is very simple you just
type in add user so minus minus home the home is going to be get cyber get cyber it's cyber
and the user is going to be get cyber again like that now it's going to ask me for a password so
i'm going to enter a password see that perfect and name is going to be get cyber like that and
then i'm just going to go through all of these i don't have to put anything in here and at the end
is this information correct yes so i'm going to type in y and there you go now we're going
to do something else we're going to assign the sudo or the admin privileges to this user that
we just created so the way we do it is type in user mod with that in a and then capital g
to assign the group and the group is going to be sudo obviously because sudo is the admin
group for linux in cyber or get cyber which is the user and there you go so now let's try
logging in with that user going to kali system here and i'm going to switch user and get cyber
and let's login and there you go so this is the get cyber user and if i go into sudo zoo
we see that root is working so obviously to make this work with rdp i have to log out of this user
so let's do that
there you go now i'm gonna login with my admin account so kali
and now what i'm going to do is i'm going to do ip a just to see the ip address
that i get a plugin on the rdp connection and that's how you set up the rdp client on
this computer now let's go back to my actual machine and log into this computer i'm using
the microsoft remote desktop app for apple this is exactly the same thing that you do
using your windows machines the only difference is that for apple you have to download it from the
apple store and for windows it's already part of your windows machine so you don't have to download
anything if you want to download it from the apple store just click on your app store and search for
rdp and there it is microsoft remote desktop right so in this case i already have it open
so i'm just going to it this is how it looks like now let's set it up so i'm going to
click on the plus sign and add pc and in here i have to type in the address so it is 10. 211.5
and then a friendly name such as getcyber
demo or rdp demo relate that and then click on add and now if you double click on it
and click on connect type in your username and then the password like that
all right and this is what you see you have to create a color managed device so i'm gonna type in
password and all right so i'm i'm logged in that's how easy it is now if you want to set
up rdp on your windows machine then that's very easy also so let's do that right now
all right on your windows system it is very easy all you have to do
is click on windows then go to settings and then from here go into
remote desktop and make sure that your remote desktop is set to on and then click on required
devices to use network level authentication with that you are going to be able to log in
to your windows systems without any problems and that's the lazy way of managing your computer and
this is not just confined to your office space but if you are an idea specialist working at
an entire company and you need to manage computers you got to have a process where
you use rdp to be able to connect to other people's machines i hope you had a lot of
fun with this video and try it out try the rdp it's super simple to do on kali linux
and it's going to work wonderfully for you and i'll see you next time stay safe stay secure oh
you