LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-24-2004, 05:04 AM   #1
taisuke
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Question 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.
 
Old 08-26-2004, 10:37 PM   #2
taisuke
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I edited /etc/X11/xdm/xdm-config

DisplayManager.willing: su nobody -c /etc/X11/xdm/Xwilling

->DisplayManager.willing: su nobody -s /etc/X11/xdm/Xwilling
(-c -> -s)

So I can display status.

This appears to be a bug with xdm. Details can be found at
https://bugzilla.redhat.com/bugzilla...g.cgi?id=86505
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. defa0009 Linux - General 13 01-20-2012 03:55 PM
GDM locks up when XDMCP clients try to connect lueckmw Linux - Networking 1 03-22-2005 12:43 PM
can't connect to xdmcp server monkeyman2000 Debian 1 09-11-2004 03:57 PM
Connect to XDMCP server from Linux Kocil Linux - Networking 1 08-27-2003 05:06 AM
XDMCP display forwarding not working antaydos Linux - Networking 17 06-05-2003 04:55 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration