尽管通过了-display gtk选项,但qemu不会显示gui

时间:2018-07-22 14:51:13

标签: macos debian qemu

我想在macOS的qemu上运行debian,以了解模拟器。

我已经用自制软件安装了它。 public void Configuration(IAppBuilder app) { app.UseKentorOwinCookieSaver(); JwtSecurityTokenHandler.DefaultInboundClaimTypeMap = new Dictionary<string, string>(); app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = CookieAuthenticationDefaults.AuthenticationType }); app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions { AuthenticationType = "oidc", SignInAsAuthenticationType = "Cookies", Authority = "http://localhost:5000", RequireHttpsMetadata = false, RedirectUri = "http://localhost:53173/signin-oidc", ClientId = "mvc4", ClientSecret = "secret", ResponseType = OpenIdConnectResponseType.CodeIdTokenToken, Scope = "openid profile api1 offline_access", Notifications = new OpenIdConnectAuthenticationNotifications { SecurityTokenValidated = notification => { notification.AuthenticationTicket.Identity.AddClaim(new Claim("id_token", notification.ProtocolMessage.IdToken)); notification.AuthenticationTicket.Identity.AddClaim(new Claim("access_token", notification.ProtocolMessage.AccessToken)); return Task.FromResult(0); }, RedirectToIdentityProvider = notification => { return Task.FromResult(0); } } }); 然后我尝试在qemu上运行debian。 但它不显示gui。

brew install qemu --with-vde --with-sdl2 --with-gtk+3 --with-libssh2

如何使用qemu运行debian?

  • 主机:macOS 10.13.6
  • 客人:Debian 9.5.0 x86_64
  • qemu:2.12.0

1 个答案:

答案 0 :(得分:1)

请勿尝试在OSX上使用GTK UI。唯一受支持的显示选项是默认的可可粉。 (理想情况下,考虑到它不起作用,我们应该使configure不允许您构建GTK UI。)