On Sat, Aug 30, 2008 at 12:47:21PM +0800, Stephen Liu wrote: > > --- Herbert Poetzl <herbert@13thfloor.at> wrote: > > > On Sat, Aug 30, 2008 at 12:17:23AM +0800, Stephen Liu wrote: > > > > > > --- Nicolas Cadou <ncadou@cobi.net> wrote: > > > > > > > Le August 29, 2008, Stephen Liu a écrit : > > > > > On the Host or on the Guest? > > > > > > > > On the guest, since you're getting the error by running startx > > > > in the guest. > > > > > > > > Is that what you really want? Running X on the host AND a second > > > > X instance in the guest? > > > > > > > > > No, absolutely NOT. I'm testing X forwarding. In the guest to > > > forward X from the host. ssh, server and client, are installed > > > in guest. In the guest I can ssh connect the host. But I > > > can't forward X of host to the guest. Because no X session is > > > installed/running on the guest. Therefore I install X packages on > > > the guest in anticipation to have X window of the host forwarded > > > to the guest. So that I can operate host application in the guest > > > on X window. This is a test. > > > > most likely, you are doing it the wrong way round, > > and what you actually want is the following: > > > > host: running X (the thing with the gnome stuff on > > on the monitor, not necessarily the host the > > guests are on :) > > > > guest: running some X application which gets > > displayed on your X screen (on the host) > > > > what you need for that (besides the obvious X) is > > only this: > > > > - sshd (running on the guest, with xforwarding > > enabled) check X11UseLocalhost no (unless you > > have lback active) > > > > - xauth (again on the guest) to get the magic > > cookies :) > > > > - your X11 application, e.g. xterm or xeyes > > > > what you do is simply ssh to the guest (from your > > graphical desktop) and start the application > > > Hi Herbert > > Done as advised. Thanks > > Having tried more than an hour w/o result. Steps performed as follows; > > Remark: > > a) > Host can't ssh connect Guest, no password can satisfy. I don't know > why. Tried as root as well as user (satimis). The passwords are > correct. But Guest can ssh connect ths Host. http://linux-vserver.org/Frequently_Asked_Questions#When_I_try_to_ssh_to_the_guest.2C_I_log_into_the_host.2C_even_if_I_installed_sshd_on_the_guest._What.27s_wrong_here.3F > b) > On Guest, remove all packages, xserver-xorg-core, xorg, fluxbox, gdm, > etc. installed previously leaving firefox behind. > On Host > 1) > Start Guest and enter it other way round :) > 2) > ssh connect the Host > > # ssh 192.168.0.110 (Host local IP) > > > 3) > # netstat -plnu | grep :177 > > No printout. > > gdm is running on Host. > 4) > # X -query 192.168.0.110 :2 > > A full screen is displayed without anything on it. Mouse pointer can > be moved around. No key operation works. Neither can I escape to > close the screen. that's normal Xorg (X11) behaviour, as you didn't speciy any app, X is running and showing the mouse pointer (you got what you asked for :) you can leave that by pressing CTRL-ALT-BS > Finally I have to press a hard reset to reboot PC. not really, see above :) best, Herbert PS: 99% of your 'issues' are not even Linux-VServer related, you might want to 'brush up' your Linux knowhow :) > B.R. > Stephen > > Send instant messages to your online friends http://uk.messenger.yahoo.com