On 23.10.2002 at 09:50:39, ken dreger <[EMAIL PROTECTED]> wrote: > I want to export the x-window display back to the system that is the > \"Base System\" for Hercules.... my base system 192.168.1.4 > the SLES7(GUEST) ip is 192.168.1.10 and is running GREAT, but I want to > try X-Windows stuff for grins... I have runlevel 5 enabled on the > SLES&-GUEST. > anybody have an Idea how to do this ? > I have tried xterm display:192.168.1.10:0.0 but it says it can\'t open > display on 192.168.1.4 > > thanks in advance > > Ken Dreger >
Ken, For one thing, you do not need runlevel 5 unless you are trying to run an XDMCP login server or VNC server on your SLES guest. Runlevel 5 will try and start an X-server on your guest, which will spin aimlessly (chewing CPU cycles) for a while until it realises that it cannot start one. I have found SSH to be my friend in this. For the cost of the encryption, you will get X11 forwarding configured automatically for you. Steps to follow are: 1) Install/enable the SSH server (OpenSSH) on the SLES7 guest. 2) Edit /etc/ssh/sshd_config on the guest and ensure that \"X11Forwarding yes\" appears. 3) Install an SSH client on your client (in this case, your Herc host). 4) Edit /etc/ssh/ssh_config on the client and ensure that \"ForwardX11 yes\" appears 5) start your SSH session to your SLES guest with \"ssh 192.168.1.10\" This will work even on a Windows machine using PuTTY, as long as you run an X-server on Windows (and the Cygwin port of XFree86 is quite sufficient for this). Not that I\'ve tried it, but you should even be able to start a KDE or GNOME session over this kind of tunnelled X by issuing the appropriate KDE/GNOME start command (e.g. \"gnome-session &\") in your SSH window. As I said it will cost you a little (in terms of CPU cycles) for the encryption, but I have found this to be the most portable and transparent way to get X displays across networks with \"no mess, no fuss\" -- apart from VNC, which is the coolest software on Earth IMHO ;-) When you start playing with IPv6 it gets a little messy, but that\'s another story... Cheers, Vic Cross
