ssh -Y doesn't work

2012-01-16 Thread Pierre Abbat
bash-4.2$ ssh -Y chausie
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Jan 16 05:23:37 2012
phma@chausie:~$ kooka
[1] 2822
phma@chausie:~$ Xlib: connection to localhost:10.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
kooka: cannot connect to X server localhost:10.0

[1]+  Exit 1  kooka
phma@chausie:~$ 

chausie is a Linux box; running ssh -Y darner on chausie does work.

Pierre
-- 
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko


Re: ssh -Y doesn't work

2012-01-16 Thread Chris Turner

On 01/16/12 11:21, Pierre Abbat wrote:

Warning: No xauth data; using fake authentication data for X11 forwarding.

^ this is the problem

Make sure that your DISPLAY is correct on this box, and that X clients can
connect to your X server from here before trying ssh.

Also always a good idea to make sure you *need* ssh -Y instead of plain-old ssh 
-X.

Alternately you can likely muck with the X cookies on the remote end -
see also xauth(1).

Cheers,
- Chris


ppp

2012-01-16 Thread Andrey N. Oktyabrski

Good day.

I see strange thing on my home router:
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 31.181.145.42 -- 85.175.1.69 netmask 0x
inet 46.158.134.228 -- 85.175.1.66 netmask 0x
inet 46.159.172.180 -- 85.175.1.67 netmask 0x
Opened by PID 244

I have the ADSL modem in bridge mode and pppoe connect with NAT:
$ ps ax | grep ppp
  244 ??  SLs  3:18:25 /usr/sbin/ppp -quiet -ddial -nat pppoe

From time to time pppoe link breaks and ppp reconnects.


Re: ssh -Y doesn't work

2012-01-16 Thread Pierre Abbat
On Monday, January 16, 2012 12:33:03 Chris Turner wrote:
 On 01/16/12 11:21, Pierre Abbat wrote:
  Warning: No xauth data; using fake authentication data for X11
  forwarding.
 
 ^ this is the problem
 
 Make sure that your DISPLAY is correct on this box, and that X clients can
 connect to your X server from here before trying ssh.

I already know that. I'm running Kmail on DragonFly now.

 Also always a good idea to make sure you *need* ssh -Y instead of plain-
old
 ssh -X.

What's the difference?

 Alternately you can likely muck with the X cookies on the remote end -
 see also xauth(1).

I don't understand X cookies, but I tried again and it worked:
bash-4.2$ xauth nextract - $DISPLAY
0100 0011 6461726e65722e6978617a6f6e2e6c616e 0001 30 0012 
4d49542d4d414749432d434f4f4b49452d31 0010 snip16bytesofhex
bash-4.2$ ssh -Y chausie
Last login: Mon Jan 16 12:19:01 2012 from darner.ixazon.lan
phma@chausie:~$ xauth nextract - $DISPLAY
No matches found, authority file - not written
phma@chausie:~$ xclock
[1] 11334
(I ran kooka directly on chausie already and scanned what I needed.)

Pierre
-- 
I believe in Yellow when I'm in Sweden and in Black when I'm in Wales.


Re: scroll wheel doesn't work

2012-01-16 Thread Pierre Abbat
The computer got rebooted on me, and it still doesn't work. Here's the ps 
output:

bash-4.2$ ps waux|grep mouse
phma 4064 38.0  0.1   4404   1512  4  DLM+3:04PM   0:00.00 grep 
mouse
root  942  0.0  0.1   2024648 ??  SLMs4:35AM   0:19.69 
/usr/sbin/moused -z 4 -p /dev/psm0 -t auto

What am I missing?

Pierre
-- 
sei do'anai mi'a djuno puze'e noroi nalselganse srera


static route

2012-01-16 Thread Pierre Abbat
How do I set up a static route so that it'll be there the next time I boot?

Pierre
-- 
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko


Re: static route

2012-01-16 Thread Andrey N. Oktyabrski

On 17.01.12 09:31, Pierre Abbat wrote:

How do I set up a static route so that it'll be there the next time I boot?

man rc.conf
/static_routes

f.e.
static_routes=gw1 gw2
route_gw1=192.168.22.0/24 192.168.1.11
route_gw2=192.168.33.0/24 192.168.1.11