This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Start X Server on Windows Login
- From: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 21 May 2004 18:32:06 +0200 (MEST)
- Subject: Re: Start X Server on Windows Login
- References: <40AE0F61.9080409@turtlesystems.co.uk>
- Reply-to: cygwin-xfree at cygwin dot com
Russell Seymour wrote:
> Good afteroon list,
>
> I have been looking around the list today and whilst I have some great
> pointers on what I want to achieve I am having some problems bringing it
> all together.
>
> Aim: When I log into Windows the X server is started and
> win-ssh-askpass is called asking for my ssh private key password to give
> to the ssh-agent. I then want to use a shortcut to bring up xterms as
> and when I want them.
>
> Coming from a UNIX background I understand that I need to use .xsession
> ot .xinit or .xinitrc, however I am not sure how I can get X to start
> (without using the provided bash file or Cygwin prompt as I do not want
> a bash terminal at this stage) which causes this to be read. This is
> where I will put the ssh-agent start up information.
>
> If anyone has accomplished this or has some ideas I would be eternally
> grateful.
you can avoid the console window with the run utility installed with the
startup scripts.
/usr/X11R6/bin/run bash -c ~/.xsession
This will startup the .xsession script but does not display a console
window.
bye
ago
NP: Diary Of Dreams - Drop Dead
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723