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