Tried ln -s ~/.Xauthority /root, same error :cannot connect to X server
Ok, in /etc/sshd_config I set the following: Host * ForwardAgent yes ForwardX11 yes
then i invoked topone root # /etc/init.d/sshd restart * Stopping sshd... [ ok ] * Starting sshd... [ ok ]
<ctrl -D>
Last login: Mon Jun 17 21:57:43 2002 from localhost topone root # kwrite kwrite: cannot connect to X server
I tried various combinations of commandline options, but no joy
Ok, xhost works only if I set the DISPLAY variable after I become root. Since in Gentoo there is no .bashrc file (??) and the one I created seems to be ignored, I ended up putting the line 'export DISPLAY=tried ln -s ~/.Xauthority /root, same error :cannot connect to X server
Ok, in /etc/sshd_config I set the following: Host * ForwardAgent yes ForwardX11 yes
then i invoked topone root # /etc/init.d/sshd restart * Stopping sshd... [ ok ] * Starting sshd... ried ln -s ~/.Xauthority /root, same error :cannot connect to X server
Ok, in /etc/sshd_config I set the following: Host * ForwardAgent yes ForwardX11 yes
then i invoked topone root # /etc/init.d/sshd restart * Stopping sshd... [ ok ] * Starting sshd... [ ok ]
<ctrl -D>
Last login: Mon Jun 17 21:57:43 2002 from localhost topone root # kwrite kwrite: cannot connect to X server
I tried various combinations of commandline options, but no joy
Ok, xhost works only if I set the DISPLAY variable after I become root. Since in Gentoo there is no .bashrc file (??) and the one I created seems to be ignored, I ended up putting the line 'export DISPLAY=tried ln -s ~/.Xauthority /root, same error :cannot connect to X server
Ok, in /etc/sshd_config I set the following: Host * ForwardAgent yes ForwardX11 yes
then i invoked topone root # /etc/init.d/sshd restart * Stopping sshd... [ ok ] * Starting sshd... [ ok ]
<ctrl -D>
Last login: Mon Jun 17 21:57:43 2002 from localhost topone root # kwrite kwrite: cannot connect to X server
I tried various combinations of commandline options, but no joy
Ok, xhost works only if I set the DISPLAY variable after I become root. Since in Gentoo there is no .bashrc file (??) and the one I created seems to be ignored, I ended up putting the line 'export DISPLAY=topone:0.0' in my /etc/profile, and it works. But as Roy Culley pointed out (and you seem to agree, since you put the xhost option at the end of the list) using xhost is not good.
Any suggestions? (sorry if this is becoming boring)