[TiLUG] Quale applicazione?

davide dg@linux.it
Gio 9 Mar 2006 14:28:32 CET


gi0@autistici.org wrote:
> lanciare l'applicazione come root e' una soluzione,
> oppure metti in ascolto l'applicazione su una porta supra la 1024.
Ok, provato con sudo e le nuove impostazioni del pacchetto debian sono
molto restrittive. Come si faceva per accedere ad X con sudo?

In fondo il trace dell'esecuzione :)

Ciao
D.

$ gksudo "java -jar /home/davide/freedom/freedom.jar"
Exception in thread "main" java.lang.InternalError: Can't connect to
X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.Toolkit$2.run(Toolkit.java:748)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
        at
net.java.plaf.Environment.isWindowsXPThemedImpl(Environment.java:182)
        at net.java.plaf.Environment.<init>(Environment.java:51)
        at
net.java.plaf.LookAndFeelPatchManager.patch(LookAndFeelPatchManager.java:99)
        at
net.java.plaf.LookAndFeelPatchManager.initialize(LookAndFeelPatchManager.java:94)
        at emsgui.setLAF(emsgui.java:85)
        at emsgui.main(emsgui.java:16)
Exception in thread "main" java.lang.InternalError: Can't connect to
X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.Toolkit$2.run(Toolkit.java:748)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
        at
net.java.plaf.Environment.isWindowsXPThemedImpl(Environment.java:182)
        at net.java.plaf.Environment.<init>(Environment.java:51)
        at
net.java.plaf.LookAndFeelPatchManager.patch(LookAndFeelPatchManager.java:99)
        at
net.java.plaf.LookAndFeelPatchManager.initialize(LookAndFeelPatchManager.java:94)
        at emsgui.setLAF(emsgui.java:85)
        at emsgui.main(emsgui.java:16)



-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        signature.asc
Tipo:        application/pgp-signature
Dimensione:  187 bytes
Descrizione: OpenPGP digital signature
Url:         http://lists.linux.it/pipermail/tilug/attachments/20060309/5260891e/signature.pgp


Maggiori informazioni sulla lista Tilug