[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a MANPATH problem

Dave Mallery wrote:
  >when Xman comes up, it does not see my MANPATH variable (so it seems)
  >and can only display the pages located in /usr/man.

Set and export MANPATH in .xsession or .xinitrc (.xsession is used when
you log in through xdm, .xinitrc when you used startx).  If you want the
change to be made for all users, do it instead in /etc/X11/Xsession.
Check the xbase documentation.

  >also, i have this problem when running emacs on an xterm in SU:
  >Xlib: connection to ":0.0" refused by server
  >Xlib: Invalid MIT-MAGIC-COOKIE-1 key
  >emacs: Cannot connect to X server :0.0.
  >Check the DISPLAY environment variable or use `-d'.
  >Also use the `xhost' program to verify that it is set to permit
  >connections from your machine.

Check out xauth.  

You need to tell root what authorisation you are using to talk to the
X server, so that it can share it.  For example:

$ su
# xauth merge ~dmallery/.Xauthority

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: