--- title: 'Logging In With NiceDCV (on a trial basis)' media_order: 'dcv_login_101.png,dcv_login_102.png,dcv_login_104.png,dcv_connect_104.png,dcv_connect_101.png,dcv_connect_103.png,dcv_login_103.png,dcv_connect_102.png,dcv_connect_1012.png,dcv_logout_101.png,dcv_connect_error2.png,eodlogin101.png,dcv_login101.png,dcv_login102en.png,dcv_login103en.png,dcv_login104en.png' published: true taxonomy: category: - docs external_links: process: true no_follow: true target: _blank mode: active --- [toc] ## What is Nice DCV? {#nicedcv} Nice DCV is remote desktop software which can draw 2D/3D graphics such as visualization applications at high speed using the GPU on the server side. Since communication traffic is suppressed by data compression technology, GUI-based applications can be used comfortably even in remote areas. You can use it from dedicated client software (Windows, Mac, Linux). ## Nice DCV available system{#server} Currently, Nice DCV is available on the GPU server [gp-0001](/run/visualization#gpu1gp-0001). You can connect to Nice DCV from the login node of **SystemA/B/C**. ## Prerequisites{#prerequisite} ### Common to all OS{#kyoutu} * Please download and install the client software from the following site. <br>[https://download.nice-dcv.com/](https://download.nice-dcv.com/) * Generate a key pair by following the procedure in [Generating key pair and registering public key](/login/pubkey), and register a public key via [User Portal](http://www.iimc.kyoto-u.ac.jp/ja/services/comp/support/portal.html). Advance preparatio ### Windows{#pre_win} * Installation of PuTTY has been completed by following [Installing PuTTY](/install/putty). * The settings for connecting to the system A/B/C with PuTTY has been completed by following [Logging in on Windows](/login/windows). ### Mac, Linux{#pre_mac_linux} * You can log in to the system A/B/C by following [Logging In On Mac and Linux](/login/mac_linux). ## Registration of Nice DCV Session{#session} For Windows users, please see [Windows](#session_windows), and for Mac and Linux users, please see [Mac, Linux](#session_mac_linux). ### Windows{#session_windows} #### Advance Preparation(First time only) 1. Start Putty and display the first screen "Putty Settings". 2. Load the session settings of either system A/B/C saved in [Logging In On Windows](/login/windows) (the following uses the session settings of system B as an example). ![](dcv_login101en.png?lightbox=100%&resize=450) 3. Click "SSH"-> "Tunnel" from the category on the left. ![](dcv_login102en.png?lightbox=100%&resize=450) 4. Enter the following contents in "Source Port" and "Destination", and click "Add". Confirm that the setting has been added to the "Forward port list". * Source Port: gp-0001:8443 * Destination: 8443 ![](dcv_login103en.png?lightbox=100%&resize=450) 5. Click "Session" from the category on the left and click "Save" on the right to save the settings. ![](dcv_login104en.png?lightbox=100%&resize=450) #### Connection to Supercomputer and Registration of Session 1. With PuTTY, log in to either system A/B/C using the settings in which the tunnel was registered as an advance preparation. 2. You can register the session by executing the following command. ```nohighlight $ dcv-session --create ``` If the session has already been registered, the message **"Could not create session. A session with the same ID already exists."** is displayed and a new session cannot be registered. If the GPU server exceeds the upper limit of the acceptance, the message **"GPU server is busy"** is displayed and the session cannot be registered. 3.**Keep PuTTY running**, go to [Connect to Nice DCV](#setuzoku). ### Mac, Linux{#session_mac_linux} 1. Log in to either system A/B/C with the ssh command. At that time, port forwarding to **gp-0001: 8443** is performed. ```nohighlight Example: Log in to the system B as a user "b59999". $ ssh b59999@laurel.kudpc.kyoto-u.ac.jp -L 8443:gp-0001:8443 ``` 2. You can register the session by executing the following command. ```nohighlight $ dcv-session --create ``` If the session has already been registered, the message **"Could not create session. A session with the same ID already exists."** is displayed and a new session cannot be registered. If the GPU server exceeds the upper limit of the acceptance, **"GPU server is busy"** is displayed and the session cannot be registered. 3. **Keep connecting to the supercomputer with SSH**, go to [Connect to Nice DCV](#setuzoku). ## Connect to Nice DCV{#setuzoku} 1. After starting the Nice DCV client software, enter **localhost:8443 #user number** in the input field and click "Connect". ![](dcv_connect_101.png?lightbox=100%&resize=450) 2. When you connect for the first time, the following warning about SSL will be displayed. Proceed with "Proceed" or "Trust". ![](dcv_connect_1012.png?lightbox=100%&resize=450) ![](dcv_connect_error2.png?lightbox=100%&resize=450) 3. Enter the user number in "UserName" and the password of the user portal in "Password", and click "Login". A warning about SSL saying "Not secure connection" may be displayed, but you can ignore it and proceed. ![](dcv_connect_103.png?lightbox=100%&resize=450) 3. If the connection is successful, GNOME Desktop will be displayed. The password for GNOME Desktop screen lock is the password for the user portal (not the passphrase for the private key). ![](dcv_connect_104.png?lightbox=100%&resize=450) ## Notes{#notes} ### The number of Simultaneous Sessions{#max_connection} The number of sessions which can be registered by one user at the same time is only one. There is no restriction on simultaneous connections to the same session. ### Logout from GNOME Desktop{#logout} To log out of the GNOME Desktop, click the "power button" on the upper right of the screen, select your "user name" from the menu which appears, and then click "Log Out". If you no longer need the session, please log out as soon as possible. Please note that you cannot log out from the power option. ![](dcv_logout_101.png?lightbox=100%&resize=450) ### Limit of the Resource{#shigen} * Node sharing... The GPU server "gp-0001" which can use Nice DCV is in a form which all users share the node and use it. * The number of CPU cores available... The number of CPU cores which can be used by one user at the same time is 4 cores and cannot be changed. * The amount of Memory available... The amount of memory which can be used by one user at the same time is 64GB and cannot be changed. * Elapsed time limit of the session... If the elapsed time after registering the session exceeds 24 hours, the session will be forcibly terminated. Please note that the session will be reset and will not be resumed. If you delete and re-register a session as described in the [dcv-session command](#kudcv), you can use it for another 24 hours again. ### Reservation{#yoyaku} Currently, Nice DCV does not support the reservation function. ### DCV-Session Command{#kudcv} DCV-Session Command supports not only session registration, but also confirmation of the session details and the deletion. * Registration of the session ```nohighlight $ dcv-session --create Succecfully created your session: b59999 ``` * Confirmation of the session details ```nohighlight $ dcv-session --describe id : b59999 owner : b59999 num-of-connections : 1 creation-time : 2020-10-26T06:03:03Z last-disconnection-time : 2020-10-26T09:05:23Z ``` * Deletion of the session ```nohighlight $ dcv-session --close Succecfully closed your session: b59999 ```