On 10/9/07, techlists@xxxxxxxxxxx <techlists@xxxxxxxxxxx> wrote: > I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success. > > Here's what's been tried so far: > > I ran this command on the CentOS server: > > export DISPLAY=192.168.0.18:0.0 > > And ran this command on the Ubuntu laptop: > > xauth +192.168.0.2 > > When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting: > > [root@centos-ws ~]# xclock > Error: Can't open display: 192.168.0.18:0.0 > > I'm assuming there's an important little detail I'm missing somewhere, but don't know what. > > Any suggestions? > > Paul On the CentOS box, edit /etc/ssh/sshd_config to add the line: X11Forwarding yes Restart sshd by service sshd restart >From the Ubuntu box, connect to CentOS by: ssh -Y centosbox (use -Y instead of -X, see man ssh for the reason) There is no need to set DISPLAY as pointed out earlier. Akemi _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos