Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1666 Discussions

Connection closed attempt to reconnect? yes no

asdfasdfasdfasdf42312
923 Views

Hello!

I am using this guide: https://devcloud.intel.com/oneapi/get_started/renderingToolkitSamples/

1.4 Setup Remote Desktop I have a problem when I open TurboVNC and type in vncserver: localhost:1 and click connect then a error pops up with text: Connection closed, Attempt to reconnect? 

My username is: Desktop 'TurboVNC: s001-n146:1 (u212310)' started on display s001-n146:1

0 Kudos
3 Replies
JaideepK_Intel
Moderator
861 Views

Hi,

 

Thank you for posting in Intel communities.

I hope you are doing well.

 

We are facing the same from our end, but I have some work to do. Please follow the below steps (make sure you are not using proxy).

 

1) In the first terminal,

ssh devcloud
qsub -I -l nodes=1:renderkit:ppn=2
/opt/TurboVNC/bin/vncserver -otp

 

After running the above command the output looks like below.

JaideepK_Intel_1-1707725226669.png

Note:

 

started on display s001-n152:<display number>

now you need to use that display number as shown below

port= 5900+<display number>

in my case, it is 5906

 

You will be connected to a compute node(let's assume you have connected to the s001-n152 node) and A one-time OTP will be generated.

 

2) In the second terminal

 

assuming port number as 5906:

ssh -L 5906:localhost:5906 devcloud

after login to the compute node please enter the below command:

ssh -L 5906:localhost:5906 <compute node>

example: ssh -L 5906:localhost:5906 s001-n152

 

Attaching screenshots for your reference.

JaideepK_Intel_2-1707725532733.png

 

After you are connected to the compute node is the second terminal too, Open turbo VNC viewer and enter

JaideepK_Intel_4-1707725740522.png

JaideepK_Intel_5-1707725764658.png

 

localhost:5906 (<here keep your portnumber>) and click on connect and enter one-time password

JaideepK_Intel_3-1707725649303.png

 

Note:

If you get an authentication failed error.

Please run the below command inside 1st terminal

/opt/TurboVNC/bin/vncpasswd -o -display :<display_number>

example: /opt/TurboVNC/bin/vncpasswd -o -display :6

After running the above command inside 1st terminal you are going to get a new one-time password

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

Regards,

Jaideep

 

 

 

 

 

 

 

 

0 Kudos
Abishek7
Beginner
699 Views

Hello sir I tried the same things as mentioned by you  above but still I am getting the same errors. I have attached the images regarding the issues about please look into them and a reply will be highly appreciated.

Thank you.

0 Kudos
JesusE_Intel
Moderator
255 Views
0 Kudos
Reply