<html><div style='background-color:'><DIV class=RTE> <P>Hi all,</P> <P>I am using SSH to login to my redhat box to run a windows app on wine. Whenever I attempt to run this as a user I get the x11drv: cant open display error. Spent a few days trying to sort this out. Pls help. Thank you.<BR><BR></P></DIV></div><br clear=all><hr>Get 10mb of e-mail space with <a href="http://g.msn.com/8HMBENSG/2737??PS=">MSN Hotmail Extra Storage</a> </html>
this is a shot in the dark. but assuming you are trying to display that app on your machine you are ssh'ing from... are you exporting your display to that machine, or forwarding the port over the ssh tunnel to your local machine. -fc -----Original Message----- From: Lim Wee Cheong [mailto:mac_hjc@hotmail.com] Sent: Thursday, March 04, 2004 11:29 AM To: wine-users@winehq.org Subject: x11drv: cant open display Hi all, I am using SSH to login to my redhat box to run a windows app on wine. Whenever I attempt to run this as a user I get the x11drv: cant open display error. Spent a few days trying to sort this out. Pls help. Thank you. _____ Get 10mb of e-mail space with MSN Hotmail Extra Storage <http://g.msn.com/8HMBENSG/2737??PS=> _______________________________________________ wine-users mailing list wine-users@winehq.org http://www.winehq.org/mailman/listinfo/wine-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20040304/452ccfc3/attachment.html
actually... let me elaborate on that. anyone can correct me if I'm wrong. if you aren't blocking anything on your local machine ( and the remote allow all external through unfiltered ) you can simply do export DISPLAY=<local_ip>:0 if you and/or the other machine are behind a firewall you should be able to send your display over the ssh tunnel by: in your /etc/ssh/sshd_config make sure you have X11Forwarding yes X11DisplayOffset 0 ( i think that will work ) am i wrong? I haven't tried this... or have I ever sent my display over ssh, just read about it.... -fc -----Original Message----- From: Lim Wee Cheong [mailto:mac_hjc@hotmail.com] Sent: Thursday, March 04, 2004 11:29 AM To: wine-users@winehq.org Subject: x11drv: cant open display Hi all, I am using SSH to login to my redhat box to run a windows app on wine. Whenever I attempt to run this as a user I get the x11drv: cant open display error. Spent a few days trying to sort this out. Pls help. Thank you. _____ Get 10mb of e-mail space with MSN Hotmail Extra Storage <http://g.msn.com/8HMBENSG/2737??PS=> _______________________________________________ wine-users mailing list wine-users@winehq.org http://www.winehq.org/mailman/listinfo/wine-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20040304/65d6130b/attachment.htm
<html><div style='background-color:'><DIV class=RTE> <P>Hi,</P> <P>actually I am trying to run a socket program on the linux machine which I was trying to SSH to. I dun need the SSH display to show me the display. I only require it to run and listen on a specific port. I have tried logging on as a user and as root. Neither works. Any ideas? Thanks for helping<BR><BR></P></DIV> <DIV></DIV>>From: "Frank Clements" <FRANKC@CORP.PTD.NET> <DIV></DIV>>To: "Lim Wee Cheong" <MAC_HJC@HOTMAIL.COM>, <WINE-USERS@WINEHQ.ORG> <DIV></DIV>>Subject: RE: x11drv: cant open display <DIV></DIV>>Date: Thu, 4 Mar 2004 16:42:26 -0500 <DIV></DIV>> <DIV></DIV>>actually... let me elaborate on that. <DIV></DIV>> <DIV></DIV>>anyone can correct me if I'm wrong. <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>if you aren't blocking anything on your local machine ( and the remote <DIV></DIV>>allow all external through unfiltered ) you can simply do export <DIV></DIV>>DISPLAY=<LOCAL_IP>:0 <DIV></DIV>> <DIV></DIV>>if you and/or the other machine are behind a firewall you should be able <DIV></DIV>>to send your display over the ssh tunnel by: <DIV></DIV>> <DIV></DIV>>in your /etc/ssh/sshd_config make sure you have <DIV></DIV>> <DIV></DIV>>X11Forwarding yes <DIV></DIV>>X11DisplayOffset 0 ( i think that will work ) <DIV></DIV>> <DIV></DIV>>am i wrong? I haven't tried this... or have I ever sent my display over <DIV></DIV>>ssh, just read about it.... <DIV></DIV>> <DIV></DIV>>-fc <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> -----Original Message----- <DIV></DIV>> From: Lim Wee Cheong [mailto:mac_hjc@hotmail.com] <DIV></DIV>> Sent: Thursday, March 04, 2004 11:29 AM <DIV></DIV>> To: wine-users@winehq.org <DIV></DIV>> Subject: x11drv: cant open display <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> Hi all, <DIV></DIV>> <DIV></DIV>> I am using SSH to login to my redhat box to run a windows app on <DIV></DIV>>wine. Whenever I attempt to run this as a user I get the x11drv: cant <DIV></DIV>>open display error. Spent a few days trying to sort this out. Pls help. <DIV></DIV>>Thank you. <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> _____ <DIV></DIV>> <DIV></DIV>> Get 10mb of e-mail space with MSN Hotmail Extra Storage <DIV></DIV>><HTTP: 2737??PS="" 8HMBENSG g.msn.com> <DIV></DIV>>_______________________________________________ wine-users mailing list <DIV></DIV>>wine-users@winehq.org http://www.winehq.org/mailman/listinfo/wine-users <DIV></DIV>> <DIV></DIV></div><br clear=all><hr>Download ringtones from <a href="http://g.msn.com/8HMBENSG/2752??PS=">MSN Mobile Music!</a> </html>
Am Fre, M?r 05, 2004 at 12:06:20 +0000 schrieb Lim Wee Cheong:> actually I am trying to run a socket program on the linux machine which I was > trying to SSH to. I dun need the SSH display to show me the display. I only > require it to run and listen on a specific port. I have tried logging on as a > user and as root. Neither works. Any ideas? Thanks for helpingAs I mentioned, this is not related to wine. Your error says that the program wants to open a display to you and can't. You have to fix this first. So: - after you shh to the linux box try to open any application that uses a display (e.g. xterm); does this work? No! Make this to work first, then continue with wine! - type (on the linux box) echo $DISPLAY to see where your display is forwarded to; it has to be something like :10.0 to be a forwarding over ssh; if it's not you have to enable forwarding of X11 via ssh first Regards Joachim -- "Never touch a running system! Never run a touching system? Never run a touchy system!!!"
Am Fre, M?r 05, 2004 at 03:56:59 +0000 schrieb Lim Wee Cheong:> Thank you. I have managed to get the remote app to be displayed over ssh. > However, the remote app exits everytime i closes ssh which is not what i > wanted. I need the app to be running on the remote server even when I have > logged off. Is there some command that I am not aware of? Thank you for your > patience.Again: This has nothing to do with wine. You should post your messages anywhere else! Try nohup <command> if you want to detach a process from the terminal. And you have to note that, if the command has an open connection to you X11, ssh can not terminate without quitting the application. There are other ways also but this is unix administration and you should read a book for that. Regards Joachim -- "Never touch a running system! Never run a touching system? Never run a touchy system!!!"
<html><div style='background-color:'><DIV class=RTE> <P><BR><BR></P></DIV> <DIV></DIV>>From: Joachim von Thadden <THADDEN@WEB.DE> <DIV></DIV>>Reply-To: thadden@web.de <DIV></DIV>>To: Lim Wee Cheong <MAC_HJC@HOTMAIL.COM> <DIV></DIV>>Subject: Re: x11drv: cant open display <DIV></DIV>>Date: Fri, 5 Mar 2004 13:19:34 +0100 <DIV></DIV>> <DIV></DIV>>Am Fre, Mär 05, 2004 at 12:06:20 +0000 schrieb Lim Wee Cheong: <DIV></DIV>> > actually I am trying to run a socket program on the linux machine which I was <DIV></DIV>> > trying to SSH to. I dun need the SSH display to show me the display. I only <DIV></DIV>> > require it to run and listen on a specific port. I have tried logging on as a <DIV></DIV>> > user and as root. Neither works. Any ideas? Thanks for helping <DIV></DIV>> <DIV></DIV>>As I mentioned, this is not related to wine. Your error says that the <DIV></DIV>>program wants to open a display to you and can't. You have to fix this <DIV></DIV>>first. So: <DIV></DIV>> <DIV></DIV>>- after you shh to the linux box try to open any application that uses a <DIV></DIV>> display (e.g. xterm); does this work? No! Make this to work first, <DIV></DIV>> then continue with wine! <DIV></DIV>>- type (on the linux box) echo $DISPLAY to see where your display is <DIV></DIV>> forwarded to; it has to be something like :10.0 to be a forwarding <DIV></DIV>> over ssh; if it's not you have to enable forwarding of X11 via ssh <DIV></DIV>> first <DIV></DIV>> <DIV></DIV>>Regards <DIV></DIV>> Joachim <DIV></DIV>>-- <DIV></DIV>>"Never touch a running system! Never run a touching system? <DIV></DIV>> Never run a touchy system!!!" <DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENSG/2755??PS=">Get hot deals on MSN Shopping</a> </html>
<html><div style='background-color:'><P>Thank you. I have managed to get the remote app to be displayed over ssh. However, the remote app exits everytime i closes ssh which is not what i wanted. I need the app to be running on the remote server even when I have logged off. Is there some command that I am not aware of? Thank you for your patience.<BR><BR></P> <DIV> <DIV class=RTE> <P><BR><BR></P></DIV> <DIV></DIV>>From: Joachim von Thadden <THADDEN@WEB.DE> <DIV></DIV>>Reply-To: thadden@web.de <DIV></DIV>>To: Lim Wee Cheong <MAC_HJC@HOTMAIL.COM> <DIV></DIV>>Subject: Re: x11drv: cant open display <DIV></DIV>>Date: Fri, 5 Mar 2004 13:19:34 +0100 <DIV></DIV>> <DIV></DIV>>Am Fre, Mär 05, 2004 at 12:06:20 +0000 schrieb Lim Wee Cheong: <DIV></DIV>> > actually I am trying to run a socket program on the linux machine which I was <DIV></DIV>> > trying to SSH to. I dun need the SSH display to show me the display. I only <DIV></DIV>> > require it to run and listen on a specific port. I have tried logging on as a <DIV></DIV>> > user and as root. Neither works. Any ideas? Thanks for helping <DIV></DIV>> <DIV></DIV>>As I mentioned, this is not related to wine. Your error says that the <DIV></DIV>>program wants to open a display to you and can't. You have to fix this <DIV></DIV>>first. So: <DIV></DIV>> <DIV></DIV>>- after you shh to the linux box try to open any application that uses a <DIV></DIV>> display (e.g. xterm); does this work? No! Make this to work first, <DIV></DIV>> then continue with wine! <DIV></DIV>>- type (on the linux box) echo $DISPLAY to see where your display is <DIV></DIV>> forwarded to; it has to be something like :10.0 to be a forwarding <DIV></DIV>> over ssh; if it's not you have to enable forwarding of X11 via ssh <DIV></DIV>> first <DIV></DIV>> <DIV></DIV>>Regards <DIV></DIV>> Joachim <DIV></DIV>>-- <DIV></DIV>>"Never touch a running system! Never run a touching system? <DIV></DIV>> Never run a touchy system!!!" <DIV></DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENSG/2749??PS=">Find love online with MSN Personals</a> </html>