Lightdm does not set XDMCP status field

Bug #1579179 reported by Wolfgang Baudler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Triaged
Medium
Unassigned

Bug Description

The XDMCP status field is not set.

*Status*: ARRAY8
       Is a human readable string describing the status of the host. This
 could include load average/number of users connected or other information.

The field is usually showing the number of users already logged in and the load average on the system. Example:

3 users, load: 0.00, 0.07, 0.14

The original xdm comes with a shell script called
"Xwilling" which produces this status field string by default.

The script looks like that:

#!/bin/sh
#

# The output of this script is displayed in the chooser window.
# (instead of "Willing to manage")

load="`uptime|sed -e 's/^.*load[^0-9]*//'`"
nrusers="`who|cut -c 1-8|sort -u|wc -l|sed 's/^[ ]*//'`"
s=""; [ "$nrusers" != 1 ] && s=s

echo "${nrusers} user${s}, load: ${load}"

Wolfgang

Tags: xdmcp
Changed in lightdm:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.