Command line for ubuntu server

Asked by Kim Alex Olsen

Hi

Aptoncd seems not to work with real command lined installations.
When I try to use the command line on my Ubuntu Server 7.04 I just got these errors :
user@host:~$ aptoncd --create
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/share/aptoncd/CreateAptOncd.py:51: Warning: invalid (NULL) pointer instance
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: gtk_icon_theme_has_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: Invalid icon size 2

  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
/usr/share/aptoncd/CreateAptOncd.py:51: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  self.gladeFile = gtk.glade.XML(gladeFileName, self.formName)
Segmentation fault

The ubuntu server solution have no graphical interface , just ssh.
Have you plans on making a version with could work without all the graphically display stuff and just work in a secure shell connection ?
I could really help me and others server installations.

best regards
Kim Alex Olsen

Question information

Language:
English Edit question
Status:
Answered
For:
APTonCD Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rafael Proença (cypherbios) said :
#1

Hi,

aptoncd is not a command-line tool, it is focused in the graphical interface and usability. You can do that stuff using another set of command-line tools.
What aptoncd has is a 'command-line call method' which will call the aptoncd interface in any way. The command-line is not aimed to be used by the regular user, but for test purposes and to help in development.

In a near future we may support a command-line version, but it's not the priority.
Thanks for the question.

Revision history for this message
Lucas Magasweran (lucasrangit) said :
#2

Has this feature been implemented? From my tests using APTonCD on Ubuntu 11.04, it appears not. Would really like to be able to call it from the command line to create installation ISOs for my headless virtual machines that sometimes don't have working network interfaces (due to host and guest VM driver incompatibilities).

Thanks!

Can you help with this problem?

Provide an answer of your own, or ask Kim Alex Olsen for more information if necessary.

To post a message you must log in.