Hi Dan,
AbiWord 2.6 can run without an X display. AbiWord 2.6 is due out in a few days.
If you're set on using an older version of AbiWord, you can always set
up a fake Xserver so that you don't need to be logged in for this to
work.
Dom
On Tue, Mar 18, 2008 at 11:16 AM, Dan Ell <dane@jbase.com> wrote:
>
>  I have a linux script that picks up items from a directory and
>  mail-merges them to the printer.  The problem is that this script will
>  not work unless the main console is logged on.  Is there an option in
>  abiword to allow it to run command line without having to have a X
>  window open?
>
>  The relevant portion of the script does the following
>
>  /usr/bin/abiword-2.2 -m /abiord/183291_1468365168 /abiord/docs/order.abw
>  -p /tmp/183291_1468365168.ps
>
>  I am currently setting the environment as follows to get it to work.
>  The problem is that I need to constantly update this and the root
>  console has to be logged in for it to work.  I am wanting to know how I
>  can stabilize this environment and make it so the root console does not
>  need to be logged on
>
>  export SSH_AGENT_PID=2666
>  export DESKTOP_STARTUP_ID=
>  export TERM=xterm
>  export GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
>  export WINDOWID=23098784
>  export SSH_AUTH_SOCK=/tmp/ssh-XXqpWsdh/agent.2602
>  export SESSION_MANAGER=local/linux:/tmp/.ICE-unix/2602
>  export
>  PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin
>  :
>  /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
>  export XMODIFIERS=@im=none
>  export GDMSESSION=Default
>  export SHLVL=2
>  export GNOME_DESKTOP_SESSION_ID=Default
>  export DISPLAY=:0.0
>  export COLORTERM=gnome-terminal
>  XAUTHORITY=/root/.Xauthority
>  -----------------------------------------------
>  To unsubscribe from this list, send a message to
>  abiword-user-request@abisource.com with the word
>  unsubscribe in the message body.
>
-- Counting bodies like sheep to the rhythm of the war drums. ----------------------------------------------- To unsubscribe from this list, send a message to abiword-user-request@abisource.com with the word unsubscribe in the message body.Received on Tue Mar 18 16:23:00 2008
This archive was generated by hypermail 2.1.8 : Tue Mar 18 2008 - 16:23:00 CET