Saturday, October 27, 2012

Configure VNC session to persist after exiting the VNC client

In My last Post we have learn how to install & configure a VNC server with GDM on a Solaris 10 OS.
We will see in this post How to Configure a VNC session to persist even after exiting the VNC client.

This may or may not be desirable for you, but if you want the VNC session to persist if you exit the VNC client then do the following:
svccfg -s xvnc-inetd
svc:/application/x11/xvnc-inetd> editprop
This take you into a vi session. Look for the line...
#setprop inetd/wait = boolean: false
Copy the line, uncomment it and set it to true. Save the file, exit svccfg and run the command...
svcadm refresh xvnc-inetd
Connect again with you VNC client. Now, when you exit/kill the VNC client, the session on the server will persist and you will be able to connect to it again.



How to Install & Configure VNC Server with GDM on Solaris10

VNC (Virtual Network Computing) is a way to access and control the desktop of a remote computer. For this functionality the remote computer must be running VNC server software. The OpenSolaris 2008.05 binary distribution or Solaris10 Companion CD includes the SUNWxvnc package for the Solaris operating system. Once this package is installed, you can connect to the Solaris operating system from any other operating system that has a VNC client installed.


alternatively you can download SUNWxvnc package from below link
1. Check that the VNC Server is Installed


This should be present as it is part of the 2008.05 binary distribution, but I checked anyway.

pkg info SUNWxvnc
          Name: SUNWxvnc
       Summary: X11/VNC server
         State: Installed
     Authority: opensolaris.org (preferred)
       Version: 4.1.2
 Build Release: 5.11
        Branch: 0.91
Packaging Date: Fri Jun 13 17:49:25 2008
          Size: 6.3 MB
          FMRI: pkg:/SUNWxvnc@4.1.2,5.11-0.91:20080613T174925Z

2. Add this line to /etc/services

vnc-server      5900/tcp                        # Xvnc

3. Edit /etc/X11/gdm/custom.conf as below

[xdmcp]
Enable=true
[security]
DisallowTCP=false
AllowRoot=true
AllowRemoteRoot=true

4. Enable the Services

svcadm enable xvnc-inetd
svcs xvnc-inetd
STATE          STIME    FMRI
online         16:22:30 svc:/application/x11/xvnc-inetd:default
svcadm enable gdm
svcs gdm
STATE          STIME    FMRI
online         14:43:13 svc:/application/graphical-login/gdm:default

5. Connect to the Display with a VNC Client

You should now be able to connect to <hostname>:5900 and you should see the gdm login screen.

If you cannot connect, try stopping & starting the services:

svcadm disable xvnc-inetd gdm
svcadm enable xvnc-inetd gdm

if you want the VNC session to persist if you exit the VNC client then check my next post....

Saturday, October 20, 2012

Introduction-to-PPPoE

PPPoE stands for Point-to-Point Protocol over Ethernet. It is a network protocol sometimes used by Broadband Modems for DSL Internet service.
PPPoE allows Internet Service Providers to manage access to accounts via user names and passwords. DSL service providers began using PPPoE many years ago, as it proved a convenient technical solution for converting subscribers from dial-up Internet.
While convenient for service providers, some customers of PPPoE-based Internet service have experienced problems with their connection due to incompatibility between PPPoE technology and their personal network firewalls. Contact your service provider to verify whether they use PPPoE and get any assistance needed with your firewall settings.
The PPPoE protocol specification is Internet RFC 2516.
look at this introductory paper Introduction-to-PPPoE.pdf

Introduction to Multilink PPP - MLP

Multilink PPP (MLP), as defined in RFC 1990, is a variant of PPP used to aggregate multiple WAN links into one logical channel for the transport of traffic. It enables the load-balancing of traffic from different links and allows some level of redundancy in case of a line failure on a single link.

Multilink PPP (MP) or (MLP) provides an approach to increasing bandwidth. It allows multiple PPP links to form an MP bundle. After receiving a packet, MP segments (if the packet is large) the packet into fragments and distributes them over multiple PPP links to the remote end. After the remote end receives these fragments, it assembles them into a packet and passes the packet to the network layer.

MP functions to:
l        Increase bandwidth, or dynamically increase/reduce bandwidth in combination with dial control center (DCC)
l        Load sharing
l        Backup
l        Decrease transmission delay through fragmentation

MP can work on any physical or virtual interfaces encapsulated with PPP, such as serial, ISDN BRI/PRI, and PPPoX (PPPoE, PPPoA, or PPPoFR). However, a multilink bundle is preferred to include only one type of interfaces.


Download This document in PDF Multilink-PPP-(MLP)-or-(MP).pdf

Friday, October 19, 2012

Introduction to Point to Point Protocol (PPP)


Introduction to Point to Point Protocol (PPP)

PPP is the Internet Standard for transmission of IP packets over serial lines. PPP supports async and sync lines. For a general discussion of PPP , look at this introductory paper
Introduction-to-Point-to-Point-Protocol-(PPP).pdf


Contents
Point-to-Point Protocol (PPP): 1
I. PAP authentication. 1
Figure 1 PAP Authentication. 2
II. CHAP authentication. 2
Figure 2 CHAP Authentication. 3
III. Operating mechanism of PPP. 3
Figure 3 PPP operation flow chart 

Saturday, October 13, 2012

How to format virus infected and unformattable Pen drives

Stuck in a thought why your USB Pen drive not formatting??? check this tutorial on "How to format virus infected and unformattable Pen drives"


How to format virus infected and unformattable Pen drives -

Search & Buy Amazon Products at discounted rate!!

Newsletter

Subscribe to AtoZ-networking Newsletter

Do you want to receive Linux FAQs, Microsoft FAQ, Solaris FAQ, detailed Networking tutorials and tips published at atoz-networking? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

Sign-up for the newsletter