03-06-2019
@ works fine in BASH, it's your application that throws up. What exact application are you launching? Whose implementation of VNC on what system?
Since this looks like a URL, does it support URL encoding, i.e. could you put %40 instead?
These 2 Users Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
would appreciate if somebody can post a bash script that checks if the first character of the given string is equal to, say, "a"
thnx in advance (2 Replies)
Discussion started by: ole111
2 Replies
2. Shell Programming and Scripting
I am using this character as a delimiter 'þ'
Currently, I set it straight:
DELIMITER='þ'
However, while copying the file, this character often gets mangled. Is there a bash way (perhaps using tr or printf) of generating this character.
It corresponds to
"chr(0xfe)" if using perl. (I've... (6 Replies)
Discussion started by: sentinel
6 Replies
3. Shell Programming and Scripting
Hi!
If I want to extract a character from a specific position of a string, I can use ${string:1:1} (if I want character at the position 1). How can I do the same thing, when the number of position is contained in the variable? ${string:$var:1}doesn't work, unfortunately.
Thanks in advance. (2 Replies)
Discussion started by: xqwzts
2 Replies
4. Shell Programming and Scripting
In bash, how can one remove the last character of a string? In perl, the chop function would remove the last character. However, I do not know how to do the same job in bash.
Many thanks in advance. (12 Replies)
Discussion started by: LessNux
12 Replies
5. Shell Programming and Scripting
I am having issues escaping special characters in my AWK script as follows:
for id in `cat file`
do
grep $id in file2 | awk '\
BEGIN {var=""} \
{ if ( /stringwith+'|'+'50'chars/ ) {
echo "do this"
} else if ( /anotherString/ ) {
echo "do that"
} else {
... (4 Replies)
Discussion started by: purebc
4 Replies
6. Shell Programming and Scripting
Hi,
How to use * in call to pl/sql block from shell script?
The line "select * from" is causing all files and directiores to show up in email notification but if I give all column names then it works,
Please let me know how to use '*' instead of giving all column names, in other wirds how to... (2 Replies)
Discussion started by: sandy162
2 Replies
7. UNIX for Advanced & Expert Users
My input is:
jdbc:Oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.147.109.211)(PORT=1526))(CONNECT_DAT A=(SID= MWDBD22)))
In the search pattern, ( and ) and . and @ are special RE, and need to be escaped \( and \) and \. and \@
how can i do it by script or command (9 Replies)
Discussion started by: arindam guha
9 Replies
8. Shell Programming and Scripting
Hello,
I want to check whether string has only numeric characters. The following code doesn't work for me
#!/usr/local/bin/bash
if ]]; then
echo "true"
else
echo "False"
fi
# ./yyy '346'
False
# ./yyy 'aaa'
False
I'm searching for solution using character classes, not regex.... (5 Replies)
Discussion started by: urello
5 Replies
9. Shell Programming and Scripting
I am writing a bash script that will find all references to the “Well_List” in the “Comp_File”.
I am filtering a Well_List that contains the following:
TEST_WELL_01
TEST_WELL_02
TEST_WELL_11
TEST_WELL_22
GOV_WELL_1
GOV_WELL_201
PUB_WELL_57
PUB_WELL_82
.
.
Comparison... (5 Replies)
Discussion started by: petfyp
5 Replies
10. Shell Programming and Scripting
I am still learning shell scripting. Recently I see a function for read configuration. But some of special character make me confused. I checked online to find answer. It was not successful. I post the code here to consult with expert or guru to get better understanding on these special characters... (3 Replies)
Discussion started by: duke0001
3 Replies
XVNC(1) General Commands Manual XVNC(1)
NAME
Xvnc - a VNC server
SYNOPSIS
Xvnc [-rfbport port] [-rfbwait time] [-nocursor] [-rfbauth passwd-file] [-httpd dir] [-httpport port] [-deferupdate time] [-economic-
translate] [-lazytight] [-desktop name] [-alwaysshared] [-nevershared] [-dontdisconnect] [-localhost] [-interface ipaddr] [-inetd]
[-compatiblekbd] [X-options...]
DESCRIPTION
Xvnc is a VNC (Virtual Network Computing) server. It acts like an X server with a virtual display. The display can be seen by a VNC
viewer application, which may be running on a different machine: see vncviewer(1).
It is built inside the source code tree of XFree86, and shares many options with it.
Note that if you are going to use VNC on an untrusted network, you will need to use SSH to prevent unauthorised access. See
<URL:http://www.uk.research.att.com/vnc/sshvnc.html> for details.
OPTIONS
The VNC-specific options are as follows:
-rfbport port
TCP port for RFB protocol.
-rfbwait time
Maximum time, in milliseconds, to wait for RFB client.
-nocursor
Don't put up a cursor.
-rfbauth passwd-file
Use authentication on RFB protocol from specified file; see vncpasswd(1).
-httpd dir
Serve files via HTTP from here.
-httpport port
Port for HTTP.
-deferupdate time
Time, in milliseconds, to defer updates (default 40).
-economictranslate
Use less memory-hungry translation.
-lazytight
Disable "gradient" filter in tight encoding.
-desktop name
Set VNC desktop name (default x11).
-alwaysshared
Always treat new clients as shared.
-nevershared
Never treat new clients as shared.
-dontdisconnect
Don't disconnect existing clients when a new non-shared connection comes in (refuse new connection instead).
-localhost
Only allow connections from localhost.
-interface ipaddr
Only bind to the interface with given ipaddr.
-inetd Xvnc is launched by inetd.
-compatiblekbd
Set META key = ALT key, as in the original (AT&T) version of Xvnc.
SEE ALSO
vncviewer(1), vncserver(1), vncconnect(1), vncpasswd(1)
AUTHOR
AT&T Laboratories Cambridge
Man page by Tim Waugh <twaugh@redhat.com>
4 May 2001 XVNC(1)