From a112b47d21f63dcf4fc0f5e098e29debbdb180e7 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Thu, 30 May 2019 16:54:12 +0800 Subject: [PATCH] vnc --- app/services/games_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/games_service.rb b/app/services/games_service.rb index 937e4ecd..990b6bc0 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -86,7 +86,7 @@ class GamesService if res && res['code'].to_i != 0 raise("实训云平台繁忙(繁忙等级:99)") end - url = service_host +":#{res['port']}/vnc_lite.html" + url = service_host +":#{res['port']}/vnc_lite.html?password=headless" Rails.logger.info("66666666sssssss#{url}") container = container.merge(:vnc_url => url) Rails.logger.info("777777666sssssss#{container}")