RE: Has anyone got the remote X-Win32 running?
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Predrag > Punosevac > Sent: Sunday, March 16, 2008 11:46 PM > To: Brad Pitney > Cc: [EMAIL PROTECTED]; 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 > > <[EMAIL PROTECTED]> 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Has anyone got the remote X-Win32 running?
Brad Pitney wrote: On Mon, Mar 17, 2008 at 4:52 AM, Robert Chalmers <[EMAIL PROTECTED]> 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. Best, Predrag Thanks if you can help - I'm almost there. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Has anyone got the remote X-Win32 running?
On Mon, Mar 17, 2008 at 4:52 AM, Robert Chalmers <[EMAIL PROTECTED]> 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 > > > Thanks if you can help - I'm almost there. > > Rob > > > > > > > > > > > > > > > > > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Best regards, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Has anyone got the remote X-Win32 running?
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) 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? Thanks if you can help - I'm almost there. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
Jonathan Horne wrote: well, the part i didnt mention before, was the method behind the madness. its actually a jail-host, with 3 jails running. my intention, is to keep the latest of kde, gnome, and xfce built on each, and just remotely attach to (or forward) its x session from my main workstation. i vision it basically working just like when i sit down to my workstation, and type 'startx'. cheers, Hmmm well may I ask why you want such a setup ? The only advantages I can see are to keep your main-workstation free of the builds for your WMs and the fact that your main system remains somewhat cleaner. But I doubt it will weigh up against the time-costs for your X11 forwarding ? Or am I missing something ? Regards, -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
On Sunday 30 December 2007 09:00:27 pm Darren Spruell wrote: > There is the XDMCP option, which allows you to remotely connect to an > X display manager for full, remote display sessions. This isn't > regarded to be a secure solution by most people. > > If your remote system is a server, do you have a need for remote > desktop access? If you have one or two X applications on the remote > server, could you just get by with SSH X11 forwarding to access those > applications from your management station's display? > > DS well, the part i didnt mention before, was the method behind the madness. its actually a jail-host, with 3 jails running. my intention, is to keep the latest of kde, gnome, and xfce built on each, and just remotely attach to (or forward) its x session from my main workstation. i vision it basically working just like when i sit down to my workstation, and type 'startx'. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
On Dec 30, 2007 7:16 PM, Jonathan Horne <[EMAIL PROTECTED]> wrote: > On Thursday 27 December 2007 02:35:05 am Steve Franks wrote: > > Perhaps I misunderstand, but I use x11vnc on the 'server' and > > vncviewer or tightvnc on the 'client'. There are several pages to > > google on tunneling it thru ssh, and it's much better with latency > > than sending x iteslf over ssh, I'm told. If you start x11vnc with no > > options, it will export the current session/desktop, but there is a > > switch to have it spawn a new x session also. All the other vnc ports > > only spawn new sessions, and I usually use it to help my wife fix > > problems when I'm away at the office ;) > > > > Best, > > Steve > > well ultimately, im looking for something that i can operate a headless server > with. the server itself wouldnt be pre-logged into any x session (be it kde, > gnome, xfce or whatever), so thats why im trying to get its x session into a > window of my local desktop. There is the XDMCP option, which allows you to remotely connect to an X display manager for full, remote display sessions. This isn't regarded to be a secure solution by most people. If your remote system is a server, do you have a need for remote desktop access? If you have one or two X applications on the remote server, could you just get by with SSH X11 forwarding to access those applications from your management station's display? DS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
On Thursday 27 December 2007 02:35:05 am Steve Franks wrote: > Perhaps I misunderstand, but I use x11vnc on the 'server' and > vncviewer or tightvnc on the 'client'. There are several pages to > google on tunneling it thru ssh, and it's much better with latency > than sending x iteslf over ssh, I'm told. If you start x11vnc with no > options, it will export the current session/desktop, but there is a > switch to have it spawn a new x session also. All the other vnc ports > only spawn new sessions, and I usually use it to help my wife fix > problems when I'm away at the office ;) > > Best, > Steve well ultimately, im looking for something that i can operate a headless server with. the server itself wouldnt be pre-logged into any x session (be it kde, gnome, xfce or whatever), so thats why im trying to get its x session into a window of my local desktop. i need to read up on x11vnc, and if it would do that, then i would open to looking at that to fill my need. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd08 [EMAIL PROTECTED] dfwlp.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
Perhaps I misunderstand, but I use x11vnc on the 'server' and vncviewer or tightvnc on the 'client'. There are several pages to google on tunneling it thru ssh, and it's much better with latency than sending x iteslf over ssh, I'm told. If you start x11vnc with no options, it will export the current session/desktop, but there is a switch to have it spawn a new x session also. All the other vnc ports only spawn new sessions, and I usually use it to help my wife fix problems when I'm away at the office ;) Best, Steve On Dec 24, 2007 9:05 AM, Jonathan Horne <[EMAIL PROTECTED]> wrote: > i have been wanting to set up the ability to open an entirely new x session to > another box, in a window of my currently running session. xnest is one way > of doing this, but i was wondering if there are any others (perhaps, a little > easier to configure and get going) ? > > cheers, > -- > Jonathan Horne > http://dfwlpiki.dfwlp.org > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
Jonathan Horne skrev: i have been wanting to set up the ability to open an entirely new x session to another box, in a window of my currently running session. xnest is one way of doing this, but i was wondering if there are any others (perhaps, a little easier to configure and get going) ? cheers, You might want to look at WDM and Fluxbox. There are alot of other window managwers of course but these 2 have small overhead and run very nice. Read more at http://fluxbox-wiki.org/index.php/WDM . There are some tips in the mailing list archive for these to get you started as well. Greetings from Sweden /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
Jonathan Horne wrote: On Monday 24 December 2007 01:11:12 pm Jeremy Gransden wrote: On 12/24/07, Jonathan Horne <[EMAIL PROTECTED]> wrote: i have been wanting to set up the ability to open an entirely new x session to another box, in a window of my currently running session. xnest is one way of doing this, but i was wondering if there are any others (perhaps, a little easier to configure and get going) ? cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" Can you forward X through ssh? Or is that not what you are looking for? thanks, j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" i did finally get ssh to forwared X, but it only worked with ssh -Y [host] im not sure yet why ssh -X doesnt work, but ive not yet finished reading about the ins and outs of what security settings im overriding with the -Y. i was able to start xclock as a test. but what i would really like to be able to accomplish, would be to get the entire 'startx' to work over an ssh session, and have it open as another window on my desktop. cheers, Is vnc not an option then ? -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
On Monday 24 December 2007 01:11:12 pm Jeremy Gransden wrote: > On 12/24/07, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > i have been wanting to set up the ability to open an entirely new x > > session to > > another box, in a window of my currently running session. xnest is one > > way > > of doing this, but i was wondering if there are any others (perhaps, a > > little > > easier to configure and get going) ? > > > > cheers, > > -- > > Jonathan Horne > > http://dfwlpiki.dfwlp.org > > [EMAIL PROTECTED] > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > [EMAIL PROTECTED]" > > Can you forward X through ssh? Or is that not what you are looking for? > > > thanks, > j > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" i did finally get ssh to forwared X, but it only worked with ssh -Y [host] im not sure yet why ssh -X doesnt work, but ive not yet finished reading about the ins and outs of what security settings im overriding with the -Y. i was able to start xclock as a test. but what i would really like to be able to accomplish, would be to get the entire 'startx' to work over an ssh session, and have it open as another window on my desktop. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x session
On 12/24/07, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > i have been wanting to set up the ability to open an entirely new x > session to > another box, in a window of my currently running session. xnest is one > way > of doing this, but i was wondering if there are any others (perhaps, a > little > easier to configure and get going) ? > > cheers, > -- > Jonathan Horne > http://dfwlpiki.dfwlp.org > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > Can you forward X through ssh? Or is that not what you are looking for? thanks, j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
remote x session
i have been wanting to set up the ability to open an entirely new x session to another box, in a window of my currently running session. xnest is one way of doing this, but i was wondering if there are any others (perhaps, a little easier to configure and get going) ? cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x forwarding through ssh
2007/4/26, Lowell Gilbert <[EMAIL PROTECTED]>: WarrenHead <[EMAIL PROTECTED]> writes: > Hi list, > > I'm trying to use ssh to forward X from a local FreeBSD server to my > ubuntu machine. > I'm unable to get X forwarded. (ssh is working) > > I set these options: > ubuntu: > /etc/ssh/ssh_config > Host * > ForwardX11 yes > ForwardAgent yes > > FreeBSD > /etc/ssh/sshd_config > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes > UseLogin no > > I didn't set the $DISPLAY variable, on purpose. > > After I log into the server and start xterm (for instance) I get this > message: DISPLAY is not set. > SSH should do that for me but I guess it doesn't. > I don't know why. > > I logged into FreeBSD with these commands: > ssh -v freebsd > ssh -v -X freebsd > ssh -v -X -A freebsd Did the (verbose) output from those commands mention X11? > What could be the cause? Client or server? My guess would be server, although Ubuntu could always be doing something weird. Hi list, I managed to get a few different machines under my hands and it seems it is my Ubuntu machine which refuses to 'find' the $DISPLAY variable. Of course I don't have a clue as to why, but I'm going to take that to the ubuntu lists Thanks for your time! Cheers, Warren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x forwarding through ssh
WarrenHead <[EMAIL PROTECTED]> writes: > Hi list, > > I'm trying to use ssh to forward X from a local FreeBSD server to my > ubuntu machine. > I'm unable to get X forwarded. (ssh is working) > > I set these options: > ubuntu: > /etc/ssh/ssh_config > Host * > ForwardX11 yes > ForwardAgent yes > > FreeBSD > /etc/ssh/sshd_config > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes > UseLogin no > > I didn't set the $DISPLAY variable, on purpose. > > After I log into the server and start xterm (for instance) I get this > message: DISPLAY is not set. > SSH should do that for me but I guess it doesn't. > I don't know why. > > I logged into FreeBSD with these commands: > ssh -v freebsd > ssh -v -X freebsd > ssh -v -X -A freebsd Did the (verbose) output from those commands mention X11? > What could be the cause? Client or server? My guess would be server, although Ubuntu could always be doing something weird. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
remote x forwarding through ssh
Hi list, I'm trying to use ssh to forward X from a local FreeBSD server to my ubuntu machine. I'm unable to get X forwarded. (ssh is working) I set these options: ubuntu: /etc/ssh/ssh_config Host * ForwardX11 yes ForwardAgent yes FreeBSD /etc/ssh/sshd_config X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes UseLogin no I didn't set the $DISPLAY variable, on purpose. After I log into the server and start xterm (for instance) I get this message: DISPLAY is not set. SSH should do that for me but I guess it doesn't. I don't know why. I logged into FreeBSD with these commands: ssh -v freebsd ssh -v -X freebsd ssh -v -X -A freebsd What could be the cause? Client or server? Cheers, Warren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to connect to remote X server using X -query
"Christian Walther" <[EMAIL PROTECTED]> writes: > I'm on > > $ uname -a > FreeBSD pixie.alashan.dyndns.org 6.1-RELEASE-p10 FreeBSD > 6.1-RELEASE-p10 #1: Thu Nov 16 17:15:03 CET 2006 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIXIE i386 > > running > > $ pkg_info|grep ^xorg-server > xorg-server-6.9.0_5 X.Org X server and related programs > > I set up two of my machines in my network to allow remote logins via > xdm and gdm. Both are Linux machines, one is a current Ubuntu release > running gdm, the other one a decent Debian/testing running xdm. I'd > like to connect to both machines using the command > > $ X -query -fp tcp/:7100 > > The X-Server starts, but it justs sits there, displaying the default > background. After a certain period of time the server is restarted, > without any error message on the console or in /var/log/Xorg.0.log > I checked the xdm/gdm configuration a couple of times, but I can use > any other none FreeBSD-host in my network to successfully connect to > the Display Manager on both machines. I even checked this with a > NetBSD machine. > I browsed through the manual and the FAQs, but I didn't find any > section that gave me a clue of what is going on. There is no Firewall > configured on my FreeBSD machine, and there is no security level set: > > # sysctl -h kern.securelevel > kern.securelevel: -1 > > X runs just fine when being executed locally, either via startx or via > /etc/ttys using xdm. > > Did I miss something? Hmm. It looks okay so far, but I haven't used this kind of environment in years (so take that with a grain of salt). I would try debugging through the init file (.xinitrc, if the user has one) -- perhaps putting some checkpoints in that script which will write out to local files. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to connect to remote X server using X -query
Hi there, I'm on $ uname -a FreeBSD pixie.alashan.dyndns.org 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Thu Nov 16 17:15:03 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PIXIE i386 running $ pkg_info|grep ^xorg-server xorg-server-6.9.0_5 X.Org X server and related programs I set up two of my machines in my network to allow remote logins via xdm and gdm. Both are Linux machines, one is a current Ubuntu release running gdm, the other one a decent Debian/testing running xdm. I'd like to connect to both machines using the command $ X -query -fp tcp/:7100 The X-Server starts, but it justs sits there, displaying the default background. After a certain period of time the server is restarted, without any error message on the console or in /var/log/Xorg.0.log I checked the xdm/gdm configuration a couple of times, but I can use any other none FreeBSD-host in my network to successfully connect to the Display Manager on both machines. I even checked this with a NetBSD machine. I browsed through the manual and the FAQs, but I didn't find any section that gave me a clue of what is going on. There is no Firewall configured on my FreeBSD machine, and there is no security level set: # sysctl -h kern.securelevel kern.securelevel: -1 X runs just fine when being executed locally, either via startx or via /etc/ttys using xdm. Did I miss something? Regards Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote X via winXP and Xclient security
Hi All, I was wondering if any one had some ideas on my little problem / goal. I have been testing out using a X-cygwin and my X server in windows XP and FreeBSD / KDE as my X client via ssh, I really like this and was thinking of using it at work for many reasons I don't want to have to explain. My question is that since I can easily copy my home directory to a FreeBSD server and remote X into I have the problem where other people who have root access can easily read all the data in my home directory, does any one know of some kind of system where you can remote X into a machine and mount some kind of encrypted set of files in my home dir over the network? So they look like regular files to my on my X server in X-cygwin but aren't readable on the FreeBSD X client (what often would actually be considered the server to most people). The idea isn't to be ultra secure but just secure enough so that people who have root access on the FreeBSD X client machine can't conveniently spy my home dir. I do use GBDE filesystem encryption in a standalone file form so I can have portable backups but since they are mounted on the actual server it makes just as easy to view the mounted files. I haven't seen how far ACL and chflags can go, but considering a root user could su to another users privileged it couldn't be stopped. You could arguably look at it that I am looking for a 'ssh-agent' of encrypted file systems as in something that sits in memory and is willing to give me the information when I want it but still be that degree more difficult to get at from anyone else. Just like ssh-agent this is something between security and convenience. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-release remote x application failure to open display
> I recently have performed a clean install of 6.0-release on this > machine, on a new hard drive, and then copied over the data and some > configuration files (ssh keys, etc.) from the old hard drive (it is a > slow machine, so I didn't want to build current). Having done so, I > then tried to login remotely to this machine and run xmms (it is > mostly used as my "music server"), which failed with this error: > ** CRITICAL **: Unable to open display > I have tried with passing the -X flag, and with passing the -Y flag to > ssh, but there is no change in behaviour. > Is there something that I have forgotten to enable, or is this unexpected? first, always use the -X or -Y option for X11 forwarding. regardless of whether you think it needs to be specified, good habit in case the environment changes unexpectedly. next, check the environment after login (setenv in tcsh), make sure that the DISPLAY variable is being set. should be somwhere along the lines of localhost:10.0 or higher.. then, whereis xauth and make sure it's installed. ssh uses this to set up said X display, and isn't installed when X applications are compiled or installed from binaries (it's in xorg-clients iirc.) These are fairly general, but are a good start. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-release remote x application failure to open display
"Ben Kaduk" <[EMAIL PROTECTED]> writes: > Hi all, > > I think this is probably a simple question, but I do not recall having > any difficulties on 5.2.1 or 5.3-beta3, which are the other versions > that I had run on this box. > > I recently have performed a clean install of 6.0-release on this > machine, on a new hard drive, and then copied over the data and some > configuration files (ssh keys, etc.) from the old hard drive (it is a > slow machine, so I didn't want to build current). Having done so, I > then tried to login remotely to this machine and run xmms (it is > mostly used as my "music server"), which failed with this error: > ** CRITICAL **: Unable to open display > I have tried with passing the -X flag, and with passing the -Y flag to > ssh, but there is no change in behaviour. > Is there something that I have forgotten to enable, or is this unexpected? > > Some information about the computer: > [EMAIL PROTECTED] uname -a > FreeBSD pleonasm.mooo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb > 20 01:22:19 UTC 2006 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLEONASM i386 Use higher levels of debug output, and let ssh itself tell you what it thinks the problem is. Also, compare the behaviour to other X applications, like xterm. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
6.0-release remote x application failure to open display
Hi all, I think this is probably a simple question, but I do not recall having any difficulties on 5.2.1 or 5.3-beta3, which are the other versions that I had run on this box. I recently have performed a clean install of 6.0-release on this machine, on a new hard drive, and then copied over the data and some configuration files (ssh keys, etc.) from the old hard drive (it is a slow machine, so I didn't want to build current). Having done so, I then tried to login remotely to this machine and run xmms (it is mostly used as my "music server"), which failed with this error: ** CRITICAL **: Unable to open display I have tried with passing the -X flag, and with passing the -Y flag to ssh, but there is no change in behaviour. Is there something that I have forgotten to enable, or is this unexpected? Some information about the computer: [EMAIL PROTECTED] uname -a FreeBSD pleonasm.mooo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb 20 01:22:19 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLEONASM i386 dmesg is attached (if it makes it through the list). Thanks, Ben Kaduk dmesg.boot Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x-window
On Sunday 05 February 2006 19:31, Greg 'groggy' Lehey wrote: > On Friday, 3 February 2006 at 8:58:08 +, Michael Fleming wrote: > > On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote: > >> I have sort of a newbie question. How do I connect to a remote > >> machine with x-windows and get a desktop? Could someone point me in > >> the right direction as I've never had a need to to do it before. I > >> do have ssh to the machine. > > > > You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the > > remote machine is displayed on the local. > > Specifically, the DISPLAY environment variable states the name of the > remote host, the server number and the screen number. Normally you > only have one server, which is then 0. It's quite common to have more > than one screen: I'm writing this on echunga.lemis.com:0.0, but there > are two further screens called echunga.lemis.com:0.1 and > echunga.lemis.com:0.2. See http://www.lemis.com/grog/hardware.html > for an example. > > > You'll also have to forward X11 packets, check your ssh_conf so that > > "forward X11 yes". > > This is for tunnelling over ssh. I wouldn't recommend that in a local > context. > > > I use cygwin on my work laptop ( XP ) and a openvpn connection to my > > BSD machine then fire up the display on the XP machine. > > It's possible that you'd need it here, but between BSD machines it's > just overhead. > > One thing that you don't mention is whether the server will listen on > TCP. This used to be the default, but it isn't any more. If you're > using startx, you'll have to remove the 'nolisten-tcp' option. See > http://www.lemis.com/grog/desktop.html. > > If you're using KDE or GNOME, you'll probably have to do something > similar. I don't know the details, though. > > Greg Thank you much for your response, you have clarified a couple of points I wasn't sure about. In the short run I went with running a vnc server on the box which is supported by KDE. However, I need to learn all of this as I have need for it from time to time. Looks like I have a bit homework to do. Thanks again, Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpcUGLK7Jp6U.pgp Description: PGP signature
Re: remote x-window
On Friday, 3 February 2006 at 8:58:08 +, Michael Fleming wrote: > On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote: >> I have sort of a newbie question. How do I connect to a remote >> machine with x-windows and get a desktop? Could someone point me in >> the right direction as I've never had a need to to do it before. I >> do have ssh to the machine. > > You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the > remote machine is displayed on the local. Specifically, the DISPLAY environment variable states the name of the remote host, the server number and the screen number. Normally you only have one server, which is then 0. It's quite common to have more than one screen: I'm writing this on echunga.lemis.com:0.0, but there are two further screens called echunga.lemis.com:0.1 and echunga.lemis.com:0.2. See http://www.lemis.com/grog/hardware.html for an example. > You'll also have to forward X11 packets, check your ssh_conf so that > "forward X11 yes". This is for tunnelling over ssh. I wouldn't recommend that in a local context. > I use cygwin on my work laptop ( XP ) and a openvpn connection to my > BSD machine then fire up the display on the XP machine. It's possible that you'd need it here, but between BSD machines it's just overhead. One thing that you don't mention is whether the server will listen on TCP. This used to be the default, but it isn't any more. If you're using startx, you'll have to remove the 'nolisten-tcp' option. See http://www.lemis.com/grog/desktop.html. If you're using KDE or GNOME, you'll probably have to do something similar. I don't know the details, though. Greg -- See complete headers for address and phone numbers. pgpYKbWB8fWbS.pgp Description: PGP signature
Re: remote x-window
Michael Fleming wrote: On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote: I have sort of a newbie question. How do I connect to a remote machine with x-windows and get a desktop? Could someone point me in the right direction as I've never had a need to to do it before. I do have ssh to the machine. Beech -- You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the remote machine is displayed on the local. You'll also have to forward X11 packets, check your ssh_conf so that "forward X11 yes". I use cygwin on my work laptop ( XP ) and a openvpn connection to my BSD machine then fire up the display on the XP machine. I did use just ssh and allowed only ssh from the outside to the BSD machine, but found that someone was trying to brute force the username and password so set up the openvpn. I feel a lot more comfortable with that, even though it's just my own private network. There's plenty of info on google to point you in the right direction. I also noticed a lot of brute force username and password attempts, an easier solution is to just change the default SSH-port ( /etc/ssh/sshd_conf ) as I did Mike -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x-window
On Friday 03 February 2006 00:23, Garrett Cooper wrote: > On Feb 2, 2006, at 10:48 PM, Beech Rintoul wrote: > > I have sort of a newbie question. How do I connect to a remote > > machine with > > x-windows and get a desktop? Could someone point me in the right > > direction as > > I've never had a need to to do it before. I do have ssh to the > > machine. > > > > Beech > > For strictly a X11 forwarded solution, do something like the following: > > [EMAIL PROTECTED] $ ssh -CY [EMAIL PROTECTED] > [EMAIL PROTECTED] $ twm& # or xfwm4 or something else like that. > > For a VNC solution, I suggest using x11vnc. By using SSH forwarding > and compression you can easily attach to a preexisting desktop session. > -Garrett Thanks for the pointers. I googled for vnc and it doesn't look very hard to configure. Plus, KDE supports it. Think I'll go with that. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgp4lZJIf0PM8.pgp Description: PGP signature
Re: remote x-window
On Feb 2, 2006, at 10:48 PM, Beech Rintoul wrote: I have sort of a newbie question. How do I connect to a remote machine with x-windows and get a desktop? Could someone point me in the right direction as I've never had a need to to do it before. I do have ssh to the machine. Beech -- -- - Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com -- - For strictly a X11 forwarded solution, do something like the following: [EMAIL PROTECTED] $ ssh -CY [EMAIL PROTECTED] [EMAIL PROTECTED] $ twm& # or xfwm4 or something else like that. For a VNC solution, I suggest using x11vnc. By using SSH forwarding and compression you can easily attach to a preexisting desktop session. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote x-window
On Thu, Feb 02, 2006 at 09:48:56PM -0900, Beech Rintoul wrote: > I have sort of a newbie question. How do I connect to a remote machine with > x-windows and get a desktop? Could someone point me in the right direction as > I've never had a need to to do it before. I do have ssh to the machine. > > Beech > -- > You'll have to export $DISPLAY=x.x.x.x:0.0 so that the display on the remote machine is displayed on the local. You'll also have to forward X11 packets, check your ssh_conf so that "forward X11 yes". I use cygwin on my work laptop ( XP ) and a openvpn connection to my BSD machine then fire up the display on the XP machine. I did use just ssh and allowed only ssh from the outside to the BSD machine, but found that someone was trying to brute force the username and password so set up the openvpn. I feel a lot more comfortable with that, even though it's just my own private network. There's plenty of info on google to point you in the right direction. Mike > > > > > > > > > -- Michael Fleming* [EMAIL PROTECTED] Free-BSD GnuPG Key Id 933B27E7 http://pgp.mit.edu/ pgpCTaOKEJrsJ.pgp Description: PGP signature
remote x-window
I have sort of a newbie question. How do I connect to a remote machine with x-windows and get a desktop? Could someone point me in the right direction as I've never had a need to to do it before. I do have ssh to the machine. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpybLfsqXLAE.pgp Description: PGP signature
Re: remote X session fonts question
Maarten Sanders <[EMAIL PROTECTED]> writes: > My wifes laptop is too aged to work at an acceptable speed. I have > converted it to a remote X terminal (over ssh) and that works like a > charm. Only application that behaves funny is Openoffice.org.1.1.5. For > some reason the fonts in the menus get too much space around them. Has > anyone a clue on in which direction I should look? Do I need to setup a > font server? Do the xorg.conf fonts sections need to be absolutly equal? An application can only use fonts which the X server knows about. The laptop has its own X server, and needs the fonts that you want to use. A font server is one way to do that; installing the fonts on the laptop directly would be another. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
remote X session fonts question
Hi, My wifes laptop is too aged to work at an acceptable speed. I have converted it to a remote X terminal (over ssh) and that works like a charm. Only application that behaves funny is Openoffice.org.1.1.5. For some reason the fonts in the menus get too much space around them. Has anyone a clue on in which direction I should look? Do I need to setup a font server? Do the xorg.conf fonts sections need to be absolutly equal? Etc. Thanks, Maarten ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote X client
On Wed, 8 Jun 2005, John Oxley wrote: On Mon, 6 Jun 2005, Karel Miklav wrote: I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc. remotely and everything looks and works great. Now I try Firefox and WTF! it read configuration from the local machine! Links and settings are all local and it doesn't resolve as I didn't set up route on local machine yet. So it's local, but how can that happen - it was run over ssh on remote machine?! try running firefox --no-xshm Just out of curiousity, why would that matter? I've run firefox remotely server times without needing an extra flag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote X client
> On Mon, 6 Jun 2005, Karel Miklav wrote: > > >I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc. > >remotely and everything looks and works great. Now I try Firefox and > >WTF! it read configuration from the local machine! Links and settings > >are all local and it doesn't resolve as I didn't set up route on local > >machine yet. So it's local, but how can that happen - it was run over > >ssh on remote machine?! try running firefox --no-xshm -- John Oxley Systems Administrator Yo!Africa E-Mail: [EMAIL PROTECTED] Tel: +263 4 858404 ext 2017 smime.p7s Description: S/MIME cryptographic signature
Re: Remote X client
Tony Shadwick wrote: > Take this demon-spawn firefox and point it to this address: > http//www.whatismyip.com > Well, what is it? What is your local IP? Do they match? > point it at a file in your remote filesystem. Does it work? Thanks for your time Tony. I don't have my computer handy, but I figured out I wasn't just lost in xterms after all. It is a Mozilla family feature (http://www.mozilla.org/unix/remote.html), but it can be easily disabled in startup scripts. -- Regards, Karel Miklav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote X client
Take this demon-spawn firefox and point it to this address: http//www.whatismyip.com Well, what is it? What is your local IP? Do they match? point it at a file in your remote filesystem. Does it work? On Mon, 6 Jun 2005, Karel Miklav wrote: I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc. remotely and everything looks and works great. Now I try Firefox and WTF! it read configuration from the local machine! Links and settings are all local and it doesn't resolve as I didn't set up route on local machine yet. So it's local, but how can that happen - it was run over ssh on remote machine?! Regards, Karel Miklav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote X client
I ssh on remote server, set DISPLAY, then run Thunderbird, Links etc. remotely and everything looks and works great. Now I try Firefox and WTF! it read configuration from the local machine! Links and settings are all local and it doesn't resolve as I didn't set up route on local machine yet. So it's local, but how can that happen - it was run over ssh on remote machine?! Regards, Karel Miklav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
> : somehost> ssh -X [EMAIL PROTECTED] > : remotemachine> echo $DISPLAY > : somehost.example.com:10.0 > : remotemachine> xclock & > : > : Don't forget to enable X forwarding in /etc/ssh/sshd_config: > : X11Forwarding yes > > I had this working before, but I'm having problems. My main box is missing > a monitor (on repair). Would that make a difference? Will X apps run on the > main box without a monitor and forward X to the remote client? > > Right now, I get this: > neptune:~> echo $DISPLAY > > neptune:~> If DISPLAY is not set, then ssh on your local machine and sshd on the remote box didn't establish an X11 forwarding channel. Are you sure that sshd_config is set up properly on the remote machine? Did you use -X (that's uppercase X) while invoking ssh locally? Perhaps your local ssh and remote sshd are not talking the same version of the SSH protocol? BTW, it is irrelevant if the remote box has a monitor or not. That box doesn't even need an X server (wether running or not). Only X clients and X libraries are needed on the remote machine. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On Thu, Jan 22, 2004 at 04:12:17PM +0100, Cordula's Web wrote: : > I have been looking all over for a concise howto for remote X on FreeBSD. I : > see some that involve changing config files in the xdm directory, others use : > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. : : Use ssh's -X flag: : : somehost> ssh -X [EMAIL PROTECTED] : remotemachine> echo $DISPLAY : somehost.example.com:10.0 : remotemachine> xclock & : : Don't forget to enable X forwarding in /etc/ssh/sshd_config: : X11Forwarding yes I had this working before, but I'm having problems. My main box is missing a monitor (on repair). Would that make a difference? Will X apps run on the main box without a monitor and forward X to the remote client? Right now, I get this: neptune:~> echo $DISPLAY neptune:~> : : > All I want to do is use a laptop in a local network to be an X client : > connected to a more powerful desktop machine. I'm not worried about : > security. : > : > Is xhosts and the DISPLAY variable all I need? Or do I need to go through : > all of the xdm configuration hoops? : : ssh X11 forwarding is much more secure than DISPLAY/xhosts/xdm etc..., : because: : 1. Your X11 server doesn't have to listen to port 6000 : (You don't have to add '-listen_tcp' to startx command) : 2. The communication between server and client is encrypted : : Of course, YMMV. : : > NOTE: Please CC me, as I am not currently subscribed. Thanks. : > : > jm : > -- : > My other computer is your windows box. : : -- : Cordula's Web. http://www.cordula.ws/ jm -- My other computer is your Windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
what about setting the server with VNC? then the client connects with vnc client and you can run all the apps from the server from any machine. Unless I'm totally off. - Original Message - From: "Malcolm Kay" <[EMAIL PROTECTED]> To: "Jonathon McKitrick" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 9:26 AM Subject: Re: remote X display On Fri, 23 Jan 2004 01:23, Jonathon McKitrick wrote: > Hi all, > > I have been looking all over for a concise howto for remote X on FreeBSD. > I see some that involve changing config files in the xdm directory, others > use xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. > > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? > The machine you're actually sitting at needs to be running X-terminal software, that is X server and xdm or some equivalent. X applications can be run on either machine for control from there. In my opinion ssh is a much tidier way than rsh/xhost for running X applications remotely. Have a look at the special options in ssh for X transport in the man page, particularly -X and -f. xfig I only know as a (rather good) vector based drawing program but is just an ordinary X application without any special connection with operating across the network. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On Fri, 23 Jan 2004 01:23, Jonathon McKitrick wrote: > Hi all, > > I have been looking all over for a concise howto for remote X on FreeBSD. > I see some that involve changing config files in the xdm directory, others > use xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. > > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? > The machine you're actually sitting at needs to be running X-terminal software, that is X server and xdm or some equivalent. X applications can be run on either machine for control from there. In my opinion ssh is a much tidier way than rsh/xhost for running X applications remotely. Have a look at the special options in ssh for X transport in the man page, particularly -X and -f. xfig I only know as a (rather good) vector based drawing program but is just an ordinary X application without any special connection with operating across the network. Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
> : One idea is to use SSH. > : If you have sshd on the remote desktop you can use ssh -X to enable > : X11 forwarding. Just ssh into the remote box and run the X > : application and you're set to go, provided that X11 forwarding is > : enabled in the remote sshd_config. > > Ah, I remember seeing this before, now that I think about it. Thanks for > the reminder. > > Do I do this from the console or from an xterm? In other words, should X > already be running? X should be already running. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On Thu, Jan 22, 2004 at 10:08:46AM -0500, Jason Stewart wrote: : On 22/01/04 14:53 +, Jonathon McKitrick wrote: : > : > Hi all, : > : > I have been looking all over for a concise howto for remote X on FreeBSD. I : > see some that involve changing config files in the xdm directory, others use : > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. : > : > All I want to do is use a laptop in a local network to be an X client : > connected to a more powerful desktop machine. I'm not worried about : > security. : > : > Is xhosts and the DISPLAY variable all I need? Or do I need to go through : > all of the xdm configuration hoops? : > : : One idea is to use SSH. : If you have sshd on the remote desktop you can use ssh -X to enable : X11 forwarding. Just ssh into the remote box and run the X : application and you're set to go, provided that X11 forwarding is : enabled in the remote sshd_config. Ah, I remember seeing this before, now that I think about it. Thanks for the reminder. Do I do this from the console or from an xterm? In other words, should X already be running? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On Thu, 22 Jan 2004, Jonathon McKitrick wrote: > I have been looking all over for a concise howto for remote X on FreeBSD. I > see some that involve changing config files in the xdm directory, others use > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. > > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? > > NOTE: Please CC me, as I am not currently subscribed. Thanks. What do exactly want to do? If you want to login into your laptop from your desktop machine, you may enter "xhost +laptop-ip-address" on your desktop system and set the DISPLAY variable in the login shell on the laptop. The latter one will then run X clients and the desktop system the X server. But if you want to use the laptop as a kind of X terminal and run your applications on the more powerful desktop system, the laptop needs to run the X server and the desktop the X clients. In that case, I suggest you should comment out the line DisplayManager.requestPort: 0 in /usr/X11R6/lib/X11/xdm/xdm-config (put a ! at the beginning of the line), run xdm on the desktop system and start the X server on the laptop by entering: X -query desktop-ip-address Best regards Konrad Heuer ([EMAIL PROTECTED]) ___ ___ GWDG / __/__ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__//___// Germany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
> I have been looking all over for a concise howto for remote X on FreeBSD. I > see some that involve changing config files in the xdm directory, others use > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. Use ssh's -X flag: somehost> ssh -X [EMAIL PROTECTED] remotemachine> echo $DISPLAY somehost.example.com:10.0 remotemachine> xclock & Don't forget to enable X forwarding in /etc/ssh/sshd_config: X11Forwarding yes > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? ssh X11 forwarding is much more secure than DISPLAY/xhosts/xdm etc..., because: 1. Your X11 server doesn't have to listen to port 6000 (You don't have to add '-listen_tcp' to startx command) 2. The communication between server and client is encrypted Of course, YMMV. > NOTE: Please CC me, as I am not currently subscribed. Thanks. > > jm > -- > My other computer is your windows box. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On Thu, Jan 22, 2004 at 02:53:53PM +, Jonathon McKitrick wrote: > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? you can do the following : run gdm on the server, start gdmconfig as root, enable XDMCP then on the client start X as following : X -query ipaddress_of_your_server ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X display
On 22/01/04 14:53 +, Jonathon McKitrick wrote: > > Hi all, > > I have been looking all over for a concise howto for remote X on FreeBSD. I > see some that involve changing config files in the xdm directory, others use > xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. > > All I want to do is use a laptop in a local network to be an X client > connected to a more powerful desktop machine. I'm not worried about > security. > > Is xhosts and the DISPLAY variable all I need? Or do I need to go through > all of the xdm configuration hoops? > One idea is to use SSH. If you have sshd on the remote desktop you can use ssh -X to enable X11 forwarding. Just ssh into the remote box and run the X application and you're set to go, provided that X11 forwarding is enabled in the remote sshd_config. Good Luck, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
remote X display
Hi all, I have been looking all over for a concise howto for remote X on FreeBSD. I see some that involve changing config files in the xdm directory, others use xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT. All I want to do is use a laptop in a local network to be an X client connected to a more powerful desktop machine. I'm not worried about security. Is xhosts and the DISPLAY variable all I need? Or do I need to go through all of the xdm configuration hoops? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setting up remote X
Exceed is a Windows Xserver implementation for Microsoft Windows platforms (maybe others). One can use it many different ways to do what you want. I haven't used it in over a year. I think the closest thing similar to VNC is to use xdm. Exceed can give you a "chooser" from which you select the host and then get a graphical logon prompt. The entire Exceed window is the display from the xclient. The help in exceed explains how to do this. Setting up the Unix boxes can be challenging for the inexperienced. The folks who use it at work basically rsh into the unix box, fire off an X application passing in the display of the computer running exceed and up pops a window on their PC. That is kind of insecure. Its one of the selections in Exceed. Last time I played with it, I had exceed act as a Xserver and then used Putty to ssh into the Unix box and fire of an X application with my PC's display. The help for Exceed was pretty good and its better than the other products we had at work. The on-line help is the place to look. On Tue, 12 Aug 2003 02:25:55 +0100 Matt Heath <[EMAIL PROTECTED]> wrote: > george wrote: > > >I have a few headless boxes and would like to be able to > >bring up the xserver remotely using Exceed but have no idea > >on how to go about it. > > > >anyone point me to a tutorial or instructions for this? > > > >I dont want to run vncserver but i would like a similiar approace > >without the web > >interface if possible, we did something similiar on a Sun machine at > >work all the time but i dont know what they set up to allow wheather > >it be rexec or rlogin. Please help. > > > > I have no idea about Exceed and it is not a great search term > > here's how I run programs remotely that display locally : > > local% startx > ... > local% ssh -X remote > > remote% xclock > > and xclock pops up on my local display with the remote time > > > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setting up remote X
george wrote: I have a few headless boxes and would like to be able to bring up the xserver remotely using Exceed but have no idea on how to go about it. anyone point me to a tutorial or instructions for this? I dont want to run vncserver but i would like a similiar approace without the web interface if possible, we did something similiar on a Sun machine at work all the time but i dont know what they set up to allow wheather it be rexec or rlogin. Please help. I have no idea about Exceed and it is not a great search term here's how I run programs remotely that display locally : local% startx ... local% ssh -X remote remote% xclock and xclock pops up on my local display with the remote time ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
setting up remote X
I have a few headless boxes and would like to be able to bring up the xserver remotely using Exceed but have no idea on how to go about it. anyone point me to a tutorial or instructions for this? I dont want to run vncserver but i would like a similiar approace without the web interface if possible, we did something similiar on a Sun machine at work all the time but i dont know what they set up to allow wheather it be rexec or rlogin. Please help. George ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh/root and remote X sessiosn
stan <[EMAIL PROTECTED]> writes: > I have my FreebSD machines set up in the current "preferred" (IE default) > ssh/tty setup which prohibits remote ssh logins. So to get to root I ssh as > my normal user, and su -. All is well, unless I need to run a client as > root. Even manually setting the DISPLAY variable does not seem to allow > this. > > How can I make this work? > You need to get xauth to work. Assuming you're ssh-ing as user USER, this is an easy to to achieve this. Type this after the "su". For csh or tcsh: setenv HOME ~USER For bash it's "export HOME=~USER". -- Dan Pelleg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ssh/root and remote X sessiosn
I have my FreebSD machines set up in the current "preferred" (IE default) ssh/tty setup which prohibits remote ssh logins. So to get to root I ssh as my normal user, and su -. All is well, unless I need to run a client as root. Even manually setting the DISPLAY variable does not seem to allow this. How can I make this work? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote X and a few questions..
I am running FreeBSD 5.1-RELEASE. 1. Whenever I start X, I see the information shown in the following file - https://beastie.wananchi.com/~wash/XFree86-log.txt This, while I actually have installed v4.3 from the ports. Is it that some files are still lurking somewhere or what?? Why does it not show 4.3.x 2. After I upgraded to ver 4.3.x some applications which used to display using remote X to the remote box stopped working and give an error like: Gtk-WARNING **: cannot open display: 62.8.64.13:0.0 (well, that is the real IP). [EMAIL PROTECTED] ('tty') ~ 3 -> echo $DISPLAY 62.8.64.13:0.0 [EMAIL PROTECTED] ('tty') ~ 2 -> xcalc Error: Can't open display: 62.8.64.13:0.0 I am wondering what I'm missing. Thanks -Wash -- Odhiambo Washington <[EMAIL PROTECTED]> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) "Pascal is not a high-level language." -- Steven Feiner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote X
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remap mouse buttons for remote X serverss
LLeweLLyn, Thanks for the idea, but unfortunately, the X server is running on the Explora, and it doesn't have the equivalent of an XF86Config. It is beginning to look like I may just be out of luck, unless I can get KDE or gnome to handle the mouse mangling for me, as they (and the apps), are the only thing running on the BSD box. Thanks, Seth Henry On Sun, 2003-07-20 at 23:29, LLeweLLyn Reese wrote: > "J. Seth Henry" <[EMAIL PROTECTED]> writes: > > > Hi gang, > > I've recently started using NCD Explora's to connect to my FreeBSD > > server. They are quiet, reasonably fast, and small. Unfortunately, > > NCDware has some odd quirks. > > > > The first is that it only supports a two-button mouse. What's odd is > > that when I run xev, it reports button1 and button3? (I have a wheel > > mouse attached - but the wheel button doesn't show up). > > > > I'd like to chord the mouse buttons, but I'm not sure how to do that, > > given that I'm no longer running X locally. IOW - I'd like to be able to > > use cut and paste in xterms again. > > You should be able to chord by putting this in your XF86Config: > > Option "Emulate3Buttons" > > Also, you may find: > > http://www.xfree86.org/~dawes/4.3.0/mouse5.html#21 > > useful in general. > > > > > > The other is that the page-up key doesn't work correctly. However, I > > think that may be "fixable" with xmodmap. > [snip] > > You could try different XkbModels. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remap mouse buttons for remote X serverss
"J. Seth Henry" <[EMAIL PROTECTED]> writes: > Hi gang, > I've recently started using NCD Explora's to connect to my FreeBSD > server. They are quiet, reasonably fast, and small. Unfortunately, > NCDware has some odd quirks. > > The first is that it only supports a two-button mouse. What's odd is > that when I run xev, it reports button1 and button3? (I have a wheel > mouse attached - but the wheel button doesn't show up). > > I'd like to chord the mouse buttons, but I'm not sure how to do that, > given that I'm no longer running X locally. IOW - I'd like to be able to > use cut and paste in xterms again. You should be able to chord by putting this in your XF86Config: Option "Emulate3Buttons" Also, you may find: http://www.xfree86.org/~dawes/4.3.0/mouse5.html#21 useful in general. > > The other is that the page-up key doesn't work correctly. However, I > think that may be "fixable" with xmodmap. [snip] You could try different XkbModels. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remap mouse buttons for remote X serverss
Hi gang, I've recently started using NCD Explora's to connect to my FreeBSD server. They are quiet, reasonably fast, and small. Unfortunately, NCDware has some odd quirks. The first is that it only supports a two-button mouse. What's odd is that when I run xev, it reports button1 and button3? (I have a wheel mouse attached - but the wheel button doesn't show up). I'd like to chord the mouse buttons, but I'm not sure how to do that, given that I'm no longer running X locally. IOW - I'd like to be able to use cut and paste in xterms again. The other is that the page-up key doesn't work correctly. However, I think that may be "fixable" with xmodmap. Thanks, Seth Henry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X on 5.1-RELEASE
On Mon, Jun 30, 2003 at 09:51:47AM -0500, Terry Todd wrote: > On Mon, Jun 30, 2003 at 07:00:23AM +0200, Roman Neuhauser wrote: > > # [EMAIL PROTECTED] / 2003-06-29 08:07:45 -0500: > > > How do you get remote X to work with 5.1-RELEASE? > > > > > > Here is an attempt with some fields blanked out. > > > > > > $ xhost + > > > access control disabled, clients can connect from any host > > > $ telnet __ > > > Trying ___.___.__.___... > > > > > > > > > [EMAIL PROTECTED]> xterm > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > > xterm Xt error: Can't open display: __.__.___:0.0 > > > [EMAIL PROTECTED]> > > > > > > The errno man page says errno 61 is connection refused. There is no > > > firewall or anything on the laptop running 5.1-RELEASE on a local subnet. > > > It is a fairly generic install except I had to recompile with OLDCARD. > > > > is the X server actually listening to remote connections? see > > startx(1). > > > > Yes, this is the answer. startx must now be run with the -listen_tcp option > in order for remote X to work. That's not entirely true. There's a reason why startx was modified to prevent the X server listening on the network --- using a remote session via the clear text X protocol is about as bad as using telnet or rlogin or rsh: anyone can snoop on what you are doing and pick up any passwords etc. you happen to type in. Unless you're running solely over networks where there is no access by untrusted parties, you should be using encryption to protect your remote access. Generally that translates to "use ssh" -- and ssh(1) can protect your X sessions in exactly the same way that it will protect a tty based login session. It just needs a little configuration first. On your workstation (ie. with the screen in front of you), you need to tell the ssh client to attempt to tunnel X sessions with the remote machines you log into. Either edit /etc/ssh/ssh_config to change the defaults system wide, or edit ~/.ssh/config to make the changes on a per-user basis. You can select the systems you want to tunnel X stuff from by name, eg. add: Host foo bar *.example.com ForwardX11 yes (There's other options you can use here: see ssh_config(5) for details) Note that the name match is against what you type on the command line, not against the fully qualified name of the host. On the X server, make sure that /etc/ssh/sshd_config does not contain 'X11Forwarding no'. The default on FreeBSD and other systems that use OpenSSH (which is shown commented out in the sshd_config file) is to permit X11Forwarding, so likely you won't need to change anything. Now, to test, open a ssh session on a remote machine using the '-v' verbose option: % ssh -v hostname Amongst the output you should see: debug1: Requesting X11 forwarding with authentication spoofing. debug1: channel request 0: x11-req and you'll find that the DISPLAY variable has been automatically set in your environment on the remote system to something like: % echo $DISPLAY localhost:10.0 Now when you start up an X program on the remote, it should display on your desktop, and all without having your X server listen on the network at all. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: remote X on 5.1-RELEASE
On Mon, Jun 30, 2003 at 07:00:23AM +0200, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2003-06-29 08:07:45 -0500: > > How do you get remote X to work with 5.1-RELEASE? > > > > Here is an attempt with some fields blanked out. > > > > $ xhost + > > access control disabled, clients can connect from any host > > $ telnet __ > > Trying ___.___.__.___... > > > > > > [EMAIL PROTECTED]> xterm > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > _X11TransSocketINETConnect: Can't connect: errno = 61 > > xterm Xt error: Can't open display: __.__.___:0.0 > > [EMAIL PROTECTED]> > > > > The errno man page says errno 61 is connection refused. There is no > > firewall or anything on the laptop running 5.1-RELEASE on a local subnet. > > It is a fairly generic install except I had to recompile with OLDCARD. > > is the X server actually listening to remote connections? see > startx(1). > Yes, this is the answer. startx must now be run with the -listen_tcp option in order for remote X to work. Thanks, Terry Todd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: remote X on 5.1-RELEASE
# [EMAIL PROTECTED] / 2003-06-29 08:07:45 -0500: > How do you get remote X to work with 5.1-RELEASE? > > Here is an attempt with some fields blanked out. > > $ xhost + > access control disabled, clients can connect from any host > $ telnet __ > Trying ___.___.__.___... > > > [EMAIL PROTECTED]> xterm > _X11TransSocketINETConnect: Can't connect: errno = 61 > _X11TransSocketINETConnect: Can't connect: errno = 61 > _X11TransSocketINETConnect: Can't connect: errno = 61 > _X11TransSocketINETConnect: Can't connect: errno = 61 > _X11TransSocketINETConnect: Can't connect: errno = 61 > _X11TransSocketINETConnect: Can't connect: errno = 61 > xterm Xt error: Can't open display: __.__.___:0.0 > [EMAIL PROTECTED]> > > The errno man page says errno 61 is connection refused. There is no > firewall or anything on the laptop running 5.1-RELEASE on a local subnet. > It is a fairly generic install except I had to recompile with OLDCARD. is the X server actually listening to remote connections? see startx(1). -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
remote X on 5.1-RELEASE
How do you get remote X to work with 5.1-RELEASE? Here is an attempt with some fields blanked out. $ xhost + access control disabled, clients can connect from any host $ telnet __ Trying ___.___.__.___... [EMAIL PROTECTED]> xterm _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 _X11TransSocketINETConnect: Can't connect: errno = 61 xterm Xt error: Can't open display: __.__.___:0.0 [EMAIL PROTECTED]> The errno man page says errno 61 is connection refused. There is no firewall or anything on the laptop running 5.1-RELEASE on a local subnet. It is a fairly generic install except I had to recompile with OLDCARD. TIA Terry Todd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote X from another BSD Box
Hi, sorry I missed the beginning of this thread, so I jump in between. Hi all. I'd imagine this would be fairly simple since I got it to work from Xmanager for Windows...but I'm having difficulties. I have 2 boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full blown install of X with KDE and all kinds of stuff, the OpenBSD just has a basic X installed with xdm. I'd like to be able to use the OpenBSD box as a display for the FreeBSD box. I thought I'd just be able to ssh into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but no dice. Can someone help me out? You probably want to look at the -x and -X options of ssh and make sure the sshd on your FreeBSD box is configured to allow X tunneling. Ciao Siegbert To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Remote X from another BSD Box
On Friday, 21 March 2003 at 4:02:53 -0800, Aaron Burke wrote: >> On Wednesday, 19 March 2003 at 22:06:45 -0500, Brian McCann wrote: >>> Hi all. I'd imagine this would be fairly simple since I got it to work >>> from Xmanager for Windows...but I'm having difficulties. I have 2 >>> boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full >>> blown install of X with KDE and all kinds of stuff, the OpenBSD just has >>> a basic X installed with xdm. I'd like to be able to use the OpenBSD >>> box as a display for the FreeBSD box. I thought I'd just be able to ssh >>> into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but >>> no dice. Can someone help me out? >> >> The most obvious way of doing this is to start an xterm on the FreeBSD >> server: >> >> xterm -display freebsd:0.0 & > > There is also an other way via xdm. But for this to work you need to > uncomment the last line in /usr/X11R6/lib/X11/xdm/xdm-config. This is dangerous advice. It's possible for this file to change, and the last line to become something different. In the default file on my system (4.1.0), it's not commented out. You should describe exactly what configuration change to make. > You will also want to make sure your kernel contians the line > "options XSERVER" (no quotes). You don't need either of these to run xdm. >> For this to work, you should: >> >> 1. On the FreeBSD box, modify /usr/X11R6/bin/startx. Change the line >> >> listen_tcp="-nolisten tcp" >> >> to >> >> listen_tcp="" > > Not sure that this is needed, I have never changed it. However > I share x-windows using XDM. If you start X from startx, and you want to connect from another machine, this is absolutely necessary. The default changed a couple of years ago, and it caused a lot of pain. >> 2. Also on the FreeBSD box, run xhost: >> >> xhost openbsd > > Guessing that xhost is kind of like the configurations of an > X server. Don't guess, check. There's a man page: NAME xhost - server access control program for X It's nothing like configuring an X server. >> This applies to any other X application as well, of course. > > If you enable xdm (X Display Manager) X-Windows will become > an X-Server for every computer on your network. Well, no, it remains a display manager. And who can access it depends on how you set up your access control in /usr/X11R6/lib/X11/xdm/Xaccess. By default, only the local system can access the display manager. That's as it should be. > Other people know of some ways to limit this functionallity by > modify which hosts your machine will listen on. You edit /usr/X11R6/lib/X11/xdm/Xaccess. Running xdm still seems to be the less popular way to run X. I personally haven't seen any need for it. Greg -- See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
RE: Remote X from another BSD Box
> On Wednesday, 19 March 2003 at 22:06:45 -0500, Brian McCann wrote: > > Hi all. I'd imagine this would be fairly simple since I got it to work > > from Xmanager for Windows...but I'm having difficulties. I have 2 > > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > > a basic X installed with xdm. I'd like to be able to use the OpenBSD > > box as a display for the FreeBSD box. I thought I'd just be able to ssh > > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > > no dice. Can someone help me out? > > The most obvious way of doing this is to start an xterm on the FreeBSD > server: > > xterm -display freebsd:0.0 & There is also an other way via xdm. But for this to work you need to uncomment the last line in /usr/X11R6/lib/X11/xdm/xdm-config. You will also want to make sure your kernel contians the line "options XSERVER" (no quotes). > > For this to work, you should: > > 1. On the FreeBSD box, modify /usr/X11R6/bin/startx. Change the line > > listen_tcp="-nolisten tcp" > > to > > listen_tcp="" Not sure that this is needed, I have never changed it. However I share x-windows using XDM. > > 2. Also on the FreeBSD box, run xhost: > > xhost openbsd Guessing that xhost is kind of like the configurations of an X server. > > This applies to any other X application as well, of course. If you enable xdm (X Display Manager) X-Windows will become an X-Server for every computer on your network. Other people know of some ways to limit this functionallity by modify which hosts your machine will listen on. And With XDM running on a server you connect to it via: >From a UNIX box: "X -query other.freebsd.box" Or: "X -broadcast" Asks for any display server that is running a display manager. A list is generated on your client. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Remote X from another BSD Box
On Wednesday, 19 March 2003 at 22:06:45 -0500, Brian McCann wrote: > Hi all. I'd imagine this would be fairly simple since I got it to work > from Xmanager for Windows...but I'm having difficulties. I have 2 > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > a basic X installed with xdm. I'd like to be able to use the OpenBSD > box as a display for the FreeBSD box. I thought I'd just be able to ssh > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > no dice. Can someone help me out? The most obvious way of doing this is to start an xterm on the FreeBSD server: xterm -display freebsd:0.0 & For this to work, you should: 1. On the FreeBSD box, modify /usr/X11R6/bin/startx. Change the line listen_tcp="-nolisten tcp" to listen_tcp="" 2. Also on the FreeBSD box, run xhost: xhost openbsd This applies to any other X application as well, of course. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
RE: Remote X from another BSD Box
On Wed, 19 Mar 2003, Brian McCann wrote: > Thanks guys, -X worked great! KDE on my Sun box now. :) Now all I need > is a non-optical Sun mouse, and to try NetBSD so I can use SMP. :) > > --Brian Just to throw in some 0.01 ยค : If you can spare some time, have a look at /usr/ports/vnc . You can not only access X-Servers on different UN*X platforms, but also Windows machines via any JAVA capable Browser. Regards and sorry for interfering, Uli. > > -Original Message- > From: Tim Peters [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 10:40 PM > To: Brian McCann > Cc: [EMAIL PROTECTED] > Subject: Re: Remote X from another BSD Box > > > On Wed, Mar 19, 2003 at 10:06:45PM -0500, Brian McCann wrote: > > Hi all. I'd imagine this would be fairly simple since I got it to > > work from Xmanager for Windows...but I'm having difficulties. I have > > 2 boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a > > full blown install of X with KDE and all kinds of stuff, the OpenBSD > > just has a basic X installed with xdm. I'd like to be able to use the > > > OpenBSD box as a display for the FreeBSD box. I thought I'd just be > > able to ssh into the FreeBSD box and run xmms, xcalc, xterm, whatever > > I wanted...but no dice. Can someone help me out? > > Connect with something like: > > openbsd.box% ssh -X [EMAIL PROTECTED] > > Then just start your favourite X applications, and they will display on > the OpenBSD machine like you want. If that doesn't work, add '-v' to > the ssh options to see what goes wrong. > > HTH, > > -tim > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > +---+ |Peter Ulrich Kruppa| | - Wuppertal - | | Germany | +---+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Remote X from another BSD Box
Thanks guys, -X worked great! KDE on my Sun box now. :) Now all I need is a non-optical Sun mouse, and to try NetBSD so I can use SMP. :) --Brian -Original Message- From: Tim Peters [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:40 PM To: Brian McCann Cc: [EMAIL PROTECTED] Subject: Re: Remote X from another BSD Box On Wed, Mar 19, 2003 at 10:06:45PM -0500, Brian McCann wrote: > Hi all. I'd imagine this would be fairly simple since I got it to > work from Xmanager for Windows...but I'm having difficulties. I have > 2 boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a > full blown install of X with KDE and all kinds of stuff, the OpenBSD > just has a basic X installed with xdm. I'd like to be able to use the > OpenBSD box as a display for the FreeBSD box. I thought I'd just be > able to ssh into the FreeBSD box and run xmms, xcalc, xterm, whatever > I wanted...but no dice. Can someone help me out? Connect with something like: openbsd.box% ssh -X [EMAIL PROTECTED] Then just start your favourite X applications, and they will display on the OpenBSD machine like you want. If that doesn't work, add '-v' to the ssh options to see what goes wrong. HTH, -tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Remote X from another BSD Box
On Wed, Mar 19, 2003 at 10:06:45PM -0500, Brian McCann wrote: > Hi all. I'd imagine this would be fairly simple since I got it to work > from Xmanager for Windows...but I'm having difficulties. I have 2 > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > a basic X installed with xdm. I'd like to be able to use the OpenBSD > box as a display for the FreeBSD box. I thought I'd just be able to ssh > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > no dice. Can someone help me out? Connect with something like: openbsd.box% ssh -X [EMAIL PROTECTED] Then just start your favourite X applications, and they will display on the OpenBSD machine like you want. If that doesn't work, add '-v' to the ssh options to see what goes wrong. HTH, -tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Remote X from another BSD Box
Sorry to reply to my own post, but I realized I made a couple of assumptions. First, the below mentions commands have to be issued on the FreeBSD box after you ssh to it from the Open BSD box, and second, you may be required to issue the >xhost [the ip address of the FreeBSD box] on the Openbsd box before sshing to the FreeBSD box, to allow the Xserver on the OpenBSD box to allow X connections from the remote FreeBSD box. I'm not certain that OpenBSD requires the xhost option the same way that FreeBSD does, but given that OpenBSD has a more spartan security model than FreeBSD's own conservative implementation, an xhost command (or the OpenBSD equivalent) is likely to be needed. Tim Kellers CPE/NJIT On Wednesday 19 March 2003 10:15 pm, Tim Kellers wrote: > Are you setting your DISPLAY variable? for example: > > bash export $DISPLAY=(the IP address of the Open BSD box):0.0 > > or for the (t)csh > > >setenv DISPLAY (the IP address of the Open BSD box):0.0 > > where the :0.0 part is the number of the X display on your OpenBSD box > > Tim Kellers > CPE/NJIT > > On Wednesday 19 March 2003 10:06 pm, Brian McCann wrote: > > Hi all. I'd imagine this would be fairly simple since I got it to work > > from Xmanager for Windows...but I'm having difficulties. I have 2 > > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > > a basic X installed with xdm. I'd like to be able to use the OpenBSD > > box as a display for the FreeBSD box. I thought I'd just be able to ssh > > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > > no dice. Can someone help me out? > > > > Thanks, > > --Brian > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Remote X from another BSD Box
Ok...I think I have a partial lack of understanding of how the display numbers work. I tried 0.0, and it said the connection was refused, followed by "no protocol specified". I also tried 0.2 on a longshot. BTW, I'm running these commands from an xterm windowif that helps/matters. --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Kellers Sent: Wednesday, March 19, 2003 10:15 PM To: Brian McCann; [EMAIL PROTECTED] Subject: Re: Remote X from another BSD Box Are you setting your DISPLAY variable? for example: bash export $DISPLAY=(the IP address of the Open BSD box):0.0 or for the (t)csh >setenv DISPLAY (the IP address of the Open BSD box):0.0 where the :0.0 part is the number of the X display on your OpenBSD box Tim Kellers CPE/NJIT On Wednesday 19 March 2003 10:06 pm, Brian McCann wrote: > Hi all. I'd imagine this would be fairly simple since I got it to > work from Xmanager for Windows...but I'm having difficulties. I have > 2 boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a > full blown install of X with KDE and all kinds of stuff, the OpenBSD > just has a basic X installed with xdm. I'd like to be able to use the > OpenBSD box as a display for the FreeBSD box. I thought I'd just be > able to ssh into the FreeBSD box and run xmms, xcalc, xterm, whatever > I wanted...but no dice. Can someone help me out? > > Thanks, > --Brian > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Remote X from another BSD Box
Are you setting your DISPLAY variable? for example: bash export $DISPLAY=(the IP address of the Open BSD box):0.0 or for the (t)csh >setenv DISPLAY (the IP address of the Open BSD box):0.0 where the :0.0 part is the number of the X display on your OpenBSD box Tim Kellers CPE/NJIT On Wednesday 19 March 2003 10:06 pm, Brian McCann wrote: > Hi all. I'd imagine this would be fairly simple since I got it to work > from Xmanager for Windows...but I'm having difficulties. I have 2 > boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full > blown install of X with KDE and all kinds of stuff, the OpenBSD just has > a basic X installed with xdm. I'd like to be able to use the OpenBSD > box as a display for the FreeBSD box. I thought I'd just be able to ssh > into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but > no dice. Can someone help me out? > > Thanks, > --Brian > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Remote X from another BSD Box
Hi all. I'd imagine this would be fairly simple since I got it to work from Xmanager for Windows...but I'm having difficulties. I have 2 boxes, both BSD (one FreeBSD, one OpenBSD). The FreeBSD box has a full blown install of X with KDE and all kinds of stuff, the OpenBSD just has a basic X installed with xdm. I'd like to be able to use the OpenBSD box as a display for the FreeBSD box. I thought I'd just be able to ssh into the FreeBSD box and run xmms, xcalc, xterm, whatever I wanted...but no dice. Can someone help me out? Thanks, --Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Remote X Problems
Hi all. I'm having more problems getting this X app to run remotely. Whenever Xmanager tries to run it, it gives me the error "No xauth program; cannot forward with spoofing.wl Failed.", and the only way it seams to work is if I install XFree86-4. Does anyone know if there is a way around this? Thanks, --Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
got Cygwin/XFree86 installed.. next step to get a remote x display?
heh i actually started trying things out and i already can run apps from my fbsd box and get them displayed on cygwin/xf86 server.. but without the window manager :\ (did it with ssh -X) What should I do in order to view the remote display here on my win2k box properly, with KDE running, my background etc etc? help would be *much* appreciated ;) __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: remote X
Rotaru - On Fri, 15 Nov 2002, Rotaru Razvan wrote: > Is it possible to use the local X11 Server for remote applications? For > instance via ssh. I have my XWindows started, i log myself in via ssh > on a remote host, and I want to run a graphical application on the > remote host. Or is it possible the other way (a local application on a > remote server)? Or is there any other way I can run a graphical > application on a remote host that i am logged on via ssh? I expect it depends on your SSH client, but on my systems you open a console session on the local X-server, invoke 'ssh -X' and then whatever remote X-windows application to project its display back to your host: % ssh [EMAIL PROTECTED] -X [... login dialog ...] % emacs & % [another session is opened on my screen running 'emacs', and since I "backgrounded" the remote app, the console remains live for further commands. Check 'man ssh'. Depending on what type of X authorization you use, you may have to put the remote login on a list of permitted users of your local display (xauth or whatever). - John Mills To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: remote X
Hi Razvan, Does this help? http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1611154+0+current/freebsd-questions Thanatos Rotaru Razvan wrote: Is it possible to use the local X11 Server for remote applications? For instance via ssh. I have my XWindows started, i log myself in via ssh on a remote host, and I want to run a graphical application on the remote host. Or is it possible the other way (a local application on a remote server)? Or is there any other way I can run a graphical application on a remote host that i am logged on via ssh? Thanks, Razvan __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
remote X
Is it possible to use the local X11 Server for remote applications? For instance via ssh. I have my XWindows started, i log myself in via ssh on a remote host, and I want to run a graphical application on the remote host. Or is it possible the other way (a local application on a remote server)? Or is there any other way I can run a graphical application on a remote host that i am logged on via ssh? Thanks, Razvan __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message