Re: Help with lyx for windows

2001-07-26 Thread Tuukka Toivonen

On Wed, 25 Jul 2001, Fabrizio Giammatteo wrote:

 When I try to start lyx it says: Unable to access X display - exiting

See your X-server documentation how you can change the access
control. Usually X servers accept connections originating from the same
machine you're running it (localhost) but not from anywhere else.
On Unix you could try
xhost +
command to disable access control and allow connections from everywhere.
Try something similar -- as a test -- with your X server.

HOWEVER! Do not leave access control disabled for your normal
use. Otherwise anyone could connect your X server and give any commands,
maybe opening a terminal window and sending d, e, l, , c, :, \, *, ., *
keypresses.





Re: Help with lyx for windows

2001-07-26 Thread Tuukka Toivonen

On Wed, 25 Jul 2001, Fabrizio Giammatteo wrote:

 When I try to start lyx it says: Unable to access X display - exiting

See your X-server documentation how you can change the access
control. Usually X servers accept connections originating from the same
machine you're running it (localhost) but not from anywhere else.
On Unix you could try
xhost +
command to disable access control and allow connections from everywhere.
Try something similar -- as a test -- with your X server.

HOWEVER! Do not leave access control disabled for your normal
use. Otherwise anyone could connect your X server and give any commands,
maybe opening a terminal window and sending d, e, l, , c, :, \, *, ., *
keypresses.





Re: Help with lyx for windows

2001-07-26 Thread Tuukka Toivonen

On Wed, 25 Jul 2001, Fabrizio Giammatteo wrote:

> When I try to start lyx it says: "Unable to access X display - exiting"

See your X-server documentation how you can change the access
control. Usually X servers accept connections originating from the same
machine you're running it (localhost) but not from anywhere else.
On Unix you could try
xhost +
command to disable access control and allow connections from everywhere.
Try something similar -- as a test -- with your X server.

HOWEVER! Do not leave access control disabled for your normal
use. Otherwise anyone could connect your X server and give any commands,
maybe opening a terminal window and sending d, e, l, , c, :, \, *, ., *
keypresses.





Help with lyx for windows

2001-07-25 Thread Fabrizio Giammatteo

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




Re: Help with lyx for windows

2001-07-25 Thread Amer Abufadel

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





Help with lyx for windows

2001-07-25 Thread Fabrizio Giammatteo

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




Re: Help with lyx for windows

2001-07-25 Thread Amer Abufadel

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





Help with lyx for windows

2001-07-25 Thread Fabrizio Giammatteo

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




Re: Help with lyx for windows

2001-07-25 Thread Amer Abufadel

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
>
>



Help with Lyx for windows

2001-07-12 Thread Fabrizio Giammatteo

Hi,
My Lyx for windows doesn't work and I'm terrible sad about using Ms word 
instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers:

Exceed
Xwin32

When I start Lyx I receive the message: Unable to open X display - Exiting, 
with all the x-servers above.

Anyone can help me ??

Thanks
Fabrizio




Re: Help with Lyx for windows

2001-07-12 Thread Tuukka Toivonen

On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote:

 When I start Lyx I receive the message: Unable to open X display - Exiting, 
 with all the x-servers above.

You could try setting environment variables like
set DISPLAY=localhost:0
and replace localhost with your computer's name if the above doesn't work.
Or try running lyx with argument -display localhost:0

Can you run remotely X programs from real unix computers?




Re: Help with Lyx for windows

2001-07-12 Thread Claus Hentschel

 Hi,
 My Lyx for windows doesn't work and I'm terrible sad about using Ms word
 instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two
x-servers:

 Exceed
 Xwin32

 When I start Lyx I receive the message: Unable to open X display -
Exiting,
 with all the x-servers above.

 Anyone can help me ??

Just for information what I have been answered to that topic some days ago:


There may be two reasons for that:

1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an
':0' for DISPLAY. If you have an Ethernet card installed on your system
please use it's IP address instead of 127.0.0.1! Most X-Servers
automatically serve the default IP address of your system. 127.0.0.1 (or
localhost, i.e. the corresponding net name) is only valifd if you do have a
DUN on your system.

2. If you have installed a firewall on your system (like me) than you have
to create a new rule so that LyX can connect to the X-server. (Take a look
at your firewall distributor, to learn how this has to be made!)

 I use the x-server Exceed from Hummingbird which worked correctly in the
 previous release.

Because it was running I expect that editing lyxprofile could fix the
problem!


Claus





Help with Lyx for windows

2001-07-12 Thread Fabrizio Giammatteo

Hi,
My Lyx for windows doesn't work and I'm terrible sad about using Ms word 
instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers:

Exceed
Xwin32

When I start Lyx I receive the message: Unable to open X display - Exiting, 
with all the x-servers above.

Anyone can help me ??

Thanks
Fabrizio




Re: Help with Lyx for windows

2001-07-12 Thread Tuukka Toivonen

On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote:

 When I start Lyx I receive the message: Unable to open X display - Exiting, 
 with all the x-servers above.

You could try setting environment variables like
set DISPLAY=localhost:0
and replace localhost with your computer's name if the above doesn't work.
Or try running lyx with argument -display localhost:0

Can you run remotely X programs from real unix computers?




Re: Help with Lyx for windows

2001-07-12 Thread Claus Hentschel

 Hi,
 My Lyx for windows doesn't work and I'm terrible sad about using Ms word
 instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two
x-servers:

 Exceed
 Xwin32

 When I start Lyx I receive the message: Unable to open X display -
Exiting,
 with all the x-servers above.

 Anyone can help me ??

Just for information what I have been answered to that topic some days ago:


There may be two reasons for that:

1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an
':0' for DISPLAY. If you have an Ethernet card installed on your system
please use it's IP address instead of 127.0.0.1! Most X-Servers
automatically serve the default IP address of your system. 127.0.0.1 (or
localhost, i.e. the corresponding net name) is only valifd if you do have a
DUN on your system.

2. If you have installed a firewall on your system (like me) than you have
to create a new rule so that LyX can connect to the X-server. (Take a look
at your firewall distributor, to learn how this has to be made!)

 I use the x-server Exceed from Hummingbird which worked correctly in the
 previous release.

Because it was running I expect that editing lyxprofile could fix the
problem!


Claus





Help with Lyx for windows

2001-07-12 Thread Fabrizio Giammatteo

Hi,
My Lyx for windows doesn't work and I'm terrible sad about using Ms word 
instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two x-servers:

Exceed
Xwin32

When I start Lyx I receive the message: Unable to open X display - Exiting, 
with all the x-servers above.

Anyone can help me ??

Thanks
Fabrizio




Re: Help with Lyx for windows

2001-07-12 Thread Tuukka Toivonen

On Thu, 12 Jul 2001, Fabrizio Giammatteo wrote:

> When I start Lyx I receive the message: Unable to open X display - Exiting, 
> with all the x-servers above.

You could try setting environment variables like
set DISPLAY=localhost:0
and replace localhost with your computer's name if the above doesn't work.
Or try running lyx with argument "-display localhost:0"

Can you run remotely X programs from real unix computers?




Re: Help with Lyx for windows

2001-07-12 Thread Claus Hentschel

> Hi,
> My Lyx for windows doesn't work and I'm terrible sad about using Ms word
> instead, I installed lyx 1.1.6 fix2 c,cygwin, miktex and I have two
x-servers:
>
> Exceed
> Xwin32
>
> When I start Lyx I receive the message: Unable to open X display -
Exiting,
> with all the x-servers above.
>
> Anyone can help me ??

Just for information what I have been answered to that topic some days ago:


There may be two reasons for that:

1. Edit C:\Cygwin\lyxprofile and set the correct IP address, followed by an
':0' for DISPLAY. If you have an Ethernet card installed on your system
please use it's IP address instead of 127.0.0.1! Most X-Servers
automatically serve the default IP address of your system. 127.0.0.1 (or
localhost, i.e. the corresponding net name) is only valifd if you do have a
DUN on your system.

2. If you have installed a firewall on your system (like me) than you have
to create a new rule so that LyX can connect to the X-server. (Take a look
at your firewall distributor, to learn how this has to be made!)

> I use the x-server Exceed from Hummingbird which worked correctly in the
> previous release.

Because it was running I expect that editing lyxprofile could fix the
problem!


Claus