XServerRemote *x_server;
if (strcmp (session_type, "x") != 0)
- {
- g_warning ("XDMCP seat only supports X display servers, not '%s'", session_type);
return NULL;
- }
authority = xdmcp_session_get_authority (SEAT_XDMCP_SESSION (seat)->priv->session);
host = g_inet_address_to_string (xdmcp_session_get_address (SEAT_XDMCP_SESSION (seat)->priv->session));
const gchar *command = NULL;
if (strcmp (session_type, "x") != 0)
- {
- g_warning ("XVNC seat only supports X display servers, not '%s'", session_type);
return NULL;
- }
x_server = x_server_xvnc_new ();
x_server_xvnc_set_socket (x_server, g_socket_get_fd (SEAT_XVNC (seat)->priv->connection));