Share x11 session

Hello
Hi, I  have a headless server I would like to be able to view and controll the current x session of via my laptop. In the past I have successfully used freenx but I can see this has been removed from the repository and is no longer supported. I have also tried x11vnc in the past, cant remember if I got it working in the end or not. The headless server is running centos, for no other reason than my work uses it for thier servers and I thought I would familurise myself with the os. If you think I will be better of with the same os as the laptop (arch) then please let me know the reasons etc.
Any suggestions would be much appreciated.

Instead of freenx, you can use SSH X forwarding with compression enabled.
ssh -XC username@serveraddress

Similar Messages

  • Fields become non-editable when forwarding X11 session to Windows in Java 7

    I have found what I believe could be a bug in Java 7, and Swing specifically. The scenario in which it occurs is pretty rare, so it's not surprising that I couldn't find anyone posting about experiencing this issue, but it's an issue that happens consistently for our product and our users.
    Steps to reproduce:
    1) Download any Swing-based Java application (for instance, IntelliJ IDEA or SoapUI) on a Linux machine.
    2) SSH into this host machine from a Windows SSH client, using X11 forwarding (you can use this guide to set it up using PuTTy and Xming - http://blog.nth-design.com/2010/05/19/x11-putty-xming/ )
    3) Run the application, and make sure the application is running with JRE7.
    4) Try to edit some different text fields.
    When doing this, certain text fields that are supposed to be editable suddenly become non-editable. This issue does not occur if you repeat the above procedure with JRE6.
    If you need any further assistance in reproducing this issue, let us know.
    Regards,
    Arian Jafari

    pd**** wrote:
    I have the same issue and I can't believe that this isn't the number one topic on every Java forum. GUI applications simply DO NOT WORK on Java 1.7. Absolutely incredible that this bug that will render millions of Java applications unusable has not been fixed.The OP describes a somewhat rare use case (X11 session forwarding), and you turned it into "millions of GUI applications don't work"? I'm confused here.

  • How to share a session across applications?

    Hi
    I am developing a web application. There will be two web applications (including mine) running in one servlet container. The user can navigate from one application to other and vice versa. We need to know how can we share a session across these applications. Any inputs in this regard will be helpful!

    You may be interested (& probably discouraged at the end) in this discussion http://forum.java.sun.com/thread.jspa?threadID=619170
    cheers,
    ram.

  • Share http session across multiple EARs

    I am curious to know the following:-
    --> is it possible to share http session across multiple EARs running on same Weblogic application server.
    i.e weblogic server/Jboss
    --> is it possible to share http session across multiple EARs running on different Weblogic application server.
    i.e weblogic server/Jboss
    Please share the steps/way to acheive the same.

    What are you trying to achieve / accomplish by splitting it up?
    e.g. Clean Build in workshop will be faster for multiple EAR's , but unless you have all your application level libraries as shared libraries you might increase your runtime footprint. or you might want independent deploy/redeploy for your apps etc.
    If however you need the session to be shared , that these aren't really independent web-applications and shouldn't be separate ear's. In most cases though you dont actually need the session as shared (e.g. a user's data is fetched from the database , you dont really need the session shared, you need a single shared sign on). So when you say is the session shared, what is the data that you need shared? should it be in the session in the first place?
    And finally are these webapp's really independent (functionally ) or not?
    Edited by: deepshet on Oct 13, 2009 2:09 PM

  • How to share a session across multiple jws?

    Hi!
    I have this problem.
    I'm looking for a way to have shared sessions, available across multiple JWS with WLW 8.1
    I try to get a session with this code:
    WebServiceContext wsContext = WebServiceContext.currentContext(); WebServiceSession session = (WebServiceSession)wsContext.getSession();
    but it throws COntextNotFoundException....
    I added the session descriptor in weblogic.xml to set the param CookiesEnabled to true, because I read that using this code works but requires that the client support cookies to keep the HttpSession object around.
    But it's not works!
    How can I get to HTTP session from a JWS?
    And....it's possible to share a session accross multiple JWS?
    Thanks a lot!

    You may be interested (& probably discouraged at the end) in this discussion http://forum.java.sun.com/thread.jspa?threadID=619170
    cheers,
    ram.

  • Which package has /usr/share/X11/rgb.txt?

    Which package has /usr/share/X11/rgb.txt? I recently had a lot of problems with Fluxbox due to that file disappearing from my computer. It's supposedly in xorg-server-utils, but a reinstalling didn't restore the file.

    SS4 wrote:pacman -Qo /usr/share/X11/rgb.txt
    The problem is that I no longer have that file...
    Inxsible: Ah, I never knew about pkgtools... Thanks!
    Although the problem seems to be that it's now deprecated, but a few programs still use the file:
    http://people.csail.mit.edu/jaffer/Color/Resene-X11

  • X11 session tunnelling via SSH: no longer working!

    Hi!
    Graphical access to a Solaris 9 or 10 server via X11 tunneled thru an SSH session used to work fine until recently. In other worlds, you would connect with a
    ssh -X [email protected] your workstation running an appropriate X11 server, the remote SSHD would set up the DISPLAY variable pointing back to itself and everything would work as expected. Run a graphical app, and it would happily pop up in your display.
    However, recently this has stopped working on two different servers I use, one with Solaris 9 and the other with the latest Solaris 10. The ssh session works normally, but the DISPLAY variable does not get set and the following error pops up in the console:
    Aug 26 13:58:46 sunserver sshd[2251]: [ID 800047 auth.error] error: Failed to allocate internet-domain X11 display socket.Both servers were patched with the latest security and recommended patches. Tried by connecting from a MacOS X 10.5 portable (using the included X11 server), a Knoppix 5.3.1 host and an OpenSolaris host, all with the same failed results. However, on an older Solaris 9 server that has not been recently patched, the tunnelling works as usual, so it seems to be a server-side problem. And, like I mentioned, this all used to work on the failing servers, before the patching orgy this summer.
    Since the tunnelling no longer works, the only way to run graphical apps is by manually doing the insecure xhost +client / DISPLAY=server:0.0; export DISPLAY routine. 
    Has anyone run across this problem and know which patch messed things up? Is there a solution or, at least, a workaround?
    TIA for your help.
    J. Courcoul

    There was a posted six hour service window for this web site yesterday. Your initial posting should have happened just
    before the service windows opened and after the service windows expired half of the world was still asleep and then you
    complain the next morning about the dearth of responses. Talk about underwhelming.Guess my anxiety due to user pressure was showing... :D HOWEVER, I did get a perfectly good response on comp.sys.sun.admin about four hours after posting, even though slashdot and others have been crowing about the death of Usenet.
    Usually X forwarding breaks when there is nothing to connect back to but your messages seems to suggest that a patch
    has caused the problems. For the life of me I can't figure out why adding an IPv6 loopback address would fix this but
    an actually Sun employee would know better than I.Precisely why I don't want to mark the question as answered yet. Heck, when I read the trick, it made me think that I had completely misunderstood how the tunnelling mechanism works.
    You might try going through the list of patches that were applied and see if any of them contain files related somehow
    to SSH and then file a bug report against that patch to Sun so it can be fixed, again.Yes, cause there was an ssh/sshd patch that came out in the June/July timeframe which may have a bearing. However, I recall there was at least one or maybe two patches for tcp that may also have been a cause. Time to put on the Sherlock Holmes cap...

  • Multiple users to share same session

    Hi guys. I am writing a Flash game, where the state of the game and the moves will be stored in the session. Several users will be sharing the same game session though.
    Flash will send variables containing the move made by a particular player to a Servlet, that will be on a different web server. That Servlet will then return to Flash, when requested an XML response containing the state of the game for the next player.
    Lets say there are always 3 players playing per game. How do I share this same session among those 3 users?
    Question 1:
    Is there a way to store a Vector of sessions in a Servlet?
    Question 2:
    Supposed the above answer is yes, I could send back and forth an id for the session between Flash and the Servlet. Is it possible to associate a session stored with a particular id? And how would I retrieve that session based on a given id?

    Do you want to run multiple games concurrently? If so, the application object won't work, because all the user data will then be available to all users.
    I would recommend that you continue to use the session-per-user paradigm. Instead of storing all the game data in session, store it in a global lookup structure (a Singleton or static variable of the servlet, probably a Hashtable). Key the game data for each user off of a unique id (potentially the session id?). In each user session, store the id's of the other users they are playing against.
    So, when you are responding to a request from one user, you can quickly get the id's for the other players, use those to lookup the necessary game data for those users, and then use it to create your response.
    At that point, all you need is some way to expire the data from your storage structure. If you store a "last access" timestamp along with the game data, you can use a thread to expire old data in much the same way that a session would be expired.

  • Will Premiere for teams be able to share content (sessions, media, etc) between Macs and PCs?

    Could, say, I edit on a PC and my editor edit on a Mac? And could we be able to share and edit each others sessions?

    This "not yet ready" process https://creative.adobe.com/earlyaccess may be what you want
    Or, Adobe Anywhere http://www.adobe.com/products/adobeanywhere.html
    http://www.creativeimpatience.com/adobe-anywhere-enterprise-solution/
    Also, Premiere has a forum http://forums.adobe.com/community/premiere?view=discussions

  • Pulseaudio and multiple X11 sessions

    I wanted to create a second X11 server for a game that I can't tab out of.  I'm using gnome-shell.  Pulseaudio only plays audio when on display :0, anyway for it to play audio no matter what term/display you are on?
    Thanks

    Oh, right in the face. I have wasted so much time, trying to get pulseaudio even close to outputting sound from different users over different X sessions at the same time. This gets gradually worse, the closer you come to trying to pull that off over HDMI.
    You should read this explanation: http://lists.freedesktop.org/archives/p … 12094.html
    It will tell you, how your use case is too uncommon to be within the scope of PA. It will tell you, how annoying it would be, if more than one user could output sound at the same time and how wrong people are, when they misinterpret the term "multi-user". I could, but will not, rage all night about how people really think, audio and video can be compared in a meaningful way. *makes weird noises*
    However, reading the post, you will notice, that the guy talks about running pulseaudio system-wide. This should be your query on your favorite crawler. I have stopped using PA, because it brought more abstraction for no effects.

  • Can Scheduler Steps share same session?

    We want to use temporary tables (CREATE GLOBAL TEMPORARY TABLE) among steps in the scheduler job. For example, step 1 creates a temp table with some data and step 2 will use it. Does each step has its own session? Is it possible to use a temporary table as described?
    Thanks,
    Denny

    Hi,
    Because every Scheduler job and job chain step uses its own session, it is not possible to use temporary tables to share data between jobs or job chain steps.
    -Ravi

  • Share stateful session bean in JSF managed beans with different scope

    Hi,
    I have a JSF application and I want to try to use of stateful session beans.
    So I created a new stateful session bean and its local interface.
    @Stateful
    public class StatefulSessionBean implements StatefulSessionBeanLocalInterface{
    private String name;
    @Local
    public interface StatefulSessionBeanLocalInterface {
    ...In my JSF application I have a mananed bean with session context which registers the new interface by
    this annotation
    @EJB(name="sessionbeanref", beanInterface=StatefulSessionBeanLocalInterface.class) and set the name to something.
    Now I want to fetch this name in another managed bean with request scope. So I looked up the bean and tried to get the name.
    StatefulSessionBeanLocalInterface = (StatefulSessionBeanLocalInterface) new InitialContext().lookup("java:comp/env/sessionbeanref");
    System.out.println(currentmailingbean.getName());but the name is null.
    Why?

    The xsd was created via the netbeans J2EE enterprise application dialog and I think its the most recent.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">All other annotations seem to work.
    Wouldnt the lookup completely fail if the deployment process thought that it is version 1.4 ?

  • X11 sessions fail post 10.4.6 update

    Yesterday I updated to 10.4.6 intel on my mac mini duo. Prior to this update I was able to ssh -X to a remote linux box and launch a vmware management console to my mac. However since the update, the vmware console attempts to launch and fails with the following error:
    The program 'vmware' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAtom (invalid Atom parameter)'.
    (Details: serial 249 error_code 5 request_code 20 minor_code 0)
    I am able to launch a simple xterm window to the mac successfully. Within remote xterm session however, I am still not able to launch the vmware X console.
    Does anyone have any ideas on what could be the issue.
    Thanks
    Elmars

    Amazing. Works fine.
    Thanks.
    However the -X did work last week before the upgrade...

  • Does the window which popup from parent window share the session of parent?

    I use javascript "window.open(uri, name, features, replace);" popup a window,
    does the window using the same session with parent?

    Yes.

  • May 2 web applications share user session info ?

    I have 2 web application (app1.war and app2.war).
    app1 set user session info.
    I wish app2 to read that user session info.
    Is this possible ?
    Thank you.

    As far as I understood, SSO needs an Infrastructure or (OID) installed. If the original idea of LDAP is to help the enterrprise centralized their User information, makes management of the commonly used information easier. Why Oracle requires its own OID to do SSO?
    Now, say, in an environment, if an organization has already had an LDAP server (such as MS AD, or Sun's iPlanet AD) in place, why should they install the Oracle's Internet Directory?
    This is big headache for management just trying to configure and keep different LDAP servers synchronized.
    Sharing user session info is a very common requirement for integrating. Is there a simple way (other than SSO) to achieve this? Will Servlet Filter be able to handle this?
    Thanks.

Maybe you are looking for