Re: deny of x sessions

2006-11-17 Thread Garrett Cooper

Lowell Gilbert wrote:

"Alain G. Fabry" <[EMAIL PROTECTED]> writes:

  

Thanks, problem is solved. I rebooted in single user mode and then the file 
could be modified.



Make sure that the permissions and flags on the file are set so that
next time you want to change it, you can do so from multiuser mode.  
I don't see any security reason for protecting this file more than

normal write modes.
   I think that the real problem is that you're missing something with 
KDM (settings wise), and it was overwriting the settings each time with 
the changes it received while you were operating in multi-user mode with 
your account (which should have been no changes, unless you modified 
something inadvertently). Try shutting down KDM, this prior to modifying 
the file.
   You _really_ don't want to connect to an X session remotely or your 
regular user account via telnet. Be sure that you know the security 
implications of doing this, before doing it.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deny of x sessions

2006-11-17 Thread Lowell Gilbert
"Alain G. Fabry" <[EMAIL PROTECTED]> writes:

> Thanks, problem is solved. I rebooted in single user mode and then the file 
> could be modified.

Make sure that the permissions and flags on the file are set so that
next time you want to change it, you can do so from multiuser mode.  
I don't see any security reason for protecting this file more than
normal write modes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deny of x sessions

2006-11-17 Thread Alain G. Fabry
On Fri, Nov 17, 2006 at 12:54:37PM -0600, Alain Fabry wrote:
> 
> 
> > To: [EMAIL PROTECTED]> From: [EMAIL PROTECTED]> Date: Thu, 16 Nov 2006 
> > 17:17:05 -0500> CC: freebsd-questions@freebsd.org> Subject: Re: deny of x 
> > sessions> > "Alain G. Fabry" <[EMAIL PROTECTED]> writes:> > > Hey,> >> > 
> > I've just installed KDE 4.5.3 on a FreeBSD 6.1 system.> >> > I'm having 
> > problem getting an x-window from another PC when I'm connected to that PC 
> > via telnet (with ssh -X  everything works fine)> >> > When I telnet to 
> > the other machine and export/setenv my DISPLAY environment towards the 
> > display I'm telnetting from, I get the following error.> >> > xterm Xt 
> > error: Can't open display: 10.0.0.250:0.0> >> > I've already tried to 
> > change the kdmrc by removing the -nolisten tcp or commenting out> >> > 
> > ServerArgsLocal=-nolisten tcp> >> > but this does not seem to work 
> > eitherwhen I reboot, it even undoes all the changes I've made to the 
> > file (as root)> >> > Anybody can give me some advise on what I need to do 
> > to accept incoming x11 requests.> >> > x11 packets are received (seen by a 
> > tcpdump) but it just does not want to work.> > Is the TCP port open?> 
> It is indeed a problem with the TCP port. The X server is started with the 
> '-nolisten tcp' argument, which makes it not listen to port 6000.
> I've tried several times to change the .kdmrc file by removing the nolisten 
> option (as root), but whenever I reboot, this argument is put back in place.
>  
> How can I make the X-server to listen on port 6000??
>  
> Running KDE 3.5.4.
>  
> Thanks.
> _
> Search from any Web page with powerful protection. Get the FREE Windows Live 
> Toolbar Today!
> http://get.live.com/toolbar/overview___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Thanks, problem is solved. I rebooted in single user mode and then the file 
could be modified.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: deny of x sessions

2006-11-17 Thread Alain Fabry


> To: [EMAIL PROTECTED]> From: [EMAIL PROTECTED]> Date: Thu, 16 Nov 2006 
> 17:17:05 -0500> CC: freebsd-questions@freebsd.org> Subject: Re: deny of x 
> sessions> > "Alain G. Fabry" <[EMAIL PROTECTED]> writes:> > > Hey,> >> > I've 
> just installed KDE 4.5.3 on a FreeBSD 6.1 system.> >> > I'm having problem 
> getting an x-window from another PC when I'm connected to that PC via telnet 
> (with ssh -X  everything works fine)> >> > When I telnet to the other 
> machine and export/setenv my DISPLAY environment towards the display I'm 
> telnetting from, I get the following error.> >> > xterm Xt error: Can't open 
> display: 10.0.0.250:0.0> >> > I've already tried to change the kdmrc by 
> removing the -nolisten tcp or commenting out> >> > ServerArgsLocal=-nolisten 
> tcp> >> > but this does not seem to work eitherwhen I reboot, it even 
> undoes all the changes I've made to the file (as root)> >> > Anybody can give 
> me some advise on what I need to do to accept incoming x11 requests.> >> > 
> x11 packets are received (seen by a tcpdump) but it just does not want to 
> work.> > Is the TCP port open?> 
It is indeed a problem with the TCP port. The X server is started with the 
'-nolisten tcp' argument, which makes it not listen to port 6000.
I've tried several times to change the .kdmrc file by removing the nolisten 
option (as root), but whenever I reboot, this argument is put back in place.
 
How can I make the X-server to listen on port 6000??
 
Running KDE 3.5.4.
 
Thanks.
_
Search from any Web page with powerful protection. Get the FREE Windows Live 
Toolbar Today!
http://get.live.com/toolbar/overview___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deny of x sessions

2006-11-16 Thread Lowell Gilbert
"Alain G. Fabry" <[EMAIL PROTECTED]> writes:

> Hey,
>
> I've just installed KDE 4.5.3 on a FreeBSD 6.1 system.
>
> I'm having problem getting an x-window from another PC when I'm connected to 
> that PC via telnet (with ssh -X  everything works fine)
>
> When I telnet to the other machine and export/setenv my DISPLAY environment 
> towards the display I'm telnetting from, I get the following error.
>
> xterm Xt error: Can't open display: 10.0.0.250:0.0
>
> I've already tried to change the kdmrc by removing the -nolisten tcp or 
> commenting out
>
> ServerArgsLocal=-nolisten tcp
>
> but this does not seem to work eitherwhen I reboot, it even undoes all 
> the changes I've made to the file (as root)
>
> Anybody can give me some advise on what I need to do to accept incoming x11 
> requests.
>
> x11 packets are received (seen by a tcpdump) but it just does not want to 
> work.

Is the TCP port open?

> Just for you info, I did not forget the xhost +
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deny of x sessions

2006-11-16 Thread Garrett Cooper

Alain G. Fabry wrote:

With ssh it works, both with -Y and -X, but I need this to work also with 
regular telnet.

Thanks,

On Thu, Nov 16, 2006 at 11:53:18AM -0800, Garrett Cooper wrote:
  

Alain G. Fabry wrote:


Hey,

I've just installed KDE 4.5.3 on a FreeBSD 6.1 system.

I'm having problem getting an x-window from another PC when I'm connected 
to that PC via telnet (with ssh -X  everything works fine)


When I telnet to the other machine and export/setenv my DISPLAY 
environment towards the display I'm telnetting from, I get the following 
error.


xterm Xt error: Can't open display: 10.0.0.250:0.0

I've already tried to change the kdmrc by removing the -nolisten tcp or 
commenting out


ServerArgsLocal=-nolisten tcp

but this does not seem to work eitherwhen I reboot, it even undoes all 
the changes I've made to the file (as root)


Anybody can give me some advise on what I need to do to accept incoming 
x11 requests.


x11 packets are received (seen by a tcpdump) but it just does not want to 
work.


Just for you info, I did not forget the xhost +

Thanks in advance.
  
Try ssh -Y instead of ssh -X. ssh -X was deprecated some time ago due to 
security concerns I believe over trusted hosts and X11 forwarding 
(Google that particular flag because there are a lot of discussion items 
out there about this).

-Garrett

1. Please top post on this list.
2. Why do you want to do it over regular telnet? It's very insecure and 
unwise to do. If you do want to use telnet, try running xhost after 
logging into the machine. Make sure you login to the machine directly 
with X, as there isn't any portforwarding functionality built in to telnet.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deny of x sessions

2006-11-16 Thread Alain G. Fabry

With ssh it works, both with -Y and -X, but I need this to work also with 
regular telnet.

Thanks,

On Thu, Nov 16, 2006 at 11:53:18AM -0800, Garrett Cooper wrote:
> Alain G. Fabry wrote:
> >Hey,
> >
> >I've just installed KDE 4.5.3 on a FreeBSD 6.1 system.
> >
> >I'm having problem getting an x-window from another PC when I'm connected 
> >to that PC via telnet (with ssh -X  everything works fine)
> >
> >When I telnet to the other machine and export/setenv my DISPLAY 
> >environment towards the display I'm telnetting from, I get the following 
> >error.
> >
> >xterm Xt error: Can't open display: 10.0.0.250:0.0
> >
> >I've already tried to change the kdmrc by removing the -nolisten tcp or 
> >commenting out
> >
> >ServerArgsLocal=-nolisten tcp
> >
> >but this does not seem to work eitherwhen I reboot, it even undoes all 
> >the changes I've made to the file (as root)
> >
> >Anybody can give me some advise on what I need to do to accept incoming 
> >x11 requests.
> >
> >x11 packets are received (seen by a tcpdump) but it just does not want to 
> >work.
> >
> >Just for you info, I did not forget the xhost +
> >
> >Thanks in advance.
> Try ssh -Y instead of ssh -X. ssh -X was deprecated some time ago due to 
> security concerns I believe over trusted hosts and X11 forwarding 
> (Google that particular flag because there are a lot of discussion items 
> out there about this).
> -Garrett
> ___
> 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: deny of x sessions

2006-11-16 Thread Garrett Cooper

Alain G. Fabry wrote:

Hey,

I've just installed KDE 4.5.3 on a FreeBSD 6.1 system.

I'm having problem getting an x-window from another PC when I'm connected to 
that PC via telnet (with ssh -X  everything works fine)

When I telnet to the other machine and export/setenv my DISPLAY environment 
towards the display I'm telnetting from, I get the following error.

xterm Xt error: Can't open display: 10.0.0.250:0.0

I've already tried to change the kdmrc by removing the -nolisten tcp or 
commenting out

ServerArgsLocal=-nolisten tcp

but this does not seem to work eitherwhen I reboot, it even undoes all the 
changes I've made to the file (as root)

Anybody can give me some advise on what I need to do to accept incoming x11 
requests.

x11 packets are received (seen by a tcpdump) but it just does not want to work.

Just for you info, I did not forget the xhost +

Thanks in advance.
Try ssh -Y instead of ssh -X. ssh -X was deprecated some time ago due to 
security concerns I believe over trusted hosts and X11 forwarding 
(Google that particular flag because there are a lot of discussion items 
out there about this).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"