home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15746 < prev    next >
Encoding:
Text File  |  1992-08-27  |  5.8 KB  |  120 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!engage.pko.dec.com!irenaeus.mlo.dec.com!eje
  3. From: eje@irenaeus.mlo.dec.com (Eric James Ewanco)
  4. Subject: HELP! X11R5 gives "couldn't open device"; ultrix DS3100
  5. Message-ID: <1992Aug27.215736.9112@engage.pko.dec.com>
  6. Keywords: ultrix ds3100 X11R5
  7. Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
  8. Reply-To: ewanco@kalvin.enet.dec.com
  9. Organization: Digital Equipment Corporation
  10. Date: Thu, 27 Aug 1992 21:57:36 GMT
  11. Lines: 107
  12.  
  13.  
  14. Hi, I need help! I have just installed binaries for X11R5 that I snarfed
  15. from Carnegie Mellon (part of a distribution of ATK which I wish to install
  16. as well).  I am trying to install them on my DS 3100 running Ultrix 4.2
  17. (currently running DEC UWS R4 w/Motif).  I know, shame on me, installing a
  18. renegade system not supported by DEC, and this from someone who works there.
  19. But I need R5 for ATK and I don't want to wait for us to release a stable
  20. version.
  21.  
  22. I am not yet that familiar with installing my own X system; thus far I've
  23. only used systems that have already been configured, and I do not know
  24. everything about configuring X as manager of my own system.
  25.  
  26. The problem is I don't think the DEC UWS is standard X.  Anyway, I am trying
  27. to bring up the server and ran into this problem.  First, I wanted to get
  28. rid of the stupid Xprompter program -- I want to log into text mode on the
  29. console, then start X.  I modified my ttys file to turn on the console and
  30. :0 off.  Ok, I log in on console text mode and try to use startx or xinit
  31. with the following options for the X server:
  32.  
  33. X :0 bc -co /usr/lib/X11/rgb -fp /usr/lib/X11/fonts/75dpi/,/usr/lib/X11/\
  34. fonts/Speedo/,/usr/lib/X11/fonts/decwin/75dpi/,/usr/lib/X11/fonts/misc/, \
  35. /usr/lib/X11/fonts/100dpi -logo -p 1 -s 10 
  36.  
  37. (the \ are for your benefit, the real thing is one line.) This is in a
  38. xserverrc file.  The first time I tried this under my own account
  39. (non-root), it started to come up and then gave me this error:
  40.  
  41. couldn't open device
  42. giving up.
  43. xinit:  Connection refused (errno 61):  unable to connect to X server
  44. xinit:  No such process (errno 3):  Server error.
  45.  
  46. When I tried as root, it worked.
  47.  
  48. I checked the file /dev/X0 which I had noticed earlier.  I assumed this was
  49. said device. It is a link to ../tmp/X0.  Unfortunately that file does not
  50. exist.  /tmp/.X11-unix/X0 does, so I changed the link to there.  X0 has rwx
  51. access for all.  (It also reports a zero length and I think a setuid bit,
  52. srwxrwxrwx.  .X11-unix has 777 mode.) The /dev/X0 link however only has a
  53. mode of 755; I assumed this is why I got the error.  When I tried to change
  54. the mode to 777 (as root), it gave me no error but did not change it.
  55. Changing the /dev/X0 link to ../tmp/.X11-unix/X0 did not help at all. Root
  56. worked fine with xinit and startx.
  57.  
  58. The strange thing is that the /dev/X0 is exactly the way it is set up on
  59. another system I changed running basically what I had before. I do not know
  60. why it is a link to a file that does not exist.
  61.  
  62. OK so you say I'm an idiot for getting rid of Xprompter in the first place,
  63. no one has any business trying to start X in the way I did.  OK, so I tried
  64. running R5 from Xprompter; the following are the interesting lines from my
  65. ttys file:
  66.  
  67. console    "/etc/getty std.9600" vt100     off secure    # console terminal
  68.  
  69. :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession -e" none on \
  70. secure window="/usr/bin/X :0 bc -co /usr/lib/X11/rgb -fp /usr/lib/X11/fonts\
  71. /75dpi/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/decwin/75dpi/,/usr/lib/\
  72. X11/fonts/misc/,/usr/lib/X11/fonts/100dpi -logo -p 1 -s 10"
  73.  
  74. #:0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession -e" none on \
  75. secure window="/usr/bin/Xws bc"
  76.  
  77. (again \ are for your benefit).  (the last line is what existed before the
  78. R5 installation.) This does not give any error messages, but when I log in,
  79. it pauses for eternity, then comes back with the login prompt.  It works
  80. with root, so I assume it is getting the same error.
  81.  
  82. Now I changed some unrelated things, maybe messed around some more with
  83. /dev/X0 (not /tmp/.X11-unix/X0), rebooted, and now nothing works at all, I
  84. cannot even log in as root (via the Xprompter).  It waits for a while and
  85. returns to the login prompt. Logging in using the old server works fine
  86. (commenting out the last line and commenting the line before of /etc/ttys)
  87. for both users.  (I can still easily log in over a terminal.)
  88.  
  89. What is this strange X0 device?  Why doesn't it exist on the Carnegie Mellon
  90. machines running the software I downloaded on the machine I have?  Deleting
  91. it solves nothing.  Should it be linked to /tmp/.X11-unix/X0, or to the
  92. non-existent /tmp/X0? Why can't I chmod 777 on it?
  93.  
  94. X11R4, or UWS, seems to work fine (even with the new R5 utilities installed).
  95.  
  96. Next question: this distribution defaults the fonts and some other stuff to
  97. directories in /cdrom/pmax_ul4 etc. etc. which looks like it was made for
  98. the distribution I downloaded.  Are these paths in a configuration file or
  99. hardocded in?  Does X use any standard configuration files?  The man pages
  100. have not been a lot of help here. 
  101.  
  102. CMU wizards: what would happen if I downloaded the startx executable and
  103. tried it?
  104.  
  105. I think I have some other questions but first things first.  If it is
  106. convenient, please send replies to me directly as well as to the newgroup,
  107. with all the traffic it may be easy for me to miss and this is sorta an
  108. urgent problem.  Thanks for the help.
  109.  
  110. Eric Ewanco
  111. ewanco@kalvin.enet.dec.com
  112.  
  113. --
  114. /=============================================================================\
  115. | Eric Ewanco - Software Engineer     For the rash and outrageous opinions ex-|
  116. | Digital Equipment Corp, Maynard MA  pressed herein I alone am responsible;  |
  117. | ewanco@kalvin.enet.dec.com          they do not belong to DIGITAL(TM).      |
  118. \==============================- 2 Th 2:15 -==================================/
  119.  
  120.