by francesco21 » Thu May 31, 2012 0:11
sabayon francesco # java -jar /usr/share/lxmed/lib/LXMenuEditor.jar
* Home for VM 'sun-jdk-1.6' does not exist: /usr/lib/jvm/sun-jdk-1.6
* Invalid System VM: sun-jdk-1.6
sabayon francesco # gksu java -jar /usr/share/lxmed/lib/LXMenuEditor.jar
(gksu:9561): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running
(gksu:9561): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running
(gksu:9561): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running
gksu: opzione non valida -- "j"
GKsu version 2.0.2
Usage: gksu [-u <user>] [options] <command>
--debug, -d
Print information on the screen that might be
useful for diagnosing and/or solving problems.
--user <user>, -u <user>
Call <command> as the specified user.
--disable-grab, -g
Disable the "locking" of the keyboard, mouse,
and focus done by the program when asking for
password.
--prompt, -P
Ask the user if they want to have their keyboard
and mouse grabbed before doing so.
--preserve-env, -k
Preserve the current environments, does not set $HOME
nor $PATH, for example.
--login, -l
Make this a login shell. Beware this may cause
problems with the Xauthority magic. Run xhost
to allow the target user to open windows on your
display!
--description <description|file>, -D <description|file>
Provide a descriptive name for the command to
be used in the default message, making it nicer.
You can also provide the absolute path for a
.desktop file. The Name key for will be used in
this case.
--message <message>, -m <message>
Replace the standard message shown to ask for
password for the argument passed to the option.
Only use this if --description does not suffice.
--print-pass, -p
Ask gksu to print the password to stdout, just
like ssh-askpass. Useful to use in scripts with
programs that accept receiving the password on
stdin.
Mi da questa risposta usando i due comandi. Ho visto che tu hai scritto che si basa su java, allora mi sono chiesto e se mi mancasse java, che pacchetti devo installare?