Cannot connect to xrdp on Fedora 25 from windows











up vote
3
down vote

favorite
1












With a basic install, per:



dnf install -y xrdp
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
mv cert.pem /etc/xrdp/
mv key.pem /etc/xrdp/
systemctl start xrdp
systemctl status xrdp
systemctl enable xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload


I get the following when trying to connect:



...
VNC error - problem connecting some problem


The content of /var/log/xrdp.log is:



[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63615 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63616
[20170216-18:44:37] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [DEBUG] xrdp_0000105d_wm_login_mode_event_00000001
[20170216-18:44:37] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
[20170216-18:44:37] [DEBUG] returnvalue from xrdp_mm_connect 0
[20170216-18:44:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:43] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:44] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:45] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:46] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:49] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] VNC Error after security negotiation
[20170216-18:44:50] [DEBUG] VNC error before sending share flag
[20170216-18:44:50] [DEBUG] VNC error before receiving server init
[20170216-18:44:50] [DEBUG] VNC error before receiving pixel format
[20170216-18:44:50] [DEBUG] VNC error before receiving name length
[20170216-18:44:50] [DEBUG] VNC error before receiving name
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:44:50] [DEBUG] VNC mod_exit
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:46:09] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:46:09] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:46:09] [INFO ] A connection received from: 192.168.76.11 port 63630
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63630 - socket: 8
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:46:09] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:46:09] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:46:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:46:11] [ERROR] Listening socket is in wrong state we terminate listener


The content of /var/log/xrdp-sesman.log is:



[20170216-18:44:28] [WARN ] [init:46] libscp initialized
[20170216-18:44:28] [CORE ] starting sesman with pid 4144
[20170216-18:44:28] [INFO ] listening...
[20170216-18:44:37] [INFO ] A connection received from: 127.0.0.1 port 44184
[20170216-18:44:38] [INFO ] scp thread on sck 8 started successfully
[20170216-18:44:38] [INFO ] ++ created session (access granted): username root, ip 192.168.76.11:63616 - socket: 8
[20170216-18:44:38] [INFO ] starting Xvnc session...
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] Xvnc :10 -geometry 1904x1003 -depth 24 -rfbauth /root/.vnc/sesman_root_passwd -bs -nolisten tcp -localhost
-dpi 96
[20170216-18:44:38] [INFO ] starting xrdp-sessvc - xpid=4196 - wmpid=4195
[20170216-18:44:38] [INFO ] ++ terminated session: username root, display :10.0, session_pid 4194, ip 192.168.76.11:63616 - socket: 8









share|improve this question
















bumped to the homepage by Community 42 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Did you ever make this work?
    – jc__
    Mar 24 '17 at 18:42















up vote
3
down vote

favorite
1












With a basic install, per:



dnf install -y xrdp
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
mv cert.pem /etc/xrdp/
mv key.pem /etc/xrdp/
systemctl start xrdp
systemctl status xrdp
systemctl enable xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload


I get the following when trying to connect:



...
VNC error - problem connecting some problem


The content of /var/log/xrdp.log is:



[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63615 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63616
[20170216-18:44:37] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [DEBUG] xrdp_0000105d_wm_login_mode_event_00000001
[20170216-18:44:37] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
[20170216-18:44:37] [DEBUG] returnvalue from xrdp_mm_connect 0
[20170216-18:44:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:43] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:44] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:45] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:46] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:49] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] VNC Error after security negotiation
[20170216-18:44:50] [DEBUG] VNC error before sending share flag
[20170216-18:44:50] [DEBUG] VNC error before receiving server init
[20170216-18:44:50] [DEBUG] VNC error before receiving pixel format
[20170216-18:44:50] [DEBUG] VNC error before receiving name length
[20170216-18:44:50] [DEBUG] VNC error before receiving name
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:44:50] [DEBUG] VNC mod_exit
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:46:09] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:46:09] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:46:09] [INFO ] A connection received from: 192.168.76.11 port 63630
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63630 - socket: 8
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:46:09] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:46:09] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:46:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:46:11] [ERROR] Listening socket is in wrong state we terminate listener


The content of /var/log/xrdp-sesman.log is:



[20170216-18:44:28] [WARN ] [init:46] libscp initialized
[20170216-18:44:28] [CORE ] starting sesman with pid 4144
[20170216-18:44:28] [INFO ] listening...
[20170216-18:44:37] [INFO ] A connection received from: 127.0.0.1 port 44184
[20170216-18:44:38] [INFO ] scp thread on sck 8 started successfully
[20170216-18:44:38] [INFO ] ++ created session (access granted): username root, ip 192.168.76.11:63616 - socket: 8
[20170216-18:44:38] [INFO ] starting Xvnc session...
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] Xvnc :10 -geometry 1904x1003 -depth 24 -rfbauth /root/.vnc/sesman_root_passwd -bs -nolisten tcp -localhost
-dpi 96
[20170216-18:44:38] [INFO ] starting xrdp-sessvc - xpid=4196 - wmpid=4195
[20170216-18:44:38] [INFO ] ++ terminated session: username root, display :10.0, session_pid 4194, ip 192.168.76.11:63616 - socket: 8









share|improve this question
















bumped to the homepage by Community 42 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Did you ever make this work?
    – jc__
    Mar 24 '17 at 18:42













up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





With a basic install, per:



dnf install -y xrdp
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
mv cert.pem /etc/xrdp/
mv key.pem /etc/xrdp/
systemctl start xrdp
systemctl status xrdp
systemctl enable xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload


I get the following when trying to connect:



...
VNC error - problem connecting some problem


The content of /var/log/xrdp.log is:



[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63615 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63616
[20170216-18:44:37] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [DEBUG] xrdp_0000105d_wm_login_mode_event_00000001
[20170216-18:44:37] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
[20170216-18:44:37] [DEBUG] returnvalue from xrdp_mm_connect 0
[20170216-18:44:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:43] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:44] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:45] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:46] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:49] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] VNC Error after security negotiation
[20170216-18:44:50] [DEBUG] VNC error before sending share flag
[20170216-18:44:50] [DEBUG] VNC error before receiving server init
[20170216-18:44:50] [DEBUG] VNC error before receiving pixel format
[20170216-18:44:50] [DEBUG] VNC error before receiving name length
[20170216-18:44:50] [DEBUG] VNC error before receiving name
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:44:50] [DEBUG] VNC mod_exit
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:46:09] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:46:09] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:46:09] [INFO ] A connection received from: 192.168.76.11 port 63630
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63630 - socket: 8
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:46:09] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:46:09] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:46:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:46:11] [ERROR] Listening socket is in wrong state we terminate listener


The content of /var/log/xrdp-sesman.log is:



[20170216-18:44:28] [WARN ] [init:46] libscp initialized
[20170216-18:44:28] [CORE ] starting sesman with pid 4144
[20170216-18:44:28] [INFO ] listening...
[20170216-18:44:37] [INFO ] A connection received from: 127.0.0.1 port 44184
[20170216-18:44:38] [INFO ] scp thread on sck 8 started successfully
[20170216-18:44:38] [INFO ] ++ created session (access granted): username root, ip 192.168.76.11:63616 - socket: 8
[20170216-18:44:38] [INFO ] starting Xvnc session...
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] Xvnc :10 -geometry 1904x1003 -depth 24 -rfbauth /root/.vnc/sesman_root_passwd -bs -nolisten tcp -localhost
-dpi 96
[20170216-18:44:38] [INFO ] starting xrdp-sessvc - xpid=4196 - wmpid=4195
[20170216-18:44:38] [INFO ] ++ terminated session: username root, display :10.0, session_pid 4194, ip 192.168.76.11:63616 - socket: 8









share|improve this question















With a basic install, per:



dnf install -y xrdp
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
mv cert.pem /etc/xrdp/
mv key.pem /etc/xrdp/
systemctl start xrdp
systemctl status xrdp
systemctl enable xrdp
firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload


I get the following when trying to connect:



...
VNC error - problem connecting some problem


The content of /var/log/xrdp.log is:



[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63615
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63615 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:44:37] [INFO ] A connection received from: 192.168.76.11 port 63616
[20170216-18:44:37] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:44:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:37] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:44:37] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:44:37] [DEBUG] xrdp_0000105d_wm_login_mode_event_00000001
[20170216-18:44:37] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
[20170216-18:44:37] [DEBUG] returnvalue from xrdp_mm_connect 0
[20170216-18:44:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:43] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:44] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:45] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:46] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:49] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] VNC Error after security negotiation
[20170216-18:44:50] [DEBUG] VNC error before sending share flag
[20170216-18:44:50] [DEBUG] VNC error before receiving server init
[20170216-18:44:50] [DEBUG] VNC error before receiving pixel format
[20170216-18:44:50] [DEBUG] VNC error before receiving name length
[20170216-18:44:50] [DEBUG] VNC error before receiving name
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20170216-18:44:50] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:44:50] [DEBUG] VNC mod_exit
[20170216-18:44:50] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63616 - socket: 8
[20170216-18:46:09] [DEBUG] xrdp_mm_module_cleanup
[20170216-18:46:09] [ERROR] Listening socket is in wrong state we terminate listener
[20170216-18:46:09] [INFO ] A connection received from: 192.168.76.11 port 63630
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: 192.168.76.11:63630 - socket: 8
[20170216-18:46:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:46:09] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20170216-18:46:09] [WARN ] Invalid X.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20170216-18:46:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20170216-18:46:11] [ERROR] Listening socket is in wrong state we terminate listener


The content of /var/log/xrdp-sesman.log is:



[20170216-18:44:28] [WARN ] [init:46] libscp initialized
[20170216-18:44:28] [CORE ] starting sesman with pid 4144
[20170216-18:44:28] [INFO ] listening...
[20170216-18:44:37] [INFO ] A connection received from: 127.0.0.1 port 44184
[20170216-18:44:38] [INFO ] scp thread on sck 8 started successfully
[20170216-18:44:38] [INFO ] ++ created session (access granted): username root, ip 192.168.76.11:63616 - socket: 8
[20170216-18:44:38] [INFO ] starting Xvnc session...
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20170216-18:44:38] [INFO ] An established connection closed to endpoint: 127.0.0.1:44184 - socket: 8
[20170216-18:44:38] [INFO ] Xvnc :10 -geometry 1904x1003 -depth 24 -rfbauth /root/.vnc/sesman_root_passwd -bs -nolisten tcp -localhost
-dpi 96
[20170216-18:44:38] [INFO ] starting xrdp-sessvc - xpid=4196 - wmpid=4195
[20170216-18:44:38] [INFO ] ++ terminated session: username root, display :10.0, session_pid 4194, ip 192.168.76.11:63616 - socket: 8






fedora vnc xrdp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 14 at 8:33









galoget

36319




36319










asked Feb 16 '17 at 23:58









swv

19929




19929





bumped to the homepage by Community 42 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 42 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    Did you ever make this work?
    – jc__
    Mar 24 '17 at 18:42














  • 1




    Did you ever make this work?
    – jc__
    Mar 24 '17 at 18:42








1




1




Did you ever make this work?
– jc__
Mar 24 '17 at 18:42




Did you ever make this work?
– jc__
Mar 24 '17 at 18:42










1 Answer
1






active

oldest

votes

















up vote
0
down vote













You need to install a graphical environment on the server. Replace dnf with yum if dnf is not working.



# dnf install @kde-desktop              [KDE Desktop]
# dnf install @xfce-desktop [XFCE Desktop]
# dnf install @mate-desktop [Mate Desktop]





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f345614%2fcannot-connect-to-xrdp-on-fedora-25-from-windows%23new-answer', 'question_page');
    }
    );

    Post as a guest
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    You need to install a graphical environment on the server. Replace dnf with yum if dnf is not working.



    # dnf install @kde-desktop              [KDE Desktop]
    # dnf install @xfce-desktop [XFCE Desktop]
    # dnf install @mate-desktop [Mate Desktop]





    share|improve this answer



























      up vote
      0
      down vote













      You need to install a graphical environment on the server. Replace dnf with yum if dnf is not working.



      # dnf install @kde-desktop              [KDE Desktop]
      # dnf install @xfce-desktop [XFCE Desktop]
      # dnf install @mate-desktop [Mate Desktop]





      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        You need to install a graphical environment on the server. Replace dnf with yum if dnf is not working.



        # dnf install @kde-desktop              [KDE Desktop]
        # dnf install @xfce-desktop [XFCE Desktop]
        # dnf install @mate-desktop [Mate Desktop]





        share|improve this answer














        You need to install a graphical environment on the server. Replace dnf with yum if dnf is not working.



        # dnf install @kde-desktop              [KDE Desktop]
        # dnf install @xfce-desktop [XFCE Desktop]
        # dnf install @mate-desktop [Mate Desktop]






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 31 '17 at 12:57









        Jeff Schaller

        35.7k952119




        35.7k952119










        answered May 31 '17 at 11:57









        Baba Oko

        11




        11






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f345614%2fcannot-connect-to-xrdp-on-fedora-25-from-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest




















































































            Popular posts from this blog

            List directoties down one level, excluding some named directories and files

            list processes belonging to a network namespace

            list systemd RuntimeDirectory mounts