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

Reply via email to