11-28-2017
The shebang was quoted, then code tags were added after the original posting, so it seems the quotes weren't removed at that time
If it weren't for the it works with -f bit, I'd be inclined to ask the person for whom it doesn't work to check his VNC client configuration.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are running a quiz and the data collected from the quiz is submitted to the database. My requirement is to write a shell script to get these submitted records.
I should be able to run this shell script at any time and the records it returns should be the ones submitted after the script was... (5 Replies)
Discussion started by: sehgalniraj
5 Replies
2. Shell Programming and Scripting
Hi,
i am using SuonOS and ksh.
i need to add data into a file(s.txt) using a shell script. i have to pass 3 parameters and these 3 paramaters should add into the file at end of the file.
File s.txt is look like,
---------------------------------
column1|column2|column3
... (1 Reply)
Discussion started by: syamkp
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I ran a shell script in the foreground but it seems that the shell script teminated when the session expired. Please let me knw if it's possible or hypothesis is incorrect ASAP. (2 Replies)
Discussion started by: Ankgne
2 Replies
4. Shell Programming and Scripting
#!/bin/ksh
echo -en "\033|||'-'))
echo -e "\033
The above script works fine when the interpreter is ksh, but outputs the following error when #!/bin/bash is used as shebang:
test.sh: line 5: syntax error near unexpected token `('
test.sh: line 5: `case "$ACTIVATION_KEY" in +(|||'-'))' (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. UNIX for Dummies Questions & Answers
Hello
I'm having a problem running a TCL script in my new OpenSolaris OS. When I go to the directory containing my script called 'Install' (using the gnome terminal), it doesn't seem to be able to find it even though it lists it i.e. if I type "Inst" and hit tab to complete the word, it... (11 Replies)
Discussion started by: sbsbg
11 Replies
6. Shell Programming and Scripting
Hi,
As per my understanding, we can use two shebang statements in a single shell script. Please see below snippet-
#!/bin/bash
.......## some code A
#!/bin/csh
.......## some code B
exit 0;
Here, code A will be executed using bash shell and code B will be executed with c shell.
... (9 Replies)
Discussion started by: tarunmudgal4u
9 Replies
7. Shell Programming and Scripting
Im using a script that writes a random line to a text file then executes another shell script. My problem is that the lottery shell script will not execute. Im not receiving an errors when running the shell script, and it copies a random line of text to mtest.txt fine.
#!/bin/bash
nscripts=2... (3 Replies)
Discussion started by: kylecn
3 Replies
8. Shell Programming and Scripting
Hi,
I want a script shell to automate modifying httpd.conf file for
several instances of apache, save httpd.file before changing it, after
modifying it and then restart apache.
- Replace ServerRoot "xxxx" by ServerRoot "yyyy" of all directories :
"... (4 Replies)
Discussion started by: bras39
4 Replies
9. Shell Programming and Scripting
I have a shell script running to load some data from a text file to database. Text file contains some non-ASCII characters like ü. How can i convert these characters to UTF-8 codes before loading to DB. (5 Replies)
Discussion started by: vel4ever
5 Replies
10. Shell Programming and Scripting
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
LEARN ABOUT DEBIAN
linuxvnc
linuxvnc(1) General Commands Manual linuxvnc(1)
NAME
linuxvnc - export a tty to any VNC client
SYNOPSIS
linuxvnc [tty_number [args]]
DESCRIPTION
It follows the same idea as WinVNC, x11vnc or OSXvnc, i.e. it takes an existing desktop and exports it via RFB (VNC), just that LinuxVNC
exports text.
If you want to export another tty, specify it as 'tty_number'. You can also pass VNC options to tune what encodings are used for the VNC
session. You can read x11vnc man page for more information on this.
OPTIONS
-rfbport port
TCP port for RFB protocol.
-rfbwait time
Max time in ms to wait for RFB client.
-rfbauth passwd-file
Use authentication on RFB protocol (use 'storepasswd' to create passwd file).
-rfbversion 3.x
Set the version of the RFB we choose to advertise.
-permitfiletransfer
Permit file transfer support.
-passwd plain-password
Use authentication (use plain-password as password, USE AT YOUR RISK).
-deferupdate time
Time in ms to defer updates (default 40).
-deferptrupdate time
Time in ms to defer pointer updates (default none).
-desktop name
VNC desktop name (default "LibVNCServer").
-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).
-httpdir dir-path
Enable http server using dir-path home.
-httpport portnum
Use portnum for http connection.
-enablehttpproxy
Enable http proxy support.
-progressive height
Enable progressive updating for slow links.
-listen ipaddr
Listen for connections only on network interface with addr ipaddr.
SEE ALSO
x11vnc(1).
AUTHOR
This manual page was written by Ludovic Drolez <ldrolez@debian.org>, for the Debian project (but may be used by others).
19 November 2011 linuxvnc(1)