Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
75cc235c
Commit
75cc235c
authored
Jun 27, 2002
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(do_x11_req): Use server_x11_setup.
Rev: src/server_session.c:1.89
parent
42e4be68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/server_session.c
src/server_session.c
+6
-5
No files found.
src/server_session.c
View file @
75cc235c
...
...
@@ -898,17 +898,18 @@ do_x11_req(struct channel_request *s UNUSED,
/* The client may only request one x11-forwarding, and only
* before starting a process. */
if
(
session
->
x11
||
session
->
process
||
!
(
session
->
x11
=
make_server_x11_info
(
protocol_length
,
protocol
,
cookie_length
,
cookie
,
channel
->
connection
->
user
)))
||
!
(
session
->
x11
=
server_x11_setup
(
channel
,
channel
->
connection
->
user
,
protocol_length
,
protocol
,
cookie_length
,
cookie
,
screen
,
c
,
e
)))
{
verbose
(
"X11 request failed.
\n
"
);
EXCEPTION_RAISE
(
e
,
&
x11_request_failed
);
}
else
{
server_x11_listen
(
session
->
x11
,
channel
->
connection
,
c
,
e
);
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment