{"id":492,"date":"2017-08-12T07:20:31","date_gmt":"2017-08-12T06:20:31","guid":{"rendered":"http:\/\/www.balajibandi.com\/?p=492"},"modified":"2017-09-11T07:56:44","modified_gmt":"2017-09-11T06:56:44","slug":"rdp-enable-in-kali-linux-2-0-x","status":"publish","type":"post","link":"https:\/\/www.balajibandi.com\/?p=492","title":{"rendered":"RDP Enable in Kali Linux 2.0.X"},"content":{"rendered":"<h1><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\"><strong>RDP Enable in Kali Linux 2.0.X<\/strong><\/span><\/span><\/h1>\n<p>I t was difficult to work to many screen when you doing some Home LAB Testing. moving screen to screen was keeping you diverting.<\/p>\n<p>So i decided to enable RDP service in to Kali Linux, so i can RDP using my windows 10 and do some CEH Lab testings.<\/p>\n<p>I have KALI Linux installed on my Esxi 6.0X Home LAB.<\/p>\n<p>How to install KALI Linux is simple 5 Steps.<\/p>\n<ol>\n<li>Download KALI Linux ISO<\/li>\n<li>Exsi Setup as NEW VM<\/li>\n<li>Use ISO isntall, follow the Install Wizard and easy steps.<\/li>\n<li>Setup IP address of your LAN network.<\/li>\n<li>Connect using SSH and test it.<\/li>\n<\/ol>\n<p>Thats all you have Kali linux install over Esxi for testing.<\/p>\n<p id=\"LgFecsx\"><img loading=\"lazy\" decoding=\"async\" width=\"387\" height=\"521\" class=\"alignnone size-full wp-image-493 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b62c9d345df.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b62c9d345df.png 387w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b62c9d345df-223x300.png 223w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/p>\n<p>Lets Configure Kali linux for the RDP Service.<\/p>\n<p>You can either Login to Kali Linux using Esxi VMWWARE Remote console, or Putty for SSH in to it.<\/p>\n<p>I used prefer to ssh using Putty.<\/p>\n<p id=\"lyXASTr\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"228\" class=\"alignnone size-full wp-image-494 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b630ad57480.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b630ad57480.png 585w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b630ad57480-300x117.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/p>\n<p>Make sure you have updated the all packages upto date, you \u00a0can do with below commands.<\/p>\n<ul>\n<li>root@kali:~#apt-get update &amp;&amp; apt-get upgrade<\/li>\n<li>root@kali:~#apt-get dist-upgrade<\/li>\n<\/ul>\n<p>install the RDP server you run the following command from a terminal window:<\/p>\n<ul>\n<li>root@kali:~#apt-get install xrdp<\/li>\n<\/ul>\n<p>Uninstall the Gnome-desktop and use another window manager (Like we \u00a0use LXDE):<\/p>\n<ul>\n<li>root@kali:~#apt-get remove gnome-core<\/li>\n<li>root@kali:~#apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base\n<div><\/div>\n<div><\/div>\n<\/li>\n<li>\n<div>update-alternatives &#8211;config x-session-manager<\/div>\n<p id=\"tHpLPKm\"><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"208\" class=\"alignnone size-full wp-image-495 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b63271cdafe.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b63271cdafe.png 799w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b63271cdafe-300x78.png 300w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b63271cdafe-768x200.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/p>\n<p>Choose &#8220;\/usr\/bin\/startlxde&#8221; \u00a0 ( above screen option 4).<\/p>\n<div><\/div>\n<p>Now it set to XRDP.<\/li>\n<\/ul>\n<p>Now \u00a0start the XRDP server with the following command:<\/p>\n<ul>\n<li>root@kali:~#service xrdp start<\/li>\n<li>root@kali:~#service xrdp-sesman start<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>If want it to auto start after reboot you need to run this command also:<br \/>\nupdate-rc.d xrdp enable \u00a0 \u00a0 (It will not start xrdp-sesman automatic)<\/li>\n<\/ul>\n<p>Now you should be able to RDP directly into your Kali Linux:<\/p>\n<p id=\"ooviLqg\"><img loading=\"lazy\" decoding=\"async\" width=\"1026\" height=\"689\" class=\"alignnone size-full wp-image-496 \" src=\"http:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b6333e4beb0.png\" alt=\"\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b6333e4beb0.png 1026w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b6333e4beb0-300x201.png 300w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b6333e4beb0-768x516.png 768w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2017\/09\/img_59b6333e4beb0-1024x688.png 1024w\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\" \/><\/p>\n<p>how cool is it.<\/p>\n<p>I will post some Kali testings Later blogs.<\/p>\n<p>Happy Labbinggggggggg!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RDP Enable in Kali Linux 2.0.X I t was difficult to work to many screen when you doing some Home LAB Testing. moving screen to screen was keeping you diverting. So i decided to enable RDP service in to Kali Linux, so i can RDP using my windows 10 and do some CEH Lab testings. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6,27],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-linux","category-security","category-tools"],"_links":{"self":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=492"}],"version-history":[{"count":1,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/492\/revisions\/497"}],"wp:attachment":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}