NetBenas

Gondoltam megpróbálom, a netbeans-t feltenni az Kubuntura, mert mostmár dolgozni is kéne. Elég fusztráló az, hogy akármibe belekezdek nem sikerül. De télleg.

A probléma nagyjából ez:

The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag.

És a megoldása:
This message appears if the DISPLAY variable is not set, even if the Installer is run on the local machine.

Solution: Make sure the DISPLAY variable is set to :0.0 if running on the local machine.

Jah, not set, csak h setelembe azt basztak volna leírni. Főleg hogy találtam mindenféle fajta megoldást, fedorára meg mindenre ubuntura persze nem. És ami jó fedorára az itt persze nem működik. Hát juhu.

If your DISPLAY environment variable is not correctly set, type the following command in a C shell:

setenv DISPLAY your-local-host:0.0

aha, csak setenv parancsom nekem nincs. yeah.

Van egy sopronim, április 14-ig jó, ha sikerülmegcsinálni kubuntura a hálot akkor megiszom. Remélem nem fog megromlani.

Hozzászólások

>> aha, csak setenv parancsom nekem nincs. yeah.
'export' ellenben van

lehet nem root-ként kellene futtatni az installert!

wrapper:


#!/bin/bash
# Usage wrapper.sh <setupfile>

[ -z DISPLAY ] && export DISPLAY=":0.0"
. $1
if [ $? != 0 ]; then
   export DISPLAY=":0"
   . $1
fi