[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] cant get X on domainU
1. ssh -X domainU steps: on domain U $ export DISPLAY=:0 $ xhost + xhost: unable to open display ":0" on domain0 ssh -X domainU result: ssh conection established no X forwarding starts. after login tried startx, but get message user not authorized to start x You shouldn't really need to do all that... If X forwarding is enabled in the sshd config in the domU, it will do all the setup required automatically when you ssh -X in. startx won't work in any case because it'll try and start an X server, but just running random X programs ought to work. 2. vnc installed vncserver on domainU, $ vncserver New 'X' desktop is playbox-breezy-01-U:1 Starting applications specified in /etc/X11/Xsession Log file is /home/slava/.vnc/playbox-breezy-01-U:1.log $ cat .vnc/playbox-breezy-01-U\:1.log 27/12/05 19:22:49 Copyright (C) 2002-2003 RealVNC Ltd. 27/12/05 19:22:49 Copyright (C) 1994-2000 AT&T Laboratories Cambridge. 27/12/05 19:22:49 All Rights Reserved. 27/12/05 19:22:49 See http://www.realvnc.com for information on VNC 27/12/05 19:22:49 Desktop name 'X' (playbox-breezy-01-U:1) 27/12/05 19:22:49 Protocol version supported 3.3 27/12/05 19:22:49 Listening for VNC connections on TCP port 5901 on domain 0 tried to connect with gnome terminal server client using vnc but connection gets refused Sounds weird... Can you try telnetting from dom0 to port 5901 in the domU to see if the connection is open an accessible? What error does the Gnome client give? Have you tried just using plain vncviewer? 3 freenx install freenx on domainU, nxclient on domain0, added user, setup password. when try to connect i cant get past authentication completed message. here is the log NX> 203 NXSSH running with pid: 18470 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 200 Connected to address: 192.168.1.110 on port: 22 NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey HELLO NXSERVER - Version 1.4.0-45-SVN OS (GPL) NX> 105 hello NXCLIENT - Version 1.5.0 NX> 134 Accepted protocol: 1.5.0 NX> 105 SET SHELL_MODE SHELL NX> 105 SET AUTH_MODE PASSWORD NX> 105 login NX> 101 User: slava NX> 102 Password: NX> 103 Welcome to: playbox-breezy-01-U user: slava NX> 105 listsession --user="slava" --status="suspended,running" --geometry="1152x864x24+render" --type="unix-gnome" NX> 127 Sessions list of user 'slava' for reconnect: Display Type Session ID Options Depth Screen Status Session Name ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------ NX> 148 Server capacity: not reached for user: slava NX> 105 startsession --session="playbox-breezy-01-U" --type="unix-gnome" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc102/us" --nodelay="1" --encryption="1" --backingstore="when_requested" --geometry="1152x813" --media="0" --agent_server="" --agent_user="" agent_password="******"" --screeninfo="1152x813x24+render" Killed by signal 15. Ick, that doesn't look nice. Whose version of FreeNX were you using? Personally I like NX but I've generally not found it straightforward to set up. Cheers, Mark somebody please help :) slava ps here is more info, not sure if helpfull after boot on domain U this is end of my /var/log/syslog -------------------- Dec 27 19:14:54 localhost gdm[2022]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 Dec 27 19:14:58 localhost gdm[2228]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 Dec 27 19:14:58 localhost gdm[1971]: deal_with_x_crashes: Running the XKeepsCrashing script Dec 27 19:14:58 localhost gdm[1971]: Failed to start X server several times in a short time period; disabling display :0 -------------------------------- _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |