cannot connect to kali2 [3]

cannot connect to kali2

Thursday, October 6, 2016 3:54 AM - wanyong

[11:53:21] Connecting...
[11:53:21] 正在查找主机'10.255.250.30'的IP地址...
[11:53:21] Connected.
[11:53:21] Version exchange initiated...
[11:53:21] server: SSH-2.0-OpenSSH_7.3p1 Debian-1
[11:53:21] client: SSH-2.0-nsssh2_5.0.0033 NetSarang Computer, Inc.
[11:53:21] SSH2 is selected.
[11:53:21] Algorithm negotiation initiated... (mode 0)
[11:53:21] key exchange: ecdh-sha2-nistp256
[11:53:21] host key: ssh-rsa
[11:53:21] outgoing encryption: aes128-gcm@openssh.com
[11:53:21] incoming encryption: aes128-gcm@openssh.com
[11:53:22] outgoing mac: hmac-sha2-256-etm@openssh.com
[11:53:22] incoming mac: hmac-sha2-256-etm@openssh.com
[11:53:22] outgoing compression: none
[11:53:22] incoming compression: none
[11:53:22] Host authentication initiated...
[11:53:22] Hostkey fingerprint:
[11:53:22] ssh-rsa 2048 3e:1e:f4:05:3d:37:ad:74:bc:6b:d6:c2:8e:25:dd:dd
[11:53:22] Accepted. Verifying host key...
[11:53:22] Verified.
[11:53:22] User authentication initiated...
[11:53:22] Sent user name 'root'.
[11:53:22] Sent password.
[11:53:22] Access granted.
[11:53:23] 已申请X11转移...
[11:53:23] 成功
[11:53:23] 发送命令行。
[11:53:23] /usr/bin/gnome-session --display $DISPLAY
[11:53:23] Start timer (TIMER_SHUTDOWN, 180).

** (gnome-session-binary:14254): WARNING **: 妾

Program Ver. : Xmanager 5
Connect Method : Xstart connection


configuration: cannot connect to kali2

Thursday, October 6, 2016 4:30 AM - wanyong

Kali: ip is 10.25.250.30

root@kali2016-32:~# cat /etc/gdm3/daemon.conf
[daemon]
[security]
AllowRoot = true
[xdmcp]
Enable=1
[greeter]
[chooser]
[debug]

root@kali2016-32:~# cat /root/.bashrc
export DISPLAY=10.255.250.1:0.0
……

Windows 2012: ip is 10.255.250.1
The picture 30.jpg is setup about Xstart.in this case,cannot run xclock,see 30-1.jpg.
The picture 30-3.jpg is about xdmcp,but can to run xclock,see to 30-2.jpg.


Configuration: cannot connect to kali2

Thursday, October 6, 2016 4:33 AM - wanyong

attachment.


Re: cannot connect to kali2

Friday, October 7, 2016 9:00 AM - Octavinus

You don't need to export DISPLAY env. Actually you should not do that. Especially if it is ssh connection.


Previous views: 168