Hi!
I'm having trouble getting xrdp to start in a jail. The error is:
I tried setting "address=192.168.0.40" as well, but still (almost) the same error (the ipaddress changed)
My jail.conf looks like this:
xrdp works just fine on the host.
I'm having trouble getting xrdp to start in a jail. The error is:
Code:
Starting xrdp.
logging configuration:
LogFile: /var/log/xrdp.log
LogLevel: 4
EnableSyslog: 1
SyslogLevel: 4
[20190404-11:26:56] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389.
[20190404-11:26:56] [ERROR] g_tcp_socket: Protocol not supported
[20190404-11:26:56] [ERROR] Failed to start xrdp daemon, possibly address already in use.
/usr/local/etc/rc.d/xrdp: WARNING: failed to start xrdp
I tried setting "address=192.168.0.40" as well, but still (almost) the same error (the ipaddress changed)
My jail.conf looks like this:
Code:
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
mount.devfs;
mount.fdescfs;
mount.procfs;
mount.fstab = "/etc/fstab.$name";
host.hostname = "$name";
allow.nomount;
allow.mount.procfs;
allow.raw_sockets = 1;
path = "/usr/jails/$name";
persist;
allow.raw_sockets;
interface = "bce0";
nimmen {
ip4.addr = "192.168.0.40/32";
ip4.addr += "lo0|127.0.0.1/8";
}
xrdp works just fine on the host.