如何在Google cloud shell中打开firefox?
我已经使用ssh连接到google cloud shell并安装了firefox,但无论我在哪里尝试运行如何在Google cloud shell中打开firefox?,firefox,gcloud,google-cloud-shell,x11-forwarding,Firefox,Gcloud,Google Cloud Shell,X11 Forwarding,我已经使用ssh连接到google cloud shell并安装了firefox,但无论我在哪里尝试运行firefox,都会出现此错误error:未指定显示环境变量。 我已经在我的windows 10计算机上安装了Xming,将DISPLAY设置为localhost:0.0,但每当我运行它时都会出现此错误 Unable to init server: Broadway display type not supported: localhost:0.0 Error: cannot open dis
firefox
,都会出现此错误error:未指定显示环境变量
。
我已经在我的windows 10计算机上安装了Xming,将DISPLAY
设置为localhost:0.0
,但每当我运行它时都会出现此错误
Unable to init server: Broadway display type not supported: localhost:0.0
Error: cannot open display: localhost:0.0
做什么请帮忙 您是否需要在Cloud Shell上运行Firefox?这是可能的,但很复杂,您需要将主机公开到公共Internet,以便云Shell VM可以访问它。如果您的需求允许您在本地(从Windows主机)运行Firefox,那么您可以使用ssh远程访问云Shell服务,以将端口转发到云Shell VM。这应该解决浏览云Shell托管服务的许多用例。是的,我实际上需要一个适当的X11转发配置。