mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 01:50:37 -04:00
present a GUI to the user. The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop and Microsoft's own terminal server / remote desktop clients. Unlike Windows NT/2000/2003 server, xrdp will not display a Windows desktop but an X window desktop to the user. Xrdp uses Xvnc or X11rdp to manage the X session. WWW: http://xrdp.sourceforge.net/
20 lines
515 B
C
20 lines
515 B
C
--- ./sesman/config.c.orig Thu May 25 17:34:32 2006
|
|
+++ ./sesman/config.c Sun Apr 29 12:42:28 2007
|
|
@@ -30,6 +30,8 @@
|
|
#include "file.h"
|
|
#include "sesman.h"
|
|
|
|
+#include <fcntl.h>
|
|
+
|
|
/******************************************************************************/
|
|
/**
|
|
*
|
|
@@ -59,7 +61,7 @@
|
|
struct list* param_n;
|
|
struct list* param_v;
|
|
|
|
- fd = g_file_open(SESMAN_CFG_FILE);
|
|
+ fd = open(SESMAN_CFG_FILE, O_RDONLY);
|
|
if (-1 == fd)
|
|
{
|
|
g_printf("sesman: error reading config: %s\r\n", SESMAN_CFG_FILE);
|