  | |  | cygwin [SOLVED] | cygwin [SOLVED] 2003-12-13 - By Jake McHenry
Back > -- --Original Message-- -- > From: shrike-list-admin@(protected) > [mailto:shrike-list-admin@(protected)] On Behalf Of VJ > Sent: Saturday, December 13, 2003 1:34 PM > To: shrike-list@(protected) > Subject: Re: cygwin > > > Can you ping among both the machines? Even if you can, I > guess the port needed for X communication needs to be opened > on the firewall. VJ > -- -- Original Message -- -- > From: "Jake McHenry " <linux@(protected) > > To: <shrike-list@(protected) > > Sent: Saturday, December 13, 2003 6:09 PM > Subject: RE: cygwin > > > > > -- --Original Message-- -- > > > From: shrike-list-admin@(protected) > > > [mailto:shrike-list-admin@(protected)] On Behalf Of VJ > > > Sent: Saturday, December 13, 2003 12:14 PM > > > To: shrike-list@(protected) > > > Subject: Re: cygwin > > > > > > > > > I assume you want to run X Server on a windows machine and the > > > actual aplication on a remote Linux/Unix machine. In that > case, all > > > you have to do is following > > > > > > You can execute the commands using ssh on the remote > machine(i iwll > > > not suggest telnet, but choice is yours) On machine running cygwin > > > xhost k.l.m.n > > > where k.l.m.n is ip address of the machine where you will > > > run the application. You can provide dns name also if > > > available(but check it if it work by pinging to it first) > > > > > > On remote machine > > > export DISPLAY=a.b.c.d:0 > > > where a.b.c.d is IP of machine running cygwin > > > > > > after this whatever GUI application you run on remote machine it
> > > will present it 's user interface on your machine running cygwin. > > > > > > VJ > > > > > > -- -- Original Message -- -- > > > From: "Jake McHenry " <linux@(protected) > > > > To: <shrike-list@(protected) > > > > Sent: Saturday, December 13, 2003 4:52 PM > > > Subject: cygwin > > > > > > > > > > I know this is the wrong list for this question, but I > was hoping > > > > someone could help me quick. Does anyone know if > > > cygwin/xfree86 on the > > > > windows platform allows remote X connections or just ssh? I > > > have read > > > > almost all the docs from their site and can 't seem to find > > > anything on > > > > getting a remote X desktop, only ssh connections. I have gotten > > ssh > > > > connected through it, but if I try to do startx or > something like > > > > that, it just hangs, I never get the desktop. > > > > > > > > Thanks, > > > > > > > > Jake McHenry > > > > Nittany Travel MIS Coordinator
http://www.nittanytravel.com
> > > > > > > > > > > > > > > > > > > > -- > > > > Shrike-list mailing list > > > > Shrike-list@(protected) > > > > https://www.redhat.com/mailman/listinfo/shrike-list > > > > > > > > > > > > > -- > > > Shrike-list mailing list > > > Shrike-list@(protected) > > > https://www.redhat.com/mailman/listinfo/shrike > -list > > > > > > > > > I just tried all this, but when I try to start the X server, I still > > get an error. Here is what it says: > > > > AUDIT: Sat Dec 13 12:58:56 2003: 30074 X: client 5 rejected > from local > > host > > > > > > > > I have added both my local ip address and the remote IP via xhost on > > both the local and remote machines. > > I exported the DISPLAY variable on the linux server to equal > > 24.229.162.18:0 > > > > I even disabled my firewall on my home machine. Do I need to do > > anything to the firewall at the server? It 's not a linux firewall, > > it 's a SMC hardware firewall. > > > > In the cygwin docs it says to test with running xterm& from the > > server, this worked, it popped up a new terminal window. But I still > > can 't get the X desktop to display. > > > > Does it matter what runlevel I 'm in? I tried both 3 and 5. > In runlevel > > 5 I get errors saying X is locked to the local display 0, so I must > > need to run it from runlevel 3? > > > > What am I missing? > > > > > > Thanks, > > > > Jake McHenry > > Nittany Travel MIS Coordinator > >
http://www.nittanytravel.com
> > > > > > > > > > > > -- > > Shrike-list mailing list > > Shrike-list@(protected) > > https://www.redhat.com/mailman/listinfo/shrike-list > > > > > -- > Shrike-list mailing list > Shrike-list@(protected) > https://www.redhat.com/mailman/listinfo/shrike-list >
I found a script in /etc/X11/xinit called Xclients .... I ran that and it came right up!
Thanks for the help
Jake
|
|
 |