~ubuntu-branches/ubuntu/precise/lightdm/precise-proposed

« back to all changes in this revision

Viewing changes to src/seat-xvnc.c

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2012-03-02 15:03:26 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20120302150326-4ac7hlxzjxywf27a
Tags: 1.1.4.is.1.1.3-0ubuntu1
Revert to 1.1.3 until we can figure out proper solution to bug 944736

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    session = xsession_new (XSERVER (xserver));
74
74
    address = G_INET_SOCKET_ADDRESS (g_socket_get_remote_address (SEAT_XVNC (seat)->priv->connection, NULL));
75
75
    hostname = g_inet_address_to_string (g_inet_socket_address_get_address (address));
76
 
    session_set_remote_host_name (SESSION (session), hostname);
 
76
    session_set_console_kit_parameter (SESSION (session), "remote-host-name", g_variant_new_string (hostname));
77
77
    g_free (hostname);
 
78
    session_set_console_kit_parameter (SESSION (session), "is-local", g_variant_new_boolean (FALSE));
78
79
 
79
80
    return SESSION (session);
80
81
}