On Apr 13 08:10:00, thev...@openmailbox.org wrote: > > I have restarted sshd (pkill -HUP sshd) and when I start ssh from the > > client using ssh -X I get DISPLAY is not set when trying to launch an > > xterm. > > this is probably a bad idea. that will send the signal to all sshd processes, > and not just the main server. > > the proper way to restart sshd is to use the pid in /var/run/sshd.pid ie > $ kill -1 $(</var/run/sshd.pid) >
/etc/rc.d/sshd restart