How to use Xmanager connect to my linux 5.3

Do everybody how how to config Xmanager to connect to linux 5.0 ?
I searched but can not do successfull
So thanks
Ch

From what I understand, Xmanager uses xdmcp protocol, which is obsolete and not considered secure and to be avoided by today's standards. If you still want to got that path, here seems to be a good tutorial I found with Google: http://it.megocollector.com/?p=740
If your task is to make a remote windows session to your Linux server, it will be better to look into VNC or X-forwarding using SSH. You can find some useful info here at Re: Remote Desktop and need to set env variables
Did you check http://www.netsarang.com/tutorial/xmanager/list

Similar Messages

  • How to use ODBC connection specified on Linux containing Oracle BI EE 11g on BI Administration?

    I have Oracle BI server (OBIEE 11g) installed on a Linux machine. I want to use a MySQL database running on same machine for reporting. I need to create Subject Area from the MySQL database.
    However, I am having problem creating connection pool from the MySQL database. BI Administration runs only on Windows and I can't see ODBC connections on Linux even when I opened BI from Linux in online mode in BI Administration. I have created ODBC on Windows, but it's giving me a "Failed to perform requested action" when trying to import metadata.
    For the record, everything works fine when everything is installed on Windows.

    check this Setting Up Data Sources on Linux and UNIX

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

  • Using Generic Connectivity Agent on Linux

    Hello All,
    My dbms is Oracle 8i Release 3 (8.1.7), my OS is Linux RedHat 7.0. I want to establish a connection from Oracle to an ODBC data source. So, I know I have to use Generic Connectivity Agent, but I can't find execution file for this agent which the Listener will execute. The only file I have is hsodbc.o in $ORACLE_HOME/hs/lib path. Are there anybody who knows how can I link this object file, or where can I get a linked one?
    Best regards, Roman Zhirov ([email protected])
    null

    Note that the Oracle ODBC driver is not involved at all when you're trying to use Oracle's generic connectivity. Thus, this probably isn't the forum you want to ask this question in.
    Since there isn't a generic connectivity forum, you might try posting to the Linux group. Alternately, it may be necessary to contact Oracle Support.
    Justin

  • How to use single connection

    Hello Gurus,
    I am new in adf and using jdev 11.1.2.3.
    I am developing application in which i am using dynamic shell UI. The structure of application is i have one main application modules with the UI shell. The other modules are developed in separate application and has its own data control and task flows and then i deployed them as adf library. Then i am consuming the task flow in the main application.
    As i mention each module has its own data control, so when i open a module it makes new connection with database. It means if i have opened ten modules then it is opening ten connections with database.
    Is is possible i can configure somewhere to use single connection for all modules and not to open the connection for each module.
    And one more thing if i undeploy the application the connection is still with database as v$session view shows it. How i can close connection if i close the tab in ui shell.
    Thanks,

    Hi, You can explore the option of nesting your AM.  Check below links to know more about them.
    Decompiling ADF Binaries: What you may need to know about Nested Application Module
    Nested application modules | ADF KickStart
    Good luck !

  • How to use pool connection run oracle procedure?

    Hi, All:
              I am facing a difficulty I can not find the solution. Maybe you can help
              me.
              I want to call an oracle stored procedure whenever I talk to datebase to
              make the application more efficient. I was able to run the procedure using
              oracle thin driver but not the connection pool using Weblogic jDriver for
              JDBC2.0.
              Please check the following code and see what I did wrong:
              The code in JSP file in Weblogic:
              <%-- JSP page directive --%>
              <%@ page
              import="java.io.*,java.util.*,java.sql.*,weblogic.common.*,weblogic.jdbc20.c
              ommon.*" %>
              <%-- JSP Declaration --%>
              <%!
              protected Connection con = null;
              ResultSet rset = null;
              %>
              <%-- JSP Scriptlet --%>
              <% try {
              Properties props = new Properties();
              props.setProperty("user", "james");
              props.setProperty("password", "aimjames");
              Driver myDriver =
              (Driver) Class.forName
              ("weblogic.jdbc.pool.Driver").newInstance();
              con = myDriver.connect("jdbc:weblogic:pool:hdj2Pool", props);
              String userid = (String)session.getAttribute("user.id");
              int subid =
              Integer.parseInt((String)session.getAttribute("sub.id"));
              String query = "begin pkg_select.sel_req_in_001(" + userid +
              ", " + subid + ", ?); end;";
              weblogic.jdbc.common.OracleCallableStatement cstmt =
              (weblogic.jdbc.common.OracleCallableStatement)con.prepareCall(query);
              cstmt.registerOutParameter(1,java.sql.Types.OTHER);
              cstmt.execute();
              rset = cstmt.getResultSet(1);
              When I run this JSP file, the compilation is fine but the result shows
              nothing. That's means I can not get the ResultSet for some reason.
              The working file when I use oracle thin driver (NOT use a connection pool):
              String userid = (String)session.getAttribute("user.id");
              int subid = Integer.parseInt((String)session.getAttribute("sub.id"));
              String query = "begin pkg_select.sel_req_in_001(" + userid +", " +subid
              +", ?); end ";
              CallableStatement cstmt = con.prepareCall(query);
              cstmt.registerOutParameter(1,OracleTypes.CURSOR);
              cstmt.execute();
              ResultSet rset = (ResultSet)cstmt.getObject(1);
              You may notice that I am trying to bind a parameter to an Oracle cursor. Is
              there anything I did wrong in using weblogic API? I just want to let you
              that in the weblogic JSP file, I also tried to use
              weblogic.jdbc.oci.CallableStatement and
              weblogic.jdbc20.oci.CallableStatement instead of
              weblogic.jdbc.common.OracleCallableStatement, but none of them seems work.
              I did check the bea site at
              http://www.weblogic.com/docs51/classdocs/API_joci.html#1080420 for the
              example to use:
              cstmt.registerOutParameter(1,java.sql.Types.OTHER);
              and I think I followed the exact procedure the example did.
              Please help!
              James Lee
              Artificial Intelligence in Medicine, Inc.
              2 Berkeley Street, Suite 403
              Toronto, Ontario M5A 2W3
              Tel: 416-594-9393 ext. 223
              Fax: 416-594-2420
              Email: [email protected]
              

    Joseph
    Thanks for the suggestion about latest version of Weblogic Server.
    "coding best-practices" is not mentioned in the post.
    In order to make servlet application run significantly faster, my servet how to use connection poo is much moreresonable?
    It is reasonable to expect servlet to run significantly faster with connection pooling.
    Is it true that geting and close a connection whenever
    one time database access finished?
    Already answered. Applications use a connection from the pool then return it when finished using the connection.
    Will the solution affect the servlet performance?
    Yes. Already answered. Connection pooling enhances performance by eliminating the costly task of creating database connections for the application.
    Is there any official document to introduce connection pool program?
    For the latest version
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13726/toc.htm
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13737/jdbc_datasources.htm#insertedID0

  • How to use SIGAR in Ubuntu-based Linux?

    I am using SIGAR in a project with Maven and Spring. I have the Maven Dependencie and Maven Repository included in my pom.xml file, as described in this link:
    http://mavenhub.com/mvn/thirdparty-uploads/org.hyperic/sigar/1.6.5.132
     However, SIGAR still won't work. Aparently I also need to install libsigar-amd64-linux-1.6.4.
    So I downloaded that file, but now I have no idea what to do with it. How do I fix this? Where do I put that file?

    Found the solution. The detailed answer can be found here:
    java - How to install SIGAR on Ubuntu-based Linux? - Stack Overflow

  • How to use a connection across multiple request

    What is the idea of using a connection across multiple requests.

    Please give more details. What connections and what requests
    And are you posting on the right forum? (This sounds more like a Networking/servlet question)

  • How to use form connect to MS SqlServer?

    Hi,
    I want to use form9i connect to MS Sqlserver.
    I try to use this to test connect.
    =========================================
    declare
    connection_id EXEC_SQL.ConnType;
    cursor_number EXEC_SQL.CursType;
    -- Variables for the data to be returned into
    begin
    connection_id := EXEC_SQL.OPEN_CONNECTION('sa/pwd@odbc:sqlserver1');
    if EXEC_SQL.IS_CONNECTED(connection_id) then
    message('Connected to sqlserver');
    else
    message('ERROR: No connection established');
    end if;
    end;
    =====================
    But It's not work.
    It's show message 'Frm-40735 and ora-306500.'
    Please help me .
    Thank you.

    Hi,
    Forms 9i doesn't support ODBC. You would need a transparent Gateway to connect to non Oracle databases
    Frank

  • How to use DB connect against secondary Oracle DB ?

    Hi all,
    this is the issue:
    an existing BI 7.0 based on Oracle 10.2.0.2.0 has to acquire data from an external Oracle 9.2.0.6 database. We want to use DB connect functionality.
    1st Q: are the existing components (DBSL and Oracle db-client) sufficient for interfacing to the secondary database?
    2nd Q: would it be better practice to look at the external database as a completely separate one? which means to install separate DBSL and db-client for it.
    Unfortunately neither online documentation nor SAP notes provide full clarification. Is there any experience in the field? all comments and contributions are warmly appreciated!
    THX, Harry

    Still puzzling on that issue. Will come back when completely solved. /hs
    OK, gurus, expertz and those to be, here's the story:
    BI 7.0 component of SCM-APO (Oracle 10.2.) is successfully connected to remote Oracle 9.2.
    Actually there have been just a couple of points to look after. First thing was to maintain the alias connection string in tnsnames.ora file. Plus this file is required twice, in the ORASID directory as well as in the <SID>ADM directory.
    Next issue is that apparently Oracle 'grants' are not supported by DB-Connect. But at least there is BI support package 11 which enables us to connect to other users' objects (different user than DB-Connect user). This healed the grants issue.
    Further topics have been the date conversion issue (this should already be done in the remote source DB) and name length and characters-2-B-used requirements.
    Once again thanks for your contributions and happy computing!
    Harry
    Message was edited by:
            Harald Schwenger

  • I want to Know how to use JDBC connection with postgress sql on Linux

    Hello friends R u Listen to me?
    Pls help me for making JDBC connectivity with postgress Sql On Linux by using Type 4 Driver .
    Is there is any envoirnment setting rqr then pls send me the same on my mail
    My mail is [email protected]
    varsha

    dcminter wrote:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    and
    http://www.postgresql.org/docs/
    ;-)

  • How to use custom IPs in Embedded Linux

    Hello,
    I have designed and implemented two IP cores in Vivado.
    The first is a HLS implemented block (realized with the Vivado HLS video libraries(, with AXI interfaces and connected with a Video DMA. I should send cv::Mat objects to it somehow.
    The second one is a custom designed block which also uses streaming AXI interfaces which is connected with a normal AXI DMA.
    In both cases, I know how to interact with those units on a bare-metal application, using the BSP provided drivers. But, when it comes to Linux/Petalinux? Where do I find headers and functions like the one provided automatically by the standalone (bare-metal) os?
    Thanks a lot for your help.
    Giorgio

    giorgio.lopez wrote:
    The first is a HLS implemented block (realized with the Vivado HLS video libraries(, with AXI interfaces and connected with a Video DMA. I should send cv::Mat objects to it somehow.
    Compile the VDMA kernel module, which you can find right there
    https://github.com/Xilinx/linux-xlnx/tree/master/drivers/dma/xilinx
    then you need to write your own module to map to this new dma channel, this has been mentionned on several topics.
    Finally you write a userspace program which opens this channel and send some data over it.
    giorgio.lopez wrote:
    The second one is a custom designed block which also uses streaming AXI interfaces which is connected with a normal AXI DMA.
    basically the same thing, I have never used VDMA but I think it handles 2D data compared to regular DMA module.
    giorgio.lopez wrote:
    In both cases, I know how to interact with those units on a bare-metal application, using the BSP provided drivers.
    If you are not familiar with kernel modules, you need the hardware address to address the DMA module.
    In bare-metal you accessed those addresses directly, in Linux you address them through virtual addresses mapped to physical addresses.
    A DMA transaction is a little different than regular bus transactions in the sense it allows you not to address each word, the CPU sets the destination address, waits for an end of transfer interrupt, the DMA controller handles the transfer.
    giorgio.lopez wrote:
    Where do I find headers and functions like the one provided automatically by the standalone (bare-metal) os?
    you need to use the Linux kernel APIs, in this project you will need the DMA API basically
    #include <linux/dmaengine.h>
    #include <linux/dma-mapping.h>
    plus learn how to memory map and handle interrupts.
    Relevant Docs:
    The Bible - heavy but I seriously recommend reading it a couple of times to understand key chapters
    Linux DMA API
    Might be of some interests
    DMA from user space (Xilinx) - great
    DMA in kernel space (Xilinx) - great
     

  • How to use my connection pool in multiple servlets?

    I now have a functioning connection pool using these lines in a servlet:
    private Connection getConnection(String lookup) throws NamingException, SQLException {
    Context context = new InitialContext();
    DataSource ds = (DataSource)context.lookup(lookup);
    Connection ocon = ds.getConnection();
    context.close();
    return ocon;
    } // private Connection getConnection(String lookup) throws NamingException, SQLException {
    ========================
    If I want to create additional servlets in the same web app which query the same database,
    do I need to repeat this block of code in every servlet, or can I just put it in one servlet
    and have other servlets access it in some way to get a connection? Should I change the code
    above from a "private" Connection to a "public" Connection?
    An example servlet is shown below. To put my question another way: If I want to
    create a second servlet with a different set of queries, would I just make a copy of the first
    servlet and then change only the queries, or is there a more efficient way to have multiple
    servlets get connections from the pool?
    Any suggestions are greatly appreciated.
    Thank you.
    Logan
    ************************************servlet example**********************************
    package CraigsClasses;
    import javax.servlet.*;
    import javax.servlet.jsp.*;
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.Date;
    import java.text.*;
    import javax.naming.*;
    import javax.sql.DataSource;
    public class CraigsMain extends HttpServlet {
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    private Connection getConnection(String lookup) throws NamingException, SQLException {
    Context context = new InitialContext();
    DataSource ds = (DataSource)context.lookup(lookup);
    Connection ocon = ds.getConnection();
    context.close();
    return ocon;
    } // private Connection getConnection(String lookup) throws NamingException, SQLException {
    // Process the http Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
    try {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String sql = "select formtitle from checkboxforms where cbformid = 157";
    // error occurs at this line
    Connection ocon = getConnection("java:comp/env/jdbc/CraigsList");
    PreparedStatement pStmt = ocon.prepareStatement(sql);
    ResultSet rs1 = pStmt.executeQuery();
    rs1.next();
    out.println("<br>" + rs1.getString(1));
    rs1.close();
    pStmt.close();
    ocon.close();
    } catch(SQLException sqle) {
    System.err.println("sql exception error: " + sqle);
    } catch(NamingException ne) {
    System.err.println("naming exception error: " + ne);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    doGet(request, response);
    =======================================================================

    sjasja, Thank you for the reply. What you are suggesting is exactly what I have been looking for. But I'm pretty weak on how to make this separate con pool servlet work. My first attempt is shown below. It doesn't compile this line, which is obviously wrong:
    public static Connection getConnection(String lookup) throws NamingException, SQLException {
    Could you please help me with this servlet code? Thanks.
    package CraigsClasses;
    import javax.servlet.*;
    import javax.servlet.jsp.*;
    import java.net.*;
    import java.io.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.DataSource;
    public class ConPoolInit extends HttpServlet {
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    try {
    public static Connection getConnection(String lookup) throws NamingException, SQLException {
    Context context = new InitialContext();
    DataSource ds = (DataSource)context.lookup(lookup);
    Connection ocon = ds.getConnection();
    context.close();
    return ocon;
    } // private Connection getConnection(String lookup) throws NamingException, SQLException {
    } catch(SQLException sqle) {
    System.err.println("sql exception error: " + sqle);
    } catch(NamingException ne) {
    System.err.println("naming exception error: " + ne);
    =======================================

  • How to use LDAP authentication in Oracle Linux

    Hi All,
    In Oracle Linux 2.6.18-194 el5, goes to system->Administration->Authentication, enabled LDAP in both User Information and Authentication, tried to use network user account information to log in the linux machine but it did not work.
    The login screen waits over 10 minutes after enter username and password each and then says usename and password is not corrent.
    LDAP Settings only asked two information LDAP Search Base on and LDAP Server. We have another application which uses same LDAP server works fine.
    How to make Oracle linux server as LDAP client for user longin?
    Tanks in advance for yur help.

    I have no idea, but you might find it helpful to read Redhat's documentation concerning this subject:
    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/ch-ldap.html

Maybe you are looking for