[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1733.0. "trouble connecting X server" by EMASS::FLETCHER (Robin G. Fletcher, SWS -> WAO) Tue Nov 14 1989 08:28

    Question:  Why is my application bombing out when it trying to 
    		connect to the X server?
    
    Configuration:
    
    DS3100	16Mb of memory		1 rz23 with 64Mb of swap space
    					1 rz55 with 32Mb of swap space
    
    Application runs successfully when run as superuser.
    
    Application BOMBS when run when run as "normal" user.
      Furthermore, application is runs fine through it's
      initialization phases:  data file query, reading of
      data file and initialization of large data structures.
      It is not until it attempts to create a DECWindow that
      the error occurs.
    
    Error:  Couldn't connect to X server.
T.RTitleUserPersonal
Name
DateLines
1733.1VIA::FINNEGANAll of the best intentions are less than one good act.Tue Nov 14 1989 09:4911
The obvious question is can you run any other application as normal user?

I have had problems with my DS3100 where I had to define the DISPLAY environment
variable just to run locally:

> setenv DISPLAY :0.0

Also, check the protection on the files and your security, I have yrdarm and
yrdarm:: authorized.

Neal
1733.2HACKIN::MACKINAre crazed ice weasels PC?Tue Nov 14 1989 22:018
    Security bit me when trying to have a VMS system be the server for an
    ULTRIX DECwindows client.  I got it to work by *not* specifying the
    username in text in the security dialogue box, but instead either
    specifying the ULTRIX number for my username or, alternatively and less
    secure, simply specifying an "*" in the username field.  Apparently
    when an ULTRIX system is making a DECnet connection it doesn't pass the
    username of the process making the connection, but instead passes the
    authorization number for that user.
1733.3Ultrix user namesOXNARD::HAYNESIce weasels are PC only in the privacy of your own homeWed Nov 15 1989 23:508
    Ultrix sends the real user name if the program is "setuid" (like dcp).
    Otherwise it sends the "uid" from the password file. (Don't ask... or
    better yet, ask in the ULTRIX DECNET notes file.) If you want to be
    safe AND secure, you should probably specify BOTH, and not "*", which
    would allow anyone from that host to connect. Note that host based
    authentication is the default on our Ultrix machines (for now.)

	-- Charles