Here is what your lyxprofile should look like:
************************************************
# Set up your home directory (in Cygwin syntax)
export HOME="//d/LyxDocs"
# Set up your Language (if you do not want English)
#export LANG=DE
# ========================================================
# Below this line you should not change anything if you're
# not familiar with configuration of an unix application!
# ========================================================
export PATH="/usr/bin:/usr/local/bin:/usr/X11R6/bin:/bin:$PATH"
export USER="`id -un`"
export DISPLAY=localhost:0.0
export MAKE_MODE=unix
unset DOSDRIVE
unset DOSDIR
unset TMPDIR
unset TMP
for i in /etc/profile.d/*.sh ; do
if [ -f $i ]; then
. $i
fi
done
cd "$HOME"
test -f ./.bashrc && . ./.bashrc
*****************************************************
and your runlyx.bat in your cygwin directory should look like:
*****************************************************
@echo off
:: START YOUR X-SERVER HERE
:: First change into its directory (The path should
:: be quoted if there is any space character in it!)
:: Then call the executable, i.e. xwin32 here!
:: ================================================
echo "Starting X-Win32 ..."
cd "F:\Program Files\StarNet\X-Win32"
start .\xwin32.exe
:: Change your geometry settings in the last line so
:: the LyX window will fit on your screen!
:: ================================================
cd F:\cygwin\bin
start .\lyxwin32.exe -geometry 900x800+100+5
*****************************************************
When you start lyx, this is the file that you run, not any other. It starts
your X server then Lyx.
Hope this helps,
Amer
----- Original Message -----
From: "Fabrizio Giammatteo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 12:28 PM
Subject: Help with lyx for windows
> Hi,
> This is my second mail on topic, but I don't know how to solve my problem
> in other ways.
>
> I've installed lyx for windows (1.1.6 fixc) in this environment:
>
> - Pc Laptop Pentium III (Acer 524TE)
> - Windows Millenium Edition
> - cygwin
> - X-win32 or Exceed
> - MikTex
>
> When I try to start lyx it says: "Unable to access X display - exiting"
>
> Someone told me to modify the DISPLAY variable in the file /etc/lyxprofile
> in order to change the value localhost to the true IP address of my
> machine, but nothing seems to change.
>
> I have no firewall or other protections.
>
> Someone could help me ???
> Thanks a lot
>
> Fabrizio
>
> Fabrizio Giammatteo
> Information Engineering
>
> Web: www.fgiamma.org
> Mail: [EMAIL PROTECTED]
> ICQ: 47901548
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>