Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.windows.x Subject: Re: Help: XDM problems Message-ID: Date: 7 May 91 13:33:50 GMT References: <9105061526.AA06791@cca.pue.udlap.mx> Sender: news@bu.edu.bu.edu Organization: What do you mean 'That *can't* be done????' Lines: 118 In-reply-to: alfredo@cca.pue.udlap.mx's message of 6 May 91 15:26:26 GMT [...Mail bounced from this machine. Here's the mailer reply messages:...] ----- Transcript of session follows ----- Connected to cca.pue.udlap.mx: >>> HELO cca.pue.udlap.mx <<< 553 cca.pue.udlap.mx host name configuration error 554 ... Service unavailable [...And the message....] ----- Unsent message follows ----- Return-Path: Received: from BU.EDU by cca.pue.udlap.mx (4.1/SMI-4.0) id AA13478; Mon, 6 May 91 23:33:30 CST Received: from RAVEN.BU.EDU by BU.EDU (1.99) Tue, 7 May 91 01:44:48 EDT Received: from condor.bu.edu by raven.bu.edu (12/20/89); Tue, 7 May 91 01:41:29 EDT Received: by condor.bu.edu (4.1/SMI-4.0.3) id AA05371; Tue, 7 May 91 01:46:48 EDT Date: Tue, 7 May 91 01:46:48 EDT From: jc@raven.bu.edu Message-Id: <9105070546.AA05371@condor.bu.edu> To: alfredo@cca.pue.udlap.mx (Alfredo de Regil) In-Reply-To: alfredo@cca.pue.udlap.mx's message of 6 May 91 15:26:26 GMT Subject: Help: XDM problems >>>>> On 6 May 91 15:26:26 GMT, alfredo@cca.pue.udlap.mx (Alfredo de Regil) said: Regil> Hi Xperts: Regil> I just have finished to build the X11R4 on SPARCs running SunOS 4.1.1. Regil> I have some problems with the xdm program: Regil> 1) When I try to run xdm like a simple user I get the following message: Regil> Only root wants to run xdm Regil> Regil> When I type "run xdm" I only call the xdm program itself. Is this way Regil> of running xdm right? How can root let to the normal users run xdm? Regil> ( In the beginnig I did not have any .xsession file in my ~/ -I only Regil> put the Xsession file in /usr/lib/X11/xdm as root. Now I have the Regil> .xsession file that Phil Howard propose to you but the results are Regil> the same. ) Regil> Yes, XDM is suppose to be run only from root. Thus, if there are public SUNS available which are not running XDM, some user cannot come along and mess things up by executing XDM. Regil> 2) As root I try to run xdm but I get the following errors in the Regil> /usr/lib/X11/xdm/xdm-errors file. This file is: Regil> Regil> Fatal server bug! Regil> no screens found This is caused by the server you are trying to from the Xservers file. Here is a simple example of what it should look like: unix:0.0 local /usr/local/X11/bin/Xsun :0 Regil> This action generates another file, xdm-pid: Regil> 2066 Regil> 2066 Regil> ... Regil> 2066 Regil> Regil> After that, the process is done. Regil> The reason you have the pid's like this, is that XDM is trying to restart itself over and over again, because it cannot start the window server. So, with the correct Xservers file, this should be fixed. Regil> These are my mainly problems. I know that thats look poor in information. Regil> I really need your help, so if I have missing some relevant info, please Regil> let me know it. Regil> I have read the xdm man file and I follow some steps it directs. I create Regil> for example the /usr/lib/X11/xdm directory and all the related files that Regil> own to this path. (* laugh *) Nope, this is *not* poor information as I had the same problems and was able to fix them with the above info. Regil> Which are all my BIG errors? What have I missing? (Please note that I am Regil> not a system administrator but I can work as root anytime) Well, your problem is most likely the Xservers file. Now, if from what I have told you doesn't help, you are welcome to either send me the files and I can take a look at them for you. Regil> Thanks (at least for have read this!) for you attention. Regil> PD: Excuse my english please (my native languaje is spanish!) Ah, I took 5 years of Spanish and still have problems with it! You speak damn good english! jc