[CentOS] How to export X displays
Akemi Yagi
amyagi at gmail.comWed Oct 10 02:46:23 UTC 2007
- Previous message: [CentOS] How to export X displays
- Next message: [CentOS] How to export X displays
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/9/07, techlists at comcast.net <techlists at comcast.net> 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 at 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
- Previous message: [CentOS] How to export X displays
- Next message: [CentOS] How to export X displays
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list