# chromium-browser needs special confinement due to its sandboxing
#include <abstractions/lightdm_chromium-browser>
+
+ # fcitx and friends needs special treatment due to C/S design
+ #include <abstractions/fcitx>
+
+ # mozc_server needs special treatment due to C/S design
+ #include <abstractions/mozc_server>
}
/etc/xdg/lxsession/Lubuntu/* cx, # LP1273524
x_server = x_server_local_new ();
command = seat_get_string_property (seat, "xmir-command");
- /* Fall back to using X if Xmir is not available as this was the previous way XMir worked */
- if (strcmp (command, "Xmir") == 0 && !g_find_program_in_path ("Xmir"))
- command = seat_get_string_property (seat, "xserver-command");
x_server_local_set_command (x_server, command);
id = g_strdup_printf ("x-%d", SEAT_UNITY (seat)->priv->next_x_server_id);
test-unity-compositor-next-session \
test-unity-compositor-mir-next-session \
test-unity-autologin \
- test-unity-autologin-legacy \
test-unity-login \
test-unity-switch \
test-unity-plymouth \
scripts/switch-to-user-resettable.conf \
scripts/system-xauthority.conf \
scripts/unity-autologin.conf \
- scripts/unity-autologin-legacy.conf \
scripts/unity-compositor-command.conf \
scripts/unity-compositor-crash.conf \
scripts/unity-compositor-fail-ready.conf \
+++ /dev/null
-#
-# Check use legacy X command if Xmir not present
-#
-
-[test-xmir]
-hide=true
-
-[Seat:*]
-type=unity
-autologin-user=have-password1
-user-session=default
-
-#?*START-DAEMON
-#?RUNNER DAEMON-START
-
-# System compositor starts
-#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/mir_socket VT=7 XDG_VTNR=7
-#?*UNITY-SYSTEM-COMPOSITOR READY
-
-# X server starts
-#?XSERVER-0 START SEAT=seat0 MIR-ID=x-0
-
-# Daemon connects when X server is ready
-#?*XSERVER-0 INDICATE-READY
-#?XSERVER-0 INDICATE-READY
-#?XSERVER-0 ACCEPT-CONNECT
-
-# Session starts
-#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/have-password1 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=have-password1
-#?LOGIN1 ACTIVATE-SESSION SESSION=c0
-#?XSERVER-0 ACCEPT-CONNECT
-#?SESSION-X-0 CONNECT-XSERVER
-
-# System compositor switches to session
-#?UNITY-SYSTEM-COMPOSITOR SET-ACTIVE-SESSION ID=x-0
-
-# Cleanup
-#?*STOP-DAEMON
-#?SESSION-X-0 TERMINATE SIGNAL=15
-#?XSERVER-0 TERMINATE SIGNAL=15
-#?UNITY-SYSTEM-COMPOSITOR TERMINATE SIGNAL=15
-#?RUNNER DAEMON-EXIT STATUS=0
static gchar *
redirect_path (const gchar *path)
{
- /* Hide Xmir for legacy tests */
- if (g_str_has_suffix (path, "/Xmir"))
- {
- connect_status ();
- if (g_key_file_get_boolean (config, "test-xmir", "hide", NULL))
- return NULL;
- }
-
// Don't redirect if inside the running directory
if (g_str_has_prefix (path, g_getenv ("LIGHTDM_TEST_ROOT")))
return g_strdup (path);
+++ /dev/null
-#!/bin/sh
-./src/dbus-env ./src/test-runner unity-autologin-legacy test-gobject-greeter