From owner-freebsd-questions@FreeBSD.ORG Mon Mar 17 09:09:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FED1065672 for ; Mon, 17 Mar 2008 09:09:24 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 144568FC15 for ; Mon, 17 Mar 2008 09:09:23 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m2H99It8001609; Mon, 17 Mar 2008 02:09:19 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Predrag Punosevac" , "Brad Pitney" Date: Mon, 17 Mar 2008 01:10:42 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: <47DE21A3.9090504@math.arizona.edu> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 17 Mar 2008 02:09:19 -0700 (PDT) Cc: robert@chalmers.com.au, freebsd-questions@freebsd.org Subject: RE: Has anyone got the remote X-Win32 running? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 09:09:24 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Predrag > Punosevac > Sent: Sunday, March 16, 2008 11:46 PM > To: Brad Pitney > Cc: robert@chalmers.com.au; freebsd-questions@freebsd.org > Subject: Re: Has anyone got the remote X-Win32 running? > > > Brad Pitney wrote: > > On Mon, Mar 17, 2008 at 4:52 AM, Robert Chalmers > > wrote: > > > >> I've read the spots off everything I can find about getting X > going, and I > >> have it all up and running sort of. > >> > >> But only sort of. > >> > >> > >> > >> I have X-Win32 trialling on a laptop, and want to be able to > connect to the > >> Xserver - but I just can't seem to do it. > >> > >> > >> > >> To give you a run down. > >> > >> > >> > >> I have X working. > >> > >> I have KDE working. > >> > >> I have the /etc/ttys entry set to: > >> > >> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > >> > >> .. (I note that kdm is much prettier, and appears to work > Just as well) > >> > >> > >> > >> I have the entry in xdm-config commented out. > >> > >> ! DisplayManager.requestPort: 0 > >> > >> > >> > >> /root/.xinitrc contains "exec startkde" > >> > >> > >> > >> Ok. > >> > >> Using 'xdm' , booting brings up an oversize font LOGIN > -PASSWORD display. > >> Very ugly. (kdm looks nicer, but I'm following the manual) > >> > >> > > > > xdm can look nice. > > > > > >> Neither xdm or kdm, let me log in as root. > >> > >> I have to go Ctl+alt+F1 to get to the good old terminal window. > >> > >> > >> > >> Now, the main problem is .. Which is a real pain, as I do > need to connect to > >> this thing remotely. > >> > >> I can't connect from the remote laptop's X-Win32 program > xterm emulator > >> program. > >> > >> > >> > >> Has anyone managed to get any remote, xterm emulators going? > And how so? > >> > >> > > > > you know, I'd recommend X over ssh, although I used Xming, there 's a > > package with it bundled with putty > > > > http://sourceforge.net/projects/xming > > > > even comes with pretty good documentation > > > > > I am not sure if I understand original question. Do you want to have GUI > access to your remote machine? > > > 1. If you are in the LAN zone you can run X-server on your Windows > machine (obviously Cygwin comes to mind > and XOrg for it as well as other GNU tools) and run > x-clients (applications on your remote box) via let say tftp (Trivial > File Transfer Protocol) or much slower NFS. Read man pages for XOrg > and tftp how to do that. > > 2. If you want to connect remotely on the insecure network you basically > have two options > > a. ssh -Y (edit /etc/ssh/sshd.conf file) since by default X log in is > disabled. You have to have quite good machine to do this because of > cryptography used by ssh and good internet connection. You again need to > have OpenSSH on your > Windows machine so Cygwin is must. > > b. You can run VNC server on your FreeBSD box and run VNC client on your > Windows machine. > ThightVNC comes to mind. I prefer SSVNC client for the client side > because of cryptography but I am not sure if it > available for Windows. Any how you can use TightVNC which does exits for > Windows. c. You can run xrdp on the FreeBSD system, and connect to it from Microsoft Remote Desktop. xrdp basically allows you to run X windows programs on the server and it sends the screen output to the Remote Desktop client. Ted