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

Reply via email to