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

Re: access to Xserver refused ???

On Sun, Jan 30, 2005 at 02:09:22PM +0100, belahcene wrote:
> hi,
> I used ssh -X  to connect to remote machine ( running sarge debian ),
> but couldn't run  any graphic  command  , for example
> user1@semAmphi:~$ lyx
> lyx: cannot connect to X server
> user1@semAmphi:~$    
> Normally the -X option gives this possibility
> I add the host to my display with, xhost +, but same problem
> while  I can do it to another machine ( running knoppix 3.7) like
> bela@BelaPc:~$ lyx
> Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> in spite of the message, I got the windows
> Is there a special configuration for ssh ?
There is. You need to configure your sshd (on the machine you are
connecting to) to allow X forwarding. Look at /etc/ssh/sshd_config
there should be an option "X11Forwarding no" which needs to be 
changed to yes.


Reply to: