Server Status can not display by XDMCP connect
Hello,
I have a question.
When I use Exceed or Exceed onDemand by XDMCP-Broadcast,
"XDMCP Display Manager Chooser" displayed.
In my environment, there is RedHatLinux in the list.
=====================================================
Host Name | Host Address | Status
Red73 172.16.50.73 Linux 2.4.18-3
ultra1 172.16.2.86 2 users load: 0.0, 0.0, 0.1
=====================================================
ultra1 is solaris2.8.
In RedHatLinux, I would like to display status in the
same way as Solaris.
I already run xdm on Linux.
I can connect RedHat7.3 by XDMCP.
I make Xwilling file.
************************************************************
[root@Red73 xdm]# cat /etc/X11/xdm/Xwilling
#!/bin/sh
#
# $XFree86$
# 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}"
[root@Red73 xdm]#
************************************************************
I edited /etc/inittab.
*****************************************
# Run xdm in runlevel 5
# xdm is now a separate service
#x:5:respawn:/etc/X11/prefdm -nodaemon <- comment out
x:5:respawn:/usr/bin/X11/xdm -nodaemon <- add line
*****************************************
Then, status changed as follows.
=====================================================
Host Name | Host Address | Status
Red73 172.16.50.73 this account is currently not available
ultra1 172.16.2.86 2 users load: 0.0, 0.0, 0.1
=====================================================
I want to display Status.
Do someone know the method?
Please help me.
|