{"id":9493,"date":"2024-09-02T20:29:05","date_gmt":"2024-09-02T18:29:05","guid":{"rendered":"https:\/\/blue.pri.ee\/ttu\/?page_id=9493"},"modified":"2024-11-20T11:48:43","modified_gmt":"2024-11-20T09:48:43","slug":"remote-access-using-rdp","status":"publish","type":"page","link":"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/remote-access-using-rdp\/","title":{"rendered":"Remote access using RDP"},"content":{"rendered":"<p>The official guide is provided by the university:\u00a0 <strong><a href=\"https:\/\/taltech.atlassian.net\/wiki\/x\/0YBWK\">https:\/\/taltech.atlassian.net\/wiki\/x\/0YBWK<\/a><\/strong><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/remote-access-using-rdp\/#VPN_to_the_university_intranet\" >VPN to the university intranet<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/remote-access-using-rdp\/#RDP_connection_to_lab_computers\" >RDP connection to lab computers<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VPN_to_the_university_intranet\"><\/span>VPN to the university intranet<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The first step is to create a VPN connection to the intranet of the university. Access to the university computers is only allowed internally.<\/p>\n<p>FortiClient is the official software used by the university foor access. To download the software, use the links available in the article here:\u00a0<strong><a href=\"https:\/\/taltech.atlassian.net\/wiki\/x\/WwFTAg\">https:\/\/taltech.atlassian.net\/wiki\/x\/WwFTAg<\/a><\/strong>. Client application is also downloadable using <strong><a href=\"https:\/\/vpn.taltech.ee\/\">vpn.taltech.ee<\/a><\/strong>.<\/p>\n<p><a href=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/vpn.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9474\" src=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/vpn.png\" alt=\"\" width=\"877\" height=\"702\" srcset=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/vpn.png 877w, https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/vpn-300x240.png 300w, https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/vpn-768x615.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/a><\/p>\n<p><strong>NB! When VPN connection is in use, all traffic between your computer and the internet goes through the university network. This means it&#8217;s also managed and trackable by the university! Disconnect the university after finishing your work!<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"RDP_connection_to_lab_computers\"><\/span>RDP connection to lab computers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>RDP (Remote Desktop Protocol) is a protocol created by Microsoft, initially to allow remote access for Windows devices. The required client software is built in on all versions of Windows, while the server version is removed from the home version of Windows. For other platforms (Linux, MacOS, Android, ..) there are alternative clients available, discussed later.<\/p>\n<p>You are allowed to create RDP connections to any of the computers in the university computer classes that are turned on. You can connect to both Windows and Linux, however the computer has to be already in the desired operating system. You are not able to switch operating systems remotely!<\/p>\n<p>To connect, you need to know the hostname or IP address of the remote computer. To find the hostname, you have two options.<\/p>\n<ol>\n<li>To access any of the lab computers, you first need to find the host which is in the desired operating system (either Linux or Windows). The map and status of all the lab computers is available through<strong> <a style=\"cursor: pointer !important; user-select: none !important;\" href=\"https:\/\/ati.ttu.ee\/klassi-staatus\">https:\/\/ati.ttu.ee\/klassi-staatus<\/a> <\/strong>monitoring site. I.e., The computer with the hostname <span class=\"lang:c highlight:0 decode:true crayon-inline\">cx1<\/span> that is located in ICT-121 classroom has a hostname of <span class=\"lang:c highlight:0 decode:true crayon-inline\">cx1.pld.ttu.ee<\/span>\u00a0.<\/li>\n<li>To make your life a bit easier, our institute is offering access a server with the hostname of <span class=\"lang:c highlight:0 decode:true crayon-inline\">lx0.pld.ttu.ee<\/span>, which is always in Linux.<\/li>\n<\/ol>\n<p>To connect from a Windows device, You can use the built in software <strong>Remote Desktop Connection<\/strong> or <strong>Windows App<\/strong>. Other operating systems also have RDP client software. I.e. in Linux, you can use <strong>Remmina<\/strong>, in MacOS you can use either <strong>Windows App<\/strong> or <strong>Remote Desktop Manager<\/strong>.<\/p>\n<p>To create the connection, specify the hostname to which you are connecting to and your Uni-ID as the username. You can also save these if desired. In addition, you may want to specify the desired resolution for the connection under\u00a0<strong>Display<\/strong> &#8211; by default, the connection will be created in fullscreen mode.<\/p>\n<p><a href=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9468\" src=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp.png\" alt=\"\" width=\"407\" height=\"492\" srcset=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp.png 407w, https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp-248x300.png 248w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/a><\/p>\n<p>The first time you connect, you will be asked to confirm the certificate of the computer you are connecting to &#8211; this needs to be approved.<\/p>\n<p><a href=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/first_conn_cert.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9476\" src=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/first_conn_cert.png\" alt=\"\" width=\"388\" height=\"467\" srcset=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/first_conn_cert.png 388w, https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/first_conn_cert-249x300.png 249w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/a><\/p>\n<p><strong>Once you are finished with your work, you need to log off from the remote computer. DO NOT attempt to turn off or restart the computer.\u00a0<\/strong>This command will be ignored by the host, however the next time you will try to connect you will not be able to as your session will be broken. To fix a broken session, you need to use SSH for remote terminal.<\/p>\n<p><a href=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp_log_off.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9477\" src=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp_log_off.png\" alt=\"\" width=\"664\" height=\"566\" srcset=\"https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp_log_off.png 664w, https:\/\/blue.pri.ee\/ttu\/wp-content\/uploads\/2024\/08\/rdp_log_off-300x256.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a><\/p>\n<p><strong>Keep in mind<\/strong><\/p>\n<ul>\n<li>Best practice for us is to log into <span class=\"lang:c highlight:0 decode:true crayon-inline\">lx0<\/span>\u00a0. Log off once finished.<\/li>\n<li>For Linux, we have an always-on server. For Windows, your only option are the lab computers.<\/li>\n<li>Only one user is allowed to be logged into Windows at a time. Linux does not have artificial limits like that.<\/li>\n<li>When you are logged into Windows, a student physically present in the computer class will be able to log you out. Linux does not have artificial limits like that.<\/li>\n<li>When you are logged into a remote computer, people physically present in the computer class are able to turn the computer off or restart it, regardless of in which operating system it is currently in. There will be no warning and all unsaved work will be lost.<\/li>\n<li>If you did accidentally shut down or reboot the computer when remotely logged in and your graphical session does not work any more, use SSH to connect to the device and run the following command:\u00a0 <span class=\"lang:c highlight:0 decode:true crayon-inline\">kill -9 -1<\/span> . SSH guide is also provided in this website.<\/li>\n<\/ul>\n<p>RDP: <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Remote_Desktop_Protocol\">https:\/\/en.wikipedia.org\/wiki\/Remote_Desktop_Protocol<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The official guide is provided by the university:\u00a0 https:\/\/taltech.atlassian.net\/wiki\/x\/0YBWK VPN to the university intranet The first step is to create a VPN connection to the intranet of the university. Access to the university computers is only allowed internally. FortiClient is the official software used by the university foor access. To download the software, use the &hellip; <a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/remote-access-using-rdp\/\" class=\"more-link\">Loe edasi <span class=\"screen-reader-text\">Remote access using RDP<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6934,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/code-width-wide.php","meta":{"footnotes":""},"class_list":["post-9493","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/9493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/comments?post=9493"}],"version-history":[{"count":5,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/9493\/revisions"}],"predecessor-version":[{"id":9631,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/9493\/revisions\/9631"}],"up":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/6934"}],"wp:attachment":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/media?parent=9493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}