problem installing package on ubuntu

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i get this error when installing lg3d-core

Install these packages without verification [y/N]? y
Preconfiguring packages ...
Selecting previously deselected package lg3d-core.
(Reading database ... 159807 files and directories currently installed.)
Unpacking lg3d-core (from .../lg3d-core_1.0.0_i386.deb) ...
Setting up lg3d-core (1.0.0) ...
/usr/share/lg3d/bin/postinstall: line 10: /bin/arch: No such file or directory
/usr/share/lg3d/bin/../bin/add-lg-to-gdm: line 28: /bin/arch: No such file or directory
Success. LG has been added as a gdm session.
/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
E: Sub-process /usr/bin/dpkg returned an error code (1)
mike@mike-desktop:~$
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243733

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

after gettign that error and tryign to logg out then back in to the looking glass session it gives me soem gtk warnign error and i cant log into the looking glass session, so any help would be apreciated, thansk!
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243734

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> /usr/share/lg3d/bin/postinstall: line 10: /bin/arch: No such file or directory
> /usr/share/lg3d/bin/../bin/add-lg-to-gdm: line 28: /bin/arch: No such file or directory

It looks like you are running Gutsy? Gutsy seems to have removed /bin/arch.
I'm guessing you're using the 1.0 release build - if so you'll need to
manually edit the the postinstall, otherwise I've just committed a fix
for it.

Anyway to manually fix it edit
<code>/usr/share/lg3d/bin/postinstall</code> and on line 11 (after
<code>ARCH=`/bin/arch`</code>) add the following:

<code>
if [ "$ARCH" == "" ]; then
        ARCH=`uname -m`
fi
</code>

Then run postinstall again and it should setup LG3D so you can run it
as your display server.

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

since u just committed a fix wher ecan i grab the latest version, the one you just fixed?
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243743

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok so i edited and gogt it to work and it created the session. But i have the same problem, when i try to logg into the session i get this error sayign it only lasted ten seconds then i look at the detaisl and it gives some gtk warning....
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243745

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> since u just committed a fix wher ecan i grab the latest version, the one you just fixed?
You can check out the CVS and build it yourself if you like
(https://lg3d.dev.java.net/lg3d-developers-guide.html is a good guide
to doing this).

However, the daily builds haven't been running since February (this
was done by a machine at Sun), so they aren't available - but there
haven't been many changes since then either.

> ok so i edited and gogt it to work and it created the session. But i have the same problem, when i try to logg into the session i get this error sayign it only lasted ten seconds then i look at the detaisl and it gives some gtk warning....

Can you post the information from ~/.xsession-errors - this file is
generated on the failure.
I haven't tried it under gutsy - I'll have to try tonight when I'm
home, and I'll see if I can see why it is failing.

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(process:17722): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

    http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:17726): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

    http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/gdm/Xsession: Beginning session setup...
/etc/X11/Xsession.d/40guidance-displayconfig_restore: 11: /usr/bin/displayconfig-restore: not found
SESSION_MANAGER=local/mike-desktop:/tmp/.ICE-unix/17719
Window manager warning: 0 stored in GConf key /apps/metacity/general/num_workspaces is not a reasonable number of workspaces, current maximum is 36
Window manager warning: Failed to read saved session file /home/mike/.metacity/sessions/default0.ms: Failed to open file '/home/mike/.metacity/sessions/default0.ms': No such file or directory
** Message: Not starting remote desktop server


Tracker version 0.6.3 Copyright (c) 2005-2007 by Jamie McCracken (jamiemcc@...)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
Could not set idle IO priority...attempting best effort 7 priority
Throttle level is 0
xcompmgr found as compositing manager
Screen is composited.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c0002a (awn_elemen)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
APPLET : /home/mike/.config/awn/applets/weather.desktop
LOADED : /usr/share/applications/firefox.desktop
LOADED : /usr/share/applications/ooo-writer.desktop
LOADED : /usr/share/applications/f-spot.desktop
LOADED : /usr/share/applications/gnome-terminal.desktop
LOADED : /usr/share/applications/pidgin.desktop
LOADED : /usr/share/applications/rhythmbox.desktop
evolution-alarm-notify-Message: Setting timeout for 7270 1194238800 1194231530
evolution-alarm-notify-Message:  Mon Nov  5 00:00:00 2007

evolution-alarm-notify-Message:  Sun Nov  4 21:58:50 2007

LOADED : /home/mike/Iscrybe.desktop
APPLET : /usr/local/lib/awn/applets/taskman.desktop
APPLET : /usr/local/lib/awn/applets/trash.desktop
Initializing gnome-mount extension
  PID TTY          TIME CMD
alarm-notify.c:368 (alarm_notify_new) - Alarm Notify New
 alarm-notify.c:304 (alarm_channel_setup) - Channel Setup
 alarm-notify.c:243 (alarm_notify_init) - Initing Alarm Notify
alarm-queue.c:1870 (alarm_queue_init)
alarm-queue.c:200 (queue_midnight_refresh) - Refresh at Mon Nov  5 00:00:00 2007
 
alarm-notify.c:220 (load_calendars) - Loading Calendar file:///home/mike/.evolution/calendar/local/system
alarm-notify.c:462 (alarm_notify_add_calendar) file:///home/mike/.evolution/calendar/local/system - Calendar Open Async... 0x80c8f50
alarm-notify.c:220 (load_calendars) - Loading Calendar contacts:///
alarm-notify.c:462 (alarm_notify_add_calendar) contacts:/// - Calendar Open Async... 0x80dbb90
alarm-notify.c:220 (load_calendars) - Loading Calendar file:///home/mike/.evolution/tasks/local/system
alarm-notify.c:462 (alarm_notify_add_calendar) file:///home/mike/.evolution/tasks/local/system - Calendar Open Async... 0x80e2da0
alarm-notify.c:220 (load_calendars) - Loading Calendar file:///home/mike/.evolution/memos/local/system
alarm-notify.c:462 (alarm_notify_add_calendar) file:///home/mike/.evolution/memos/local/system - Calendar Open Async... 0x80e2c40
alarm-notify.c:393 (cal_opened_cb) file:///home/mike/.evolution/tasks/local/system - Calendar Status 0
alarm-queue.c:2052 (alarm_queue_add_client) - Posting a task
alarm-notify.c:393 (cal_opened_cb) file:///home/mike/.evolution/calendar/local/system - Calendar Status 0
alarm-queue.c:2052 (alarm_queue_add_client) - Posting a task
alarm-notify.c:349 (alarm_msg_received) - 0x80ea3e0: Received at thread b4e33b90
alarm-queue.c:2003 (alarm_queue_add_async) - 0x80e2da0
alarm-queue.c:581 (load_alarms_for_today) - From Sun Nov  4 21:58:57 2007
 to Sun Nov  4 21:58:57 2007

alarm-queue.c:518 (load_alarms)
alarm-queue.c:547 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_msgport_replied) - 0x80ea3e0: Replied to GUI thread
alarm-notify.c:349 (alarm_msg_received) - 0x80e3410: Received at thread b4e33b90
alarm-queue.c:2003 (alarm_queue_add_async) - 0x80c8f50
alarm-queue.c:581 (load_alarms_for_today) - From Sun Nov  4 21:58:57 2007
 to Sun Nov  4 21:58:57 2007

alarm-queue.c:518 (load_alarms)
alarm-queue.c:547 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_msgport_replied) - 0x80e3410: Replied to GUI thread
alarm-notify.c:393 (cal_opened_cb) file:///home/mike/.evolution/memos/local/system - Calendar Status 0
alarm-queue.c:2052 (alarm_queue_add_client) - Posting a task
alarm-notify.c:349 (alarm_msg_received) - 0x80df288: Received at thread b4e33b90
alarm-queue.c:2003 (alarm_queue_add_async) - 0x80e2c40
alarm-queue.c:581 (load_alarms_for_today) - From Sun Nov  4 21:58:57 2007
 to Sun Nov  4 21:58:57 2007

alarm-queue.c:518 (load_alarms)
alarm-queue.c:547 (load_alarms) - Setting Call backs
alarm-notify.c:337 (alarm_msgport_replied) - 0x80df288: Replied to GUI thread
alarm-notify.c:393 (cal_opened_cb) contacts:/// - Calendar Status 0
alarm-queue.c:2052 (alarm_queue_add_client) - Posting a task
alarm-notify.c:349 (alarm_msg_received) - 0x80e2a70: ReceivedLaunched application : 17907
Launched application : 17956
Launched application : 18090
Initializing Mono.Addins
Starting new FSpot server
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time

(f-spot:18090): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem

(f-spot:18090): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
Reloading
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
item changed
open uri = file:///home/mike/Photos/2002/01/01/PICT0061-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0061-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0061-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0061-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0062-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0062-1.JPG

(f-spot:18090): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  (((id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (16))) AND id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2))) ORDER BY photos.time
Reloading
Query: SELECT photos.id, photos.time, photos.directory_path, photos.name, photos.description, photos.roll_id, photos.default_version_id FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
open uri = file:///home/mike/Photos/2002/01/01/PICT0090.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0090.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0096.JPG
item changed
open uri = file:///home/mike/Photos/2002/01/01/PICT0096.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0096.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0096.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0096.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0084-1.JPG
item changed
open uri = file:///home/mike/Photos/2002/01/01/PICT0084-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0084-1.JPG
open uri = file:///home/mike/Photos/2002/01/01/PICT0084-1.JPG
Launched application : 18135
Launched application : 18193

(avant-window-navigator:17818): GLib-CRITICAL **: g_string_ascii_down: assertion `string != NULL' failed

(awn-applet-activation:17840): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(awn-applet-activation:17840): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
xcompmgr found as compositing manager
Screen is composited.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c0002a (awn_elemen)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
APPLET : /home/mike/.config/awn/applets/weather.desktop
LOADED : /usr/share/applications/firefox.desktop
LOADED : /usr/share/applications/ooo-writer.desktop
LOADED : /usr/share/applications/f-spot.desktop
LOADED : /usr/share/applications/gnome-terminal.desktop
LOADED : /usr/share/applications/pidgin.desktop
LOADED : /usr/share/applications/rhythmbox.desktop
LOADED : /home/mike/Iscrybe.desktop
APPLET : /usr/local/lib/awn/applets/taskman.desktop
APPLET : /usr/local/lib/awn/applets/trash.desktop
/home/mike/.config/awn/applets/weather/weather.py:505: Warning: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
  gtk.main()

(awn-applet-activation:17840): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Launched application : 18296
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 252, in <module>
    app.run_argv()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 256, in run_argv
    self.run_crash(self.options.crash_file, False)
  File "/var/lib/python-support/python2.5/apport/ui.py", line 113, in run_crash
    apport.fileutils.mark_report_seen(report_file)
  File "/var/lib/python-support/python2.5/apport/fileutils.py", line 92, in mark_report_seen
    f = open(report)
IOError: [Errno 13] Permission denied: '/var/crash/lg3d-core.0.crash'
checking for valid crashreport now
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 252, in <module>
    app.run_argv()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 256, in run_argv
    self.run_crash(self.options.crash_file, False)
  File "/var/lib/python-support/python2.5/apport/ui.py", line 113, in run_crash
    apport.fileutils.mark_report_seen(report_file)
  File "/var/lib/python-support/python2.5/apport/fileutils.py", line 92, in mark_report_seen
    f = open(report)
IOError: [Errno 13] Permission denied: '/var/crash/lg3d-core.0.crash'
checking for valid crashreport now
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243749

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/5/07, lg3d@... <lg3d@...> wrote:
> (process:17722): Gtk-WARNING **: This process is currently running setuid or setgid.
> This is not a supported use of GTK+. You must create a helper
> program instead. For further details, see:

Ahh that makes sense - I remember seeing something on the ubuntu devel
mailing list relating to setui permissions. The postinstall script
sets it to be setuid. You can try disabling it and see if it works -
I'm not if the reason it is set to be setuid is for the gdm
integration:
<code>
chmod u-s /usr/share/lg3d/lib/linux-/lg3d-x11/programs/Xserver/Xorg
</code>

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

not exactly sure what u told me to do to fix this... i am fairly new coudl u explain a little bette,r thanks.
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=243959

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/6/07, lg3d@... <lg3d@...> wrote:
> not exactly sure what u told me to do to fix this... i am fairly new coudl u explain a little bette,r thanks.
I've been playing around a little with this today - it looks like
there are more problems than I thought. I'll see what I can do about
it, and I'll post a new deb package for you to use hopefully tonight.

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

great, thank you very much, will be looking forward to this deb
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=244189

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've built a new build of the lg3d-core debian package. This installs
successfully for me on Ubuntu Gutsy - however starting lg3d from gdm
isn't working I'm still trying to find out what the issue is with
this, but if you want to play around with lg3d-dev mode (there is no
X11 integration, but you can have a look at the desktop) then you can
install the package.

You can download the package from here:
https://lg3d-core.dev.java.net/files/documents/1834/74353/lg3d-core_1.0.1_dev_i686.deb

lg3d-dev is in /usr/share/lg3d/bin/lg3d-dev

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

let me know when you get the gdm session working, thanks!
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=244777

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok so installed the deb then tried to get it to work from gdm and it started but gave me a black screen and a white box that said jav version and shoudl a logo or soemthign then i tried this:

mike@mike-desktop:~$  /usr/share/lg3d/bin/lg3d-dev

Starting up Project Looking Glass...

WARNING: NativeWin   L&F
mike@mike-desktop:~$


any ideas on hwo i can use this desktop enviroment?
[Message sent by forum member 'searayman' (searayman)]

http://forums.java.net/jive/thread.jspa?messageID=244973

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was having the same problems the new deb worked but when I tried to use Looking Glass the error log generates this:

LG3D Dir         : /usr/share/lg3d/
LGCONFIG         : file:////etc//lg3d/lgconfig_1p_x.xml
LG_SETTINGS      :  -Dlg.etcdir=/etc/ -Dlg.resourcedir=/usr/share/lg3d/resources/ -Dlg.use3dtoolkit=true -Dlg.fws.mode=app -Dlg.lgserverdisplay=:1 -Dawt.toolkit=org.jdesktop.lg3d.awt.xlg3dtoolkit  -Dlg.fws.x11.interfaceRequired=5.0
LGX11HOME        : /usr/share/lg3d//lib/linux-i686/lg3d-x11
X Server Version : dev-0-9-0-3
JAVA_HOME        : /usr/share/lg3d-jdk
CLASSPATH        : /usr/share/lg3d//lib/lg3d-core.jar:/usr/share/lg3d//lib/lg3d-demo-apps.jar:/usr/share/lg3d//ext/j3d-contrib-utils.jar:/usr/share/lg3d//ext/escher-0.2.2.lg.jar:/usr/share/lg3d//ext/satin-v2.3.jar:/usr/share/lg3d//ext/app/bgmanager.jar:
PATH             : /usr/share/lg3d-jdk/bin:/home/adam/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/share/lg3d//lib/i386
LD_LIBRARY_PATH  : /usr/share/lg3d//lib/linux-i686/lg3d-x11/exports/lib:/usr/share/lg3d//lib/linux-i686::/usr/share/lg3d//lib/linux-i686/lg3d-x11/exports/lib:/usr/share/lg3d//lib:/usr/share/lg3d//ext/escher/platform/linux/i686/lib
JAVACMD          : /usr/share/lg3d-jdk/bin/java -client -XX:CompilerThreadPriority=4 -Xms128m -Xmx256m -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -Dlg.appcodebase=file:///usr/share/lg3d//ext/app  -Dj3d.useFreeLists=false -Xbootclasspath/a:/usr/share/lg3d//lib/lg3d-awt-toolkit.jar:/usr/share/lg3d//lib/fws-x11-kbd-utils.jar    -Dj3d.sortShape3DBounds=true -Dlg.configurl=file:////etc//lg3d/lgconfig_1p_x.xml -Dlg.displayconfigurl=file:////etc//lg3d/displayconfig/j3d1x1-nbfs  -Dlg.etcdir=/etc/ -Dlg.resourcedir=/usr/share/lg3d/resources/ -Dlg.use3dtoolkit=true -Dlg.fws.mode=app -Dlg.lgserverdisplay=:1 -Dawt.toolkit=org.jdesktop.lg3d.awt.xlg3dtoolkit  -Dlg.fws.x11.interfaceRequired=5.0 org.jdesktop.lg3d.displayserver.Main
[Message sent by forum member 'fickendichdu' (fickendichdu)]

http://forums.java.net/jive/thread.jspa?messageID=245538

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've found something else to try:

After the package is installed can you edit /usr/share/bin/lg3d-app
and comment out line 106, so it should read:
#  unset XAUTHORITY;

Can you test and see if that works? I haven't had a chance to test
that change yet as I'm not at home.

A bit more explanation of my searches as follows:

I've been looking into this further, but still haven't found the cause
- the setuid reference was not an issue - in actually fact I get that
when my normal gnome desktop starts up. The continuation of the logs
that I get (only when X11 fails to start - which is what happens for
me every time) is the following:
Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified


Exception in thread "LG-splashstarter" java.lang.InternalError: Can't
connect to X11 window server using ':0' as the value of the DISPLAY
variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
        at java.awt.Window.init(Window.java:354)
        at java.awt.Window.<init>(Window.java:407)
        at java.awt.Frame.<init>(Frame.java:402)
        at java.awt.Frame.<init>(Frame.java:367)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1731)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
        at javax.swing.JWindow.<init>(JWindow.java:168)
        at javax.swing.JWindow.<init>(JWindow.java:120)
        at org.jdesktop.lg3d.toolkit.NonLGJWindow.<init>(NonLGJWindow.java:28)
        at org.jdesktop.lg3d.displayserver.SplashWindow.<init>(SplashWindow.java:60)
        at org.jdesktop.lg3d.displayserver.SplashWindow.showSplashscreen(SplashWindow.java:90)
        at org.jdesktop.lg3d.displayserver.SplashStarter.run(SplashStarter.java:70)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class sun.awt.X11GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
        at java.awt.Window.init(Window.java:354)
        at java.awt.Window.<init>(Window.java:407)
        at java.awt.Frame.<init>(Frame.java:402)
        at java.awt.Frame.<init>(Frame.java:367)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1731)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
        at javax.swing.JDialog.<init>(JDialog.java:259)
        at javax.swing.JDialog.<init>(JDialog.java:193)
        at org.jdesktop.lg3d.displayserver.ErrorDialog.<init>(ErrorDialog.java:64)
        at org.jdesktop.lg3d.displayserver.LogHandler.publish(LogHandler.java:47)
        at java.util.logging.Logger.log(Logger.java:472)
        at java.util.logging.Logger.doLog(Logger.java:494)
        at java.util.logging.Logger.log(Logger.java:583)
        at org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler.<init>(ServerHandler.java:83)
        at org.jdesktop.lg3d.displayserver.Main.main(Main.java:113)
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing


Playing around just running lg3d-app manually it displays the following error:

+ '[' 1 '!=' 1 ']'
+ '[' linux == solaris ']'
+ export DISPLAY=:0
+ DISPLAY=:0
+ '[' linux == linux ']'
+ '[' -x /usr/bin/xhost ']'
+ /usr/bin/xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/usr/bin/xhost:  unable to open display ":0"


Looking through lg3d-app I found the following reference:
  # lg3d-app can only be run from within a gdm/kdm session if
  # this env var is unset
  unset XAUTHORITY;

Trying this out from within gnome it starts up lg3d in app mode for
me. I haven't tried from the gdm session (I'm not at home at the
moment, so it doesn't run properly on this machine anyway).

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: problem installing package on ubuntu

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm hoping someone is still listening out there.

Kirk, I tried the change you suggested to comment out the [i]unset xsession[/i].  Still getting a X11lg3d file configured wrong message.

I have gotten the dev mode to work, but the app refuses to work in Ubuntu Gutsy.  I did see mention of a problem involving the setuid in the postinstall bash script.  Is there any validity to this.

Thanks for your help!
[Message sent by forum member 'nilber' (nilber)]