Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by
other network addresses/clients?
From: David F. <wb...@ya...> - 2013-10-24 22:42:37
|
Hello Andrej, Thank you for replying! Here is by example: LXDE on Machine #1, IP address 192.168.1.100, with X-based display running. Other machine #2, IP address 192.168.1.101, no X-based display running. Now, user on machine #2 (192.168.1.101) will execute simple application (xterm) with display on machine #1, like this: Machine #2: $ DISPLAY=192.168.1.100:0 $ export DISPLAY $ xterm & Now, I expect xterm window to appear on display of machine #1. However, even with xhost +, it does not work. Does this help explain? Thank you! Dave ### Message: 2 Date: Wed, 23 Oct 2013 02:58:18 +0300 From: "Andrej N. Gritsenko" <an...@re...> Subject: Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by other network addresses/clients? To: lxd...@li... Message-ID: <201...@re...> Content-Type: text/plain; charset=us-ascii Hello! David Feldman has written on Tuesday, 22 October, at 16:01: >I'm still unable to solve this one --- I would like to set my lxde desktop X server to allow incoming connections from other (x-11) clients on my LAN. I tried xhost + (on the LXDE machine) for access control to no avail. The machine on which the LXDE/X server reside has no firewall. What exactly are you trying to achieve? Well, to be exact, in terms of X - server is always X-server that manages display and input (keyboard and mouse), and everything else (including LXDE components) are clients. Clients (applications) may be started as on machine where you are, as on any other host. Server is always started on machine where your display and input are plugged in as I said. You probably mean connection to remote machine where LXDE resides and run, which is well known as XDMCP - you run X server on remote machine in special (proxy) mode so you can start a session using display and input from another host. To allow that you should setup the display manager (XDM, KDM, etc.) to allow remote logins and then start X on another host using option -query, that way you will have only X server running on host with display and input, but all applications will run on remote machine. >I posted this question a couple of weeks ago but still am not able to find a solution; if anyone can assist I'd be very grateful. >Tks! Best regards, Andriy. |
Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by
other network addresses/clients?
From: David F. <wb...@ya...> - 2013-10-25 11:53:55
|
Thank you! The parameter "nolisten -tcp" was what I was looking for. Yes, I understand the xterm will fully interact on machine #1, just executing on machine #2 (as I intend) Very good help! Dave ------------------------------ On Fri, Oct 25, 2013 2:50 AM MDT Daniele Forsi wrote: >2013/10/25 David Feldman : > >> LXDE on Machine #1, IP address 192.168.1.100, with X-based display running. > >on this machine the X server must be run without "-nolisten tcp" (to >check use: ps a | grep X), with lightdm you add xserver-allow-tcp=true >in /etc/lightdm/lightdm.conf >see http://askubuntu.com/questions/72812/how-to-disable-nolisten > >but as Andrej said, when you run a command on machine 2, keyboard and >mouse are those of machine 1 > >-- >Daniele Forsi |
Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by
other network addresses/clients?
From: David F. <wb...@ya...> - 2013-10-30 17:09:21
|
Hello Daniele, Success. I confirm now that I am able to enable external access to X server on lubuntu 12.10 system by (1) adding xserver-allow-tcp=true to /etc/lightdm/lightdm.conf, then (2) execute xhost +. I am in trusted environment so I am not concerned about unauthorized access enabled by xhost +. Thank you again for your information. Dave ### Message: 3 Date: Fri, 25 Oct 2013 10:50:19 +0200 From: Daniele Forsi <df...@gm...> Subject: Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by other network addresses/clients? To: David Feldman <wb...@ya...> Cc: lxde-list <lxd...@li...> Message-ID: <CAN_we7NHO=Cio...@ma...> Content-Type: text/plain; charset=ISO-8859-1 2013/10/25 David Feldman : > LXDE on Machine #1, IP address 192.168.1.100, with X-based display running. on this machine the X server must be run without "-nolisten tcp" (to check use: ps a | grep X), with lightdm you add xserver-allow-tcp=true in /etc/lightdm/lightdm.conf see http://askubuntu.com/questions/72812/how-to-disable-nolisten but as Andrej said, when you run a command on machine 2, keyboard and mouse are those of machine 1 -- Daniele Forsi |
Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by
other network addresses/clients?
From: Andrej N. G. <an...@re...> - 2013-10-24 23:18:24
|
Hello! David Feldman has written on Thursday, 24 October, at 15:42: >Hello Andrej, >Thank you for replying! >Here is by example: >LXDE on Machine #1, IP address 192.168.1.100, with X-based display running. >Other machine #2, IP address 192.168.1.101, no X-based display running. >Now, user on machine #2 (192.168.1.101) will execute simple application (xterm) with display on machine #1, like this: >Machine #2: >$ DISPLAY=192.168.1.100:0 >$ export DISPLAY >$ xterm & >Now, I expect xterm window to appear on display of machine #1. Well, user types it on machine #2 keyboard? How do you suppose to split up keyboard and display? If you read my letter well you should have been read - both display and keyboard should be on the same machine. You can simply ssh from machine #1 to machine #2 (i.e. have keyboard still on machine #1) and execute that command in ssh session on machine #2, that should work. But if you are trying to use keyboard on machine #2 (without X server support) and display on machine #1 for the same application that will never work: application without input is uncontrollable application and X server refuses to start it, and since X server cannot use keyboard on other host, your xterm window will have no keyboard input. >However, even with xhost +, it does not work. You trying to do something invalid, it definitely does not work. :) Best regards, Andriy. |
Re: [Lxde-list] Opening X11 server on LXDE desktop to enable use by
other network addresses/clients?
From: Daniele F. <df...@gm...> - 2013-10-25 08:50:27
|
2013/10/25 David Feldman : > LXDE on Machine #1, IP address 192.168.1.100, with X-based display running. on this machine the X server must be run without "-nolisten tcp" (to check use: ps a | grep X), with lightdm you add xserver-allow-tcp=true in /etc/lightdm/lightdm.conf see http://askubuntu.com/questions/72812/how-to-disable-nolisten but as Andrej said, when you run a command on machine 2, keyboard and mouse are those of machine 1 -- Daniele Forsi |