How to make X listen tcp again?

2019-03-09 Thread Roderick
The default changed, X does not receive Tcp connections. In FreeBSD I solved the problem with a file .xserverrc in my home directory with exec /usr/X11R6/bin/Xorg -listen tcp But this does not work with OpenBSD 6.4 (X does not even execute .xinitrc, I start X with xinit). Any hint? Thanks Ro

Re: How to make X listen tcp again?

2019-03-09 Thread Roderick
Well, now the way below reads .xinitrc, perhaps a lapsus when typing before. With "ssh -X" on the X server I get widgets from the remote server, but not without "ssh -X". Typing in the remote computer I get the following error: # env DISPLAY=192.168.178.47:0.0 xterm xterm: Xt error: Can't ope

Re: How to make X listen tcp again?

2019-03-09 Thread Robert Paschedag
On 3/9/19 2:03 PM, Roderick wrote: > > Well, now the way below reads .xinitrc, perhaps a lapsus when typing > before. > > With "ssh -X" on the X server I get widgets from the remote server, > but not without "ssh -X". > > Typing in the remote computer I get the following error: > > # env DISPLAY=19

Re: How to make X listen tcp again?

2019-03-09 Thread Roderick
On Sat, 9 Mar 2019, Robert Paschedag wrote: I think you also need the "-Y" option in ssh. Thanks, but perhaps I did not express myself correct. I do not want to use ssh. No encription of X11. Just to do as I always did: call an x client specifying a remote display (OpenBSD) either with envi

Re: How to make X listen tcp again?

2019-03-09 Thread chohag
Roderick writes: > > The default changed, X does not receive Tcp connections. In FreeBSD > I solved the problem with a file .xserverrc in my home directory > with > > exec /usr/X11R6/bin/Xorg -listen tcp > > But this does not work with OpenBSD 6.4 (X does not even > execute .xinitrc, I start X w

Re: How to make X listen tcp again?

2019-03-09 Thread Roderick
On Sat, 9 Mar 2019, cho...@jtan.com wrote: > Any hint? Yes: [...] Did you try it? BTW, I started xenodm, logged in, did "xhost +", tried to run an X client on another compiter with this display, and got the same error. Rodrigo

Re: How to make X listen tcp again?

2019-03-09 Thread Christian Weisgerber
On 2019-03-09, Roderick wrote: > The default changed, X does not receive Tcp connections. In addition, the default /etc/pf.conf blocks connections to the X11 server: # By default, do not permit remote connections to X11 block return in on ! lo0 proto tcp to port 6000:6010 -- Christian "naddy"

Re: How to make X listen tcp again?

2019-03-09 Thread chohag
Roderick writes: > On Sat, 9 Mar 2019, cho...@jtan.com wrote: > > > > Any hint? > > > > Yes: [...] > > Did you try it? No but I think you missed the part where I said "and editing /etc/X11/xenodm/Xservers" which is the where the server binary's options (and server binary) are specified. For what

Re: How to make X listen tcp again?

2019-03-10 Thread Roderick
Thanks for the short and helpful answer. It was my error. I shouuld have read pf.conf Anyway: It is a very reasonable security measure. Rodrigo On Sat, 9 Mar 2019, Christian Weisgerber wrote: On 2019-03-09, Roderick wrote: In addition, the default /etc/pf.conf blocks connections to th