#?*ADD-SEAT ID=seat1
# seat1 starts
--#?XSERVER-1 START SEAT=seat1 SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seat1
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
#?*ADD-SEAT ID=seat1
# seat1 starts
--#?XSERVER-1 START SEAT=seat1 SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seat1
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
#?*UPDATE-SEAT ID=seat1 CAN-GRAPHICAL=TRUE
# seat1 starts
--#?XSERVER-1 START SEAT=seat1 SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seat1
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
#?*ADD-SEAT ID=seatAAAFoo
# seatAAAFoo starts
--#?XSERVER-1 START SEAT=seatAAAFoo SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seatAAAFoo
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
#?*ADD-SEAT ID=seatBBBFoo
# seatBBBFoo starts
--#?XSERVER-2 START SEAT=seatBBBFoo SHAREVTS=TRUE
++#?XSERVER-2 START SEAT=seatBBBFoo
#?*XSERVER-2 INDICATE-READY
#?XSERVER-2 INDICATE-READY
#?XSERVER-2 ACCEPT-CONNECT
#?*ADD-SEAT ID=seat1 CAN-GRAPHICAL=FALSE
# seat1 starts
--#?XSERVER-1 START SEAT=seat1 SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seat1
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
#?*ADD-SEAT ID=seat1
# seat1 starts
--#?XSERVER-1 START SEAT=seat1 SHAREVTS=TRUE
++#?XSERVER-1 START SEAT=seat1
#?*XSERVER-1 INDICATE-READY
#?XSERVER-1 INDICATE-READY
#?XSERVER-1 ACCEPT-CONNECT
gchar *seat = NULL;
gchar *mir_id = NULL;
gchar *lock_filename;
-- gboolean sharevts = FALSE;
int lock_file;
GString *status_text;
seat = argv[i+1];
i++;
}
-- else if (strcmp (arg, "-sharevts") == 0)
-- {
-- sharevts = TRUE;
-- }
else if (strcmp (arg, "-mir") == 0)
{
mir_id = argv[i+1];
"-broadcast Broadcast for XDMCP\n"
"-port port-num UDP port number to send messages to\n"
"-seat string seat to run on\n"
-- "-sharevts share VTs with another X server\n"
"-mir id Mir ID to use\n"
"-mirSocket name Mir socket to use\n"
"vtxx Use virtual terminal xx instead of the next available\n",
g_string_append_printf (status_text, " VT=%d", vt_number);
if (seat != NULL)
g_string_append_printf (status_text, " SEAT=%s", seat);
-- if (sharevts)
-- g_string_append (status_text, " SHAREVTS=TRUE");
if (mir_id != NULL)
g_string_append_printf (status_text, " MIR-ID=%s", mir_id);
status_notify ("%s", status_text->str);
gchar *seat = NULL;
gchar *mir_id = NULL;
gchar *lock_filename;
-- gboolean sharevts = FALSE;
int lock_file;
GString *status_text;
seat = argv[i+1];
i++;
}
-- else if (strcmp (arg, "-sharevts") == 0)
-- {
-- sharevts = TRUE;
-- }
else if (strcmp (arg, "-mir") == 0)
{
mir_id = argv[i+1];
"-background [none] Create root window with no background\n"
"-nr (Ubuntu-specific) Synonym for -background none\n"
"-seat string seat to run on\n"
-- "-sharevts share VTs with another X server\n"
"-mir id Mir ID to use\n"
"-mirSocket name Mir socket to use\n"
"vtxx Use virtual terminal xx instead of the next available\n",
g_string_append_printf (status_text, " VT=%d", vt_number);
if (seat != NULL)
g_string_append_printf (status_text, " SEAT=%s", seat);
-- if (sharevts)
-- g_string_append (status_text, " SHAREVTS=TRUE");
if (mir_id != NULL)
g_string_append_printf (status_text, " MIR-ID=%s", mir_id);
status_notify ("%s", status_text->str);