Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
5c4777b2
Unverified
Commit
5c4777b2
authored
Feb 28, 2018
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/fix_autodpi_in_usage' into 3.6.x
Attributes GH PR #667:
https://github.com/ArcticaProject/nx-libs/pull/667
parents
1918bcb9
809206d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
Args.c
nx-X11/programs/Xserver/hw/nxagent/Args.c
+4
-4
nxagent.1
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
+0
-3
utils.c
nx-X11/programs/Xserver/os/utils.c
+6
-0
No files found.
nx-X11/programs/Xserver/hw/nxagent/Args.c
View file @
5c4777b2
...
...
@@ -2111,24 +2111,24 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
void
ddxUseMsg
(
void
)
{
ErrorF
(
"-display string display name of the real server
\n
"
);
ErrorF
(
"-sync synchronize with the real server
\n
"
);
ErrorF
(
"-full utilize full regeneration
\n
"
);
ErrorF
(
"-class string default visual class
\n
"
);
ErrorF
(
"-depth int default depth
\n
"
);
ErrorF
(
"-geometry WxH+X+Y window size and position
\n
"
);
ErrorF
(
"-autodpi detect real server's DPI and use that in the session
\n
"
);
ErrorF
(
"-bw int window border width
\n
"
);
ErrorF
(
"-name string window name
\n
"
);
ErrorF
(
"-scrns int number of screens to generate
\n
"
);
ErrorF
(
"-install install colormaps directly
\n
"
);
ErrorF
(
"The NX system adds the following arguments:
\n
"
);
ErrorF
(
"
\n
The NX system adds the following arguments:
\n
"
);
ErrorF
(
"-options file|string file or string containing nx/nx options
\n
"
);
ErrorF
(
"-forcenx force use of NX protocol messages assuming communication through nxproxy
\n
"
);
ErrorF
(
"-timeout int auto-disconnect timeout in seconds (minimum allowed: 60)
\n
"
);
ErrorF
(
"-norootlessexit don't exit if there are no clients in rootless mode
\n
"
);
ErrorF
(
"-nomagicpixel disable nxagent's magic pixel
\n
"
);
ErrorF
(
"-autodpi detect real server's DPI and use that in the session
\n
"
);
ErrorF
(
"-display string display name of the real server
\n
"
);
ErrorF
(
"-sync synchronize with the real server
\n
"
);
#ifdef RENDER
ErrorF
(
"-norender disable the use of the render extension
\n
"
);
ErrorF
(
"-nocomposite disable the use of the composite extension
\n
"
);
...
...
nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
View file @
5c4777b2
...
...
@@ -296,9 +296,6 @@ sets default connection timeout in seconds.
.B \-tst
disables all testing extensions.
.TP 8
.B tty\fIxx\fP
ignored, for servers started the ancient way (from init).
.TP 8
.B v
sets video-off screen-saver preference.
.TP 8
...
...
nx-X11/programs/Xserver/os/utils.c
View file @
5c4777b2
...
...
@@ -269,7 +269,9 @@ long Memory_fail = 0;
#include <stdlib.h>
/* for random() */
#endif
#ifndef NXAGENT_SERVER
char
*
dev_tty_from_init
=
NULL
;
/* since we need to parse it anyway */
#endif
extern
char
dispatchExceptionAtReset
;
...
...
@@ -628,7 +630,9 @@ void UseMsg(void)
ErrorF
(
"-terminate terminate at server reset
\n
"
);
ErrorF
(
"-to # connection time out
\n
"
);
ErrorF
(
"-tst disable testing extensions
\n
"
);
#ifndef NXAGENT_SERVER
ErrorF
(
"ttyxx server started from init on /dev/ttyxx
\n
"
);
#endif
ErrorF
(
"v video blanking for screen-saver
\n
"
);
ErrorF
(
"-v screen-saver without video blanking
\n
"
);
ErrorF
(
"-wm WhenMapped default backing-store
\n
"
);
...
...
@@ -1036,11 +1040,13 @@ ProcessCommandLine(int argc, char *argv[])
/* ignore all remaining arguments */
break
;
}
#ifndef NXAGENT_SERVER
else
if
(
strncmp
(
argv
[
i
],
"tty"
,
3
)
==
0
)
{
/* just in case any body is interested */
dev_tty_from_init
=
argv
[
i
];
}
#endif
#ifdef XDMCP
else
if
((
skip
=
XdmcpOptions
(
argc
,
argv
,
i
))
!=
i
)
{
...
...
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