December 28, 2006 · General · Email This Post

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Sun Microsystems is contributing Project Looking Glass, based on Java™ technology, to the open source community.
Project Looking Glass is an exploratory project to bring innovative 3D features to the desktop environment. The desktop interface will offer an intuitive, new 3D environment to interact with desktop applications featuring window transparency, rotation, zoom, multiple desktop workspaces, and miniaturization. Project Looking Glass offers a platform to realize a far richer and more entertaining user experience for existing and new applications in 2D or 3D. The technology enables developers to build highly visual 3D desktops and applications that will run on Linux systems such as Sun’s Java Desktop System. The Solaris™ environment will be supported in the near future.

Install Looking glass in Ubuntu

There are 3 LG3D repositories. The stable repository has the latest stable releases (0.8.1, 1.0 etc.). The testing repository has the pre-release builds (alpha, beta etc.) for the latest version and the unstable repsoitory has the nightly builds.

Edit the /etc/apt/sources.list file

sudo vi /etc/apt/sources.list

and add the following line which is suitable for you save the file and exit.

# LG3D repsoitories

For stable

deb http://javadesktop.org/lg3d/debian stable contrib

For testing

# deb http://javadesktop.org/lg3d/debian testing contrib

For Unstable

# deb http://javadesktop.org/lg3d/debian unstable contrib

Suggested one is stable one

Now you need to update the repositories using the following command

sudo apt-get update

Install looking glass using the following command

sudo apt-get install lg3d-core

This will install all the required packages for looking glass desktop environment.

If you want to access the Looking glass Desktop environment logout from the existing session and now you are on ubuntu
login screen in this you need to select options—> selectsession

You should see the following screen here you have to select looking glass and click on change session


Now it will disply the following screen in this you want to change to looking glass just for this session or if you want to make looking glass your default desktop environment.

Now it will load the looking glass desktop and looks like the following screen

One more nice screenshots of Ubuntu Looking Glass Desktop

  • Share/Save/Bookmark

Related Articles

20 Comments to “Install Sun Looking glass Desktop environment in Ubuntu”

  1. Martins says:

    Stabel, testing and unstable sources are not working. Is there any other?

  2. Martins says:

    Sorry, I mean stable.

  3. admin says:

    may be you can try after some time there might be some problem with web site

  4. What are Project Looking Glass’ recommended system requirements?

    An will it not run awfully slow since it is built upon Java?

  5. tra@jxta.org says:

    No, you will be amazed as fast Java 3D and Looking Glass are running :-)

  6. Viper says:

    I used the stable repository with Edgy and I get the following error:

    E: /var/cache/apt/archives/lg3d-jdk_1.6.0+b104_i386.deb: subprocess pre-installation script returned error exit status 1

  7. Balachmar says:

    I have the same problem as stated by Viper.
    I am also using Edgy eft. And the repos.

  8. Brad says:

    Add these lines in sources.list

    # LG3D repositories
    deb http://javadesktop.org/lg3d/debian stable contrib

    Run apt-get update

    If it did not work…try adding this line in addition under LG3D repositories,
    deb http://javadesktop.org/lg3d/debian dists stable contrib

    Then run apt-get update again, then run apt-get install and everything should start downloading, the file sizes a quite large so I hope you have a high-speed connection.

    B-Rad

  9. stimpy says:

    the demo runs fine (slow, of course) from an usb device but for ubuntu, java3d ask for glx 1.3 (i dont have a good graphic card)

    could be that only the ubuntu drivers of my card don’t support glx 1.3?
    strange that a mini linux has better drivers than the other o_O

    the glx 1.3 needed by j3d can be bypassed?

    aaah… too many questions XD

    thanks and sorry for my bad english

  10. Jester says:

    How about a tutorial on how the key commands for LG?

  11. marko says:

    During installation he did not find XORG directory… Something X11 missing. HELP??????????

  12. bhanu says:

    hey its downloaded fully while installing it shows this error

    E: lg3d-core: subprocess post-installation script returned error exit status 1

    help??

  13. Kat says:

    Hi…my bf and I are running Gutsy. and we came up with the same

    error:

    E: /var/cache/apt/archives/lg3d-jdk_1.6.0+b104_i386.deb: subprocess pre-installation script returned error exit status 1

    We tried reinstalling, but still got the same error. Plus, there was a warning before we first installed saying that one of the packages was “unsigned.” I’d be more worried about security issues re: the unauthenticated stuff if we were using Microsoft Windows, but do you think that the error has to do with the unsigned package?

    Also, my bf tried to download MySQL last week and had some issues, therefore there are some packages from the Synaptic Manager that won’t install correctly as a result. Not sure why.

    Might there be a connection between the faulty installation of Looking Glass and the faulty installation of MySQL?

    Sorry if my message wasn’t more clear…the S. Other and I are still relatively new to Linux (we’ve only used it about 2 yrs).

    What’s been other people’s experience? Got any hints for a noob?

  14. admin says:

    but do you think that the error has to do with the unsigned package?

    No

    faulty installation of Looking Glass and the faulty installation of MySQL?

    I believe fault installation of looking glass

  15. Jeff Martens says:

    My experiences were similar to the above. I went ahead with the install against my better judgment when I saw the authentication failure. The install bombed fro me much as for the others above, and I went ahead and tried to start it, and LG crashed right away as well. Uninstalling and removing the site from my apt config.

  16. Jeff says:

    /usr/share/lg3d/bin/postinstall: line 43: cd: /usr/share/lg3d/bin/../lib/linux-/lg3d-x11/programs/Xserver: No such file or directory
    chown: cannot access `Xorg’: No such file or directory
    chgrp: cannot access `Xorg’: No such file or directory
    chmod: cannot access `Xorg’: No such file or directory
    dpkg: error processing lg3d-core (–configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    lg3d-core
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  17. deez says:

    i got the same error as jeff.. any help?

  18. Prakash says:

    Even I have the same error as Jeff. Any known fix for the same ?

  19. Andrew says:

    I got the same error… there’s issues with the installation scripts, found here:

    sudo gedit /usr/share/lg3d/bin/postinstall
    /usr/share/lg3d/bin/setup

    since it gives you line errors, open these files with gedit (sudo gedit /path/i/gave/above) and scroll down to the lines that it lists. for the postinstall error, it’s failing to properly detect the architecture, and therefore getting an invalid file existence. you can eliminate this by going into the script and changing the ‘detected path’ on line 43 to the absolute path that you need… for me i changed it to this:

    cd /usr/share/lg3d/lib/linux-i686/lg3d-x11/programs/Xserver

    though note that i have a 64 bit architecture, so if you have a 32 bit, then you will need 386 instead of 686, i believe. alternatively, you can just navigate to the
    folder “/usr/share/lg3d/lib/linux-i686/lg3d-x11/programs/Xserver” and run the chown, chgrp, and chmod listed in the script yourself, and save yourself the trouble.

    for the ’setup’ script error, it starts on line 68. assuming you’re using ubuntu, you can comment out that big nested if/else statement there, leaving only 1 “export OS=”linux” ” and ” export ARCH=”i686″ “(for 64 bit) uncommented, and the script should then work.

    im still having an issue with getting it to start, but i think it’s just because it’s assuming my screen is display0, rather than display1. heres to hopin, cause this desktop is freakin sweet!

    Andrew

  20. ON3i1 says:

    Thanks for the introduction to Looking Glass– but I, like many others, apparently, had some difficulty with the install. The problem seems to be due to the lack of the deprecated UNIX command ‘arch.’ We’ve got to work around this.

    1) Not sure if it’s necessary, but made sure the Java runtime environment is installed (Java 6 and OpenJDK in applications->Add/Remove)

    2) We need to create an executable file in /bin named ‘arch’. So at the command line, do the following:
    2b) sudo echo ‘uname -m’> /bin/arch
    2c) sudo chmod 755 /bin/arch

    3) Carry out the install described at the top of this page. Now that you’ve got ‘arch’ the install will be able to automatically identify your architecture– saving the trouble of having to change a bunch of files.

    4) I’d also test this install procedure in a VirtualBox virtual machine before proceeding to your actual system.

    I hope that’s helpful– Looking Glass is really a lot of fun.

Leave a Reply