10 More Discussions You Might Find Interesting
1. Red Hat
Hello everyone,
This is my last resort.
I have searched the internet everywhere using different search engines as well.
I am using Redhat 7 where I activated a vncserver (since it comes pre-installed).
using the following service:
Description=Remote desktop service (VNC)... (0 Replies)
Discussion started by: Deyan Broekman
0 Replies
2. Red Hat
I'm trying to use VNC from my desktop to connect to a RedHat (RHEL6) Server. I connect but the screen is black. It I go into the Data Centre the screen is unlocked and all is okay there. I can connect no problem to other Desktops & Servers. Is there a setting maybe or can anybody suggest another... (6 Replies)
Discussion started by: itwex
6 Replies
3. Shell Programming and Scripting
Hi All
I am trying to write a script that a user can use to start a a vncserver on a host and then connect to it, that bit is fine, i can do that using system commands
but i have defined the hosts to use at the top of my scirpt
my $allowedhosts = (site_sg() ? 'host2,host1' :... (0 Replies)
Discussion started by: ab52
0 Replies
4. Red Hat
Dear all,
I am using Fedora15 kde
I have installed Real vnc (server & viewer)
real vnc Viewer is working fine - i like this.
real vnc server has License period expired problem (i dont know how to add)
I have x11vnc server (Desktop sharing) installed - Its working fine too.
I... (2 Replies)
Discussion started by: linuxadmin
2 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am having a linux machine and i used to work on this machine either directly or by using vncviewer from my windows machine. So everytime i launch new terminal on my vnc view i need to set DISPLAY. So i added the following code in my .cshrc
if ($?VNCDESKTOP == 1) then
setenv... (1 Reply)
Discussion started by: sarbjit
1 Replies
6. Solaris
I 'm unable to start vnc server, i get following error in the log file
Fatal server error:
could not open default font 'fixed'
xsetroot: unable to open display 'essapl020-u009:0'
twm: unable to open display "essapl020-u009:0"
xterm Xt error: Can't open display: essapl020-u009:0... (0 Replies)
Discussion started by: fugitive
0 Replies
7. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
8. Linux
I am running Startcom linux ES5 . When i bring up the VNC server and login to the machine running a vnc client , I only get the real basic x-windows session and a term window. how can i get it to bring up the real linux desktop on all sessions?
Frank (4 Replies)
Discussion started by: frankkahle
4 Replies
9. Solaris
hey. i have been installing the VNC server from the solaris Companion cd under solaris 8 SPARC,
when i try to open the vncserver i get: Xvnc is not in your PATH, how do i add it to the PATH ? and how do i install it if i need to do that,
thx (0 Replies)
Discussion started by: mads-nielsen
0 Replies
10. UNIX for Advanced & Expert Users
Hi guys,
I am new, but my question seems a little difficult so maybe you can help me. I am wondering if it is possible to get the DISPLAY from another client to trouble shoot problems they are having. My friend is a Linux admin. and he said to just export their display and I have tried that but... (17 Replies)
Discussion started by: Shaun23
17 Replies
Server::Client(3pm) User Contributed Perl Documentation Server::Client(3pm)
NAME
Net::SMTP::Server::Client - Client session handling for Net::SMTP::Server.
SYNOPSIS
use Carp;
use Net::SMTP::Server;
use Net::SMTP::Server::Client;
use Net::SMTP::Server::Relay;
$server = new Net::SMTP::Server('localhost', 25) ||
croak("Unable to handle client connection: $!
");
while($conn = $server->accept()) {
# We can perform all sorts of checks here for spammers, ACLs,
# and other useful stuff to check on a connection.
# Handle the client's connection and spawn off a new parser.
# This can/should be a fork() or a new thread,
# but for simplicity...
my $client = new Net::SMTP::Server::Client($conn) ||
croak("Unable to handle client connection: $!
");
# Process the client. This command will block until
# the connecting client completes the SMTP transaction.
$client->process || next;
# In this simple server, we're just relaying everything
# to a server. If a real server were implemented, you
# could save email to a file, or perform various other
# actions on it here.
my $relay = new Net::SMTP::Server::Relay($client->{FROM},
$client->{TO},
$client->{MSG});
}
DESCRIPTION
The Net::SMTP::Server::Client module implements all the session handling required for a Net::SMTP::Server::Client connection. The above
example demonstrates how to use Net::SMTP::Server::Client with Net::SMTP::Server to handle SMTP connections.
$client = new Net::SMTP::Server::Client($conn)
Net::SMTP::Server::Client accepts one argument that must be a handle to a connection that will be used for communication.
Once you have a new client session, simply call:
$client->process
This processes an SMTP transaction. THIS MAY APPEAR TO HANG -- ESPECIALLY IF THERE IS A LARGE AMOUNT OF DATA BEING SENT. Once this method
returns, the server will have processed an entire SMTP transaction, and is ready to continue.
Once $client->process returns, various fields have been filled in. Those are:
$client->{TO} -- This is an array containing the intended
recipients for this message. There may be
multiple recipients for any given message.
$client->{FROM} -- This is the sender of the given message.
$client->{MSG} -- The actual message data. :)
AUTHOR AND COPYRIGHT Net::SMTP::Server / SMTP::Server is Copyright(C) 1999, MacGyver (aka Habeeb J. Dihu) <macgyver@tos.net>. ALL RIGHTS
RESERVED.
You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl
README file.
SEE ALSO
Net::SMTP::Server::Server, Net::SMTP::Server::Relay
perl v5.10.1 1999-12-28 Server::Client(3pm)