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

Re: xlib

On Thu, Aug 01, 2002 at 11:05:00AM -0700, Jianbo Wang wrote:
> I installed woody with kernel of 2.2.20. i always got display
> problem. When I use ssh to a host (in Redhat), DISPLAY is automaticaly set
> and I can popup a Xwin. But I cannot do it in woody. When I su to root,
> nomatter how I set DISPLAY, use xhost, I cannot popup a Xwin, and got the
> following error:
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server

In Debian, X-servers by default don't accept remote connections (they're
started with the "-nolisten tcp" option).  You'll have to remove this
option yourself.  Which file you'll have to modify depends on the way
you start X: if you use a display manager, it's somewhere in
/etc/X11/[xkg]dm/, else it's /etc/X11/xinit/xserverrc.

Peter De Wachter

Reply to: