LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shutting down the graphic server (Looking Glass) (https://www.linuxquestions.org/questions/linux-newbie-8/shutting-down-the-graphic-server-looking-glass-218699/)

escordeiro 08-17-2004 07:15 AM

Shutting down the graphic server (Looking Glass)
 
Hello everyone,

I have recently downloaded the Project Looking Glass (and all required libraries) and installed it on my Mandrake 10 system.

I want to run the project, but it seems that it's been unable to bind to a local port...I am guessing it is because the X server or KDE has already binded that port...how can I shut down the graphic server in order to allow Looking Glass to run?

Regards

gunter 08-17-2004 07:48 AM

If I understand correctly, you are running GDM or KDM at boot. I am not very familiar with mandrake, but this means that you are probably running at runlevel 5(multiuser with X). One way to kill X(and a 'nice' way) would be to switch to runlevel 3(multiuser with text). To do this, switch to a text console (Ctr+Alt+F2) and login as root. Then type 'init 3'. If you can't get a text console with ctrl+alt+f2, try f3,f4, etc. until you get one.

BTW, I don't know anything about Looking Glass, so I can't tell you if this will get you running or not.

Baldrick65 08-17-2004 08:05 AM

Gunter pretty much hit it on the head. As root, type in a terminal init 3. From the Looking Glass site:
Quote:

The following error message is displayed when you start Project Looking Glass using lg3d-session:

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server
isn't already running

First, make sure that you do not have an X11 session running on the display on which you're starting lg3d-session. Then check to see if you have /tmp/.X11-unix/X0 left behind from a previous session. To fix this problem, delete this file and restart lg3d-session.
Baldrick

escordeiro 08-17-2004 08:47 AM

Thank you for the help...

I managed to enter the runlevel 3, delete the temporary X server files and run lg3d-session, but a gray screen will open with the mouse pointer in the middle and that's it...

Baldrick65, have you ever run Looking Glass on your computer? I thought the lg3d-dev application should start it on the windowed mode, but it won't...

I already have installed JDK1.5.0, JAI 1.1.2 and Java3D 1.3.2-build4 accordingly to the instructionns at the Project Looking Glass page, but it just won't run...is there anything I may be doing wrong?

Thanks again

Baldrick65 08-17-2004 08:55 AM

No, I haven't run it (it looks pretty interesting though). Apparently under Linux, it won't run in windowed mode. This only can occur on Sun's own operating system Sun Java Desktop System Release 1 and Release 2.
Again from the web site:
Quote:

Running Project Looking Glass full-screen

This mode allows you to run Project Looking Glass full-screen and launch any application, including native X11 applications. You must first shutdown your X session before starting Project Looking Glass. This mode can only be used on Linux systems. Eventually, this will become the primary mode for running LG3D and will be supported both on Linux and Solaris systems.
HTH

Baldrick


All times are GMT -5. The time now is 01:21 AM.