Skip to main content

Terminal wont come up?

6 replies [Last post]
gireesh
Offline
Joined: 2004-06-29
Points: 0

All,
Got Looking Glass installed and works flawlessly!! Please keep up the great work.
One small problem. When I start either lg3d-dev or lg3d-session I cannot bring up the terminal. Is that a known bug? I dont think there is any other way of starting X11 programs in lg3d-session, is there?
Another q is that why does lg3d-session need to be run as root in linux?
BTW, running Mandrake Linux 10 Official on a SOYO PXP400 Dragon Lite, 512MB, 30GB system.

Best Regards
Gireesh

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dryduck
Offline
Joined: 2006-02-17
Points: 0

Normally XFree86 is setuid root because it needs root access to various devices and directories. The modified XFree86 binary included in lg3d loses the setuid root when you extract the tar file as an ordinary user. Find it in your lg3d directory, chown it to root, and do chmod u+s on it, and you should be fine (worked for me).

hideya
Offline
Joined: 2003-07-22
Points: 0

Hi Andrew,

Thanks for sharing the explanations and instructions with
the folks on the alias!

hideya

d-signet
Offline
Joined: 2006-02-17
Points: 0

Same problem, can't get terminal up and therefore, launch anything.

I can post the lgserver.log file if i need to, but it;s kinda huge :o(

heres an interesting snippet though :

INFO: Server started...
02-Jul-2004 11:58:38 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
INFO: Waiting for client connection...
java.io.IOException: java.io.IOException: xterm: not found
at java.lang.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:590)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:325)
at org.jdesktop.lg3d.utils.action.AppLaunchAction.performAction(AppLaunchAction.java:59)
at org.jdesktop.lg3d.utils.eventadapter.MouseClickedEventAdapter.processLgEvent(MouseClickedEventAdapter.java:173)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.processEventList(EventProcessor.java:194)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.processStimulus(EventProcessor.java:121)
at javax.media.j3d.BehaviorScheduler.doWork(Unknown Source)
at javax.media.j3d.J3dThread.run(Unknown Source)
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x46e1b9d2, pid=2247, tid=1167870896
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing)
# Problematic frame:
# C [libGLcore.so.1+0x2e69d2] _nv000832gl+0x12
#
# An error report file with more information is saved as hs_err_pid2247.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

[EOF]

Now i cant find hs_err_pid2247.log, but I did find a few files in my [home]/lg3d/bin directory with similar names (presumably from when the same thing happened on previous occurances)

I'd rather not post theses files though cos again, they're HUGE (for a forum posting anyway)

Is there any specific part i should look for?

Any ideas how i can get it working?

Apaert from that...good work guys, an excellent bit of kit :o)

d-signet
Offline
Joined: 2006-02-17
Points: 0

you know when you feel REALLLLY stupid ??? :O(

Yes, i looked at the error logs, re-installed xterm and viola! a working shell

happyBunnies++

paulby
Offline
Joined: 2003-06-13
Points: 0

When working in development mode (Project Looking Glass in a box) using lg3d-dev non of the X integration code is running so no X applications will start within the 3D environment. To use X applications you need to run the Project Looking Glass modified X server, this is not started by the lg3d-dev script.

lg3d-session does start the X server and the integration code in the LG3D environment so you should see the xterm. One thing you could try if you have a second machine is to ssh into the machine running lg3d-session, set the DISPLAY to :0.0 and start xterm by hand. It should then appear in the 3D environment, if it does not please submit a bug report and include the /var/tmp/lgserver.log and any output in the ssh.

Anonymous

I have the same problem. I tried running the session and ssh'ing into my machine. I issued the command "xterm -display :0" and, magically, an xterm popped up on my looking glass desktop. I tried to launch the terminal through the dock icon and nothing happened again. I checked the log and I saw nothing applicable.
Blake
BlakeB395@myrealbox.com