Hi

I'm been trying to install an xvm instance on a remote system, but I
keep running into variations on 'unable to open display'

I've tried to use ssh -X but I've not been able to get it to forward
when su'd to root.
1) ssh -X -l xadmin virtbox
 running cload etc works fine.
2a
  i.  su -
  ii. cp .Xauthority ~xadmin/.Xauthority
  iii. setenv DISPLAY localhost:10
  iv. xload
   Fails:
    X11 connection rejected because of wrong authentication.
    X connection to localhost:11.0 broken (explicit kill or server shutdown).

2b
  i.  sudo su -
  ii. xload
  X11 connection rejected because of wrong authentication.
 X connection to localhost:11.0 broken (explicit kill or server shutdown).

2c
 i.  su -
 ii. setenv DISPLAY laptop:0
 iii. xload
   Error: Can't open display: laptop:0
   ('xhost +' had been run on the laptop)

Any ideas of where I might find an explanation or hint to how to fix this.

When I run the virt-install as root then I can't connect to the
'localhost:5900' as xadmin.
--
vncviewer localhost:5900

VNC Viewer Free Edition 4.1.3 for X - built Aug 18 2009 19:15:06
Copyright (C) 2002-2008 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Thu Sep 17 13:03:50 2009
 CConn:       connected to host localhost port 5900
 main:        End of stream
--

Hints are warmly welcomed.

  Henry
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to