Commit 1b19f901 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: doc/TODO:1.129
Rev: src/server_x11.h:1.2
parent 649dacaa
......@@ -27,6 +27,9 @@ general user-database abstraction. Also have a look at 'Pluggable Non
Interactive Authentication Modules' at
Log a message if user authentication fails because root is not allowed
to log in.
......@@ -26,14 +26,52 @@
#include "channel.h"
#include "command.h"
#include "resource.h"
struct server_x11_info;
#include "server_x11.h.x"
/* GABA:
(name server_x11_info)
(display string)
(xauthority string)))
struct server_x11_info *
server_x11_setup(struct ssh_channel *channel, struct lsh_user *user,
const struct lsh_string *protocol,
const struct lsh_string *cookie,
UINT32 screen);
#if 0
/* Returns the display */
const struct lsh_string *
server_x11_setup(struct ssh_channel *channel, struct lsh_user *user,
UINT32 protocol_length, const UINT8 *protocol,
UINT32 cookie_length, const UINT8 *cookie);
/* ;; GABA:
(name server_x11_info)
(super resource)
(display string)
(socket object lsh_fd)
;; Filename of xauth file
(xauth string)))
struct server_x11_info *
make_server_x11_info(UINT32 protocol_length, const UINT8 *protocol,
UINT32 cookie_length, const UINT8 *cookie,
struct lsh_user *user);
struct lsh_user *user)
/* Start listening on an AF_UNIX socket, and run xauth */
......@@ -41,5 +79,5 @@ server_x11_listen(struct server_x11_info *info,
struct ssh_connection *connection,
struct command_continuation *c,
struct exception_handler *e);
#endif /* LSH_SERVER_X11_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment