RE: Cygwin has anyone got it going

2002-03-09 Thread Chad and Doria Skinner


 If you want to run an X session over ssh, you don't need to 'startx'.=20
 That command normally starts an X server on a local console...

 Just run something like 'sh .xinitrc'

He will however have to start the Xserver on his machine for anything to
display...will he not? In other words would he not issue startx on his local
machine then ssh into the server and start the session?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Cygwin has anyone got it going

2002-03-09 Thread Gregg Morris

 Chad == Chad and Doria Skinner [EMAIL PROTECTED] writes:


 If you want to run an X session over ssh, you don't need to
 'startx'.=20 That command normally starts an X server on a
 local console...
 
 Just run something like 'sh .xinitrc'

 He will however have to start the Xserver on his machine for
 anything to display...will he not? In other words would he not
 issue startx on his local machine then ssh into the server and
 start the session?

Yes, you need to have an X server running on the Windows box.  XFree86
has been ported to Cygwin and Exceed has an X server also.  There may
be a couple of other X servers for Windows, but those are the ones
that I have had the most success with.

Regards,
Gregg



A hat should be taken off when you greet a lady and left off for the
rest of your life. Nothing looks more stupid than a hat.  -- P.J.O'Rourke



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Cygwin has anyone got it going

2002-03-09 Thread Gordon Messmer

On Fri, 2002-03-08 at 22:48, Linux wrote:
 On Fri, 2002-03-08 at 20:44, Linux wrote:
  
  I have got the Cygwin panel to work. I can SSH into the server. When I try
  to startx it wont start. I think there is something in the xinitrc file I
  need to edit. Any help much appreciated.
 
 If you want to run an X session over ssh, you don't need to 'startx'. 
 That command normally starts an X server on a local console...
 
 Just run something like 'sh .xinitrc'
 
 Thanks Gordon
 
 Here is the xinitrc file where do I add in the address of the xserver
 xxx.xxx.xxx.xxx

Normally you wouldn't... Is the DISPLAY variable set when you SSH to the
server?  If not, make sure your SSH client is set up to forward X11
traffic.  Once the SSH client is configured to forward X11 traffic, the
DISPLAY variable should be set to something like localhost:10.0 when
you log in.

If you don't want to forward your traffic, set the variable yourself,
like this:
DISPLAY=myworkstation:0.0 sh .xinitrc




signature.asc
Description: This is a digitally signed message part


RE: Cygwin has anyone got it going

2002-03-09 Thread Bret Hughes

On Sat, 2002-03-09 at 13:10, Gordon Messmer wrote:
 On Fri, 2002-03-08 at 22:48, Linux wrote:
  On Fri, 2002-03-08 at 20:44, Linux wrote:
   
   I have got the Cygwin panel to work. I can SSH into the server. When I try
   to startx it wont start. I think there is something in the xinitrc file I
   need to edit. Any help much appreciated.
  
  If you want to run an X session over ssh, you don't need to 'startx'. 
  That command normally starts an X server on a local console...
  
  Just run something like 'sh .xinitrc'
  
  Thanks Gordon
  
  Here is the xinitrc file where do I add in the address of the xserver
  xxx.xxx.xxx.xxx
 
 Normally you wouldn't... Is the DISPLAY variable set when you SSH to the
 server?  If not, make sure your SSH client is set up to forward X11
 traffic.  Once the SSH client is configured to forward X11 traffic, the
 DISPLAY variable should be set to something like localhost:10.0 when
 you log in.
There is also a server config entry that affects this.  look in
/etc/ssh/sshd_config for openssh server there are a couple of lines that
affect the X11 forwarding behavior:

X11Forwarding yes
X11DisplayOffset 10


HTH

BRET



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Cygwin has anyone got it going

2002-03-09 Thread Linux

Thanks Bret

I have checked the /etc/ssh/sshd_config for X11Forwarding yesand
X11DisplayOffset 10 and they exist. How do I set the dispaly variable as you
have mentioned below. You are right I can start an x session on the console
real easy. I didn't know this was happening until I canned X on the console
and watched it restart from the remote session.

Mike


  I have got the Cygwin panel to work. I can SSH into the server. When I
try
   to startx it wont start. I think there is something in the xinitrc
file I
   need to edit. Any help much appreciated.
  
  If you want to run an X session over ssh, you don't need to 'startx'. 
  That command normally starts an X server on a local console...
  
  Just run something like 'sh .xinitrc'
  
  Thanks Gordon
  
  Here is the xinitrc file where do I add in the address of the xserver
  xxx.xxx.xxx.xxx
 
 Normally you wouldn't... Is the DISPLAY variable set when you SSH to the
 server?  If not, make sure your SSH client is set up to forward X11
 traffic.  Once the SSH client is configured to forward X11 traffic, the
 DISPLAY variable should be set to something like localhost:10.0 when
 you log in.
There is also a server config entry that affects this.  look in
/etc/ssh/sshd_config for openssh server there are a couple of lines that
affect the X11 forwarding behavior:

X11Forwarding yes
X11DisplayOffset 10


HTH

BRET



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security  management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Cygwin has anyone got it going

2002-03-09 Thread Gordon Messmer

On Sat, 2002-03-09 at 11:54, Linux wrote:
 
 I have checked the /etc/ssh/sshd_config for X11Forwarding yesand
 X11DisplayOffset 10 and they exist. How do I set the dispaly variable as you
 have mentioned below.

That depends on what ssh client you're using.  If you're using openssh
included with Cygwin, then try 'ssh -X'.  





signature.asc
Description: This is a digitally signed message part


RE: Cygwin has anyone got it going

2002-03-09 Thread Linux

Finally got it all going using XDMCP
Using this method you do not have to use SSH, Telnet, display consoles, or
any other complex method

Remote Sessions via XDMCP
Cygwin/XFree86 can be used login to a remote session using XDMCP (X Display
Manager Control Protocol).

Start Cygwin/XFree86 with a command similar to the following to login to a
remote session using XDMCP:

XWin.exe -query remote_host_ip_address -from local_host_ip_address

XDMCP is a complex system; further discussion of XDMCP is beyond the scope
of this document. You may wish to read the Linux XDMCP HOWTO for more
information.

Many thanks to all of you who contributed

Mike


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security  management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Cygwin has anyone got it going

2002-03-08 Thread Gordon Messmer

On Fri, 2002-03-08 at 20:44, Linux wrote:
 
 I have got the Cygwin panel to work. I can SSH into the server. When I try
 to startx it wont start. I think there is something in the xinitrc file I
 need to edit. Any help much appreciated.

If you want to run an X session over ssh, you don't need to 'startx'. 
That command normally starts an X server on a local console...

Just run something like 'sh .xinitrc'



signature.asc
Description: This is a digitally signed message part


RE: Cygwin has anyone got it going

2002-03-08 Thread Linux

On Fri, 2002-03-08 at 20:44, Linux wrote:
 
 I have got the Cygwin panel to work. I can SSH into the server. When I try
 to startx it wont start. I think there is something in the xinitrc file I
 need to edit. Any help much appreciated.

If you want to run an X session over ssh, you don't need to 'startx'. 
That command normally starts an X server on a local console...

Just run something like 'sh .xinitrc'

Thanks Gordon

Here is the xinitrc file where do I add in the address of the xserver
xxx.xxx.xxx.xxx

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

twm 
xclock -geometry 50x50-1+1 
xterm -geometry 80x50+494+51 
xterm -geometry 80x20+494-0 
exec xterm -geometry 80x66+0+0 -name login


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security  management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list