On 15 Jan, Ben Pfaff wrote:
>    I just upgraded to hamm and am having a peculiar problem: when I am in
>    X as a user and I su to root in an rxvt terminal window, I am no loger
>    able to open any rxvt terminal as a user. I get an error saying that
>    rxvt cannot connect to a pseudo tty. This does not happen with xterm
>    and if I log out as root everything works fine again.
> 
> Root doesn't have rights to the X display because root doesn't own the
> display, the user who started the session does.  A quick fix (but
> insecure) is to type `xhost +localhost' before su'ing to root.  A
> better fix is to use xauth--try `man xauth' for more info.

my apologies - i was rather tired when i sent this out... after i su to
root i have an alias in bash that does two things: sets the DISPLAY
variable and does an xauth merge. 

i also noticed that i can have up to three terms before the above
problem kicks in...

tnx,
tim

-- 
#    # #   # #  # #   #
#    # ##  # #  #  # #     Debian GNU Linux
#    # # # # #  #   #
#    # #  ## #  #  # #     Power to the people...
#### # #   #  ##  #   #         
--------------------------------------------------------------------
E-Mail:   Tim Ferrell <[EMAIL PROTECTED]  
--------------------------------------------------------------------




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to