home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,024 of 87,272   
   Harold Johanssen to Rich   
   Re: xhost not working under TigerVNC   
   22 Oct 22 13:46:11   
   
   From: noemail@please.net   
      
   On Sat, 22 Oct 2022 03:47:32 -0000 (UTC), Rich wrote:   
      
   > Harold Johanssen  wrote:   
   >>        I have a Slackware 15.0 host A running a TigerVNC session on   
   >> display 1. I can connect to that session from another Slackware 15.0   
   >> system with vncviewer tunneled within an sshSSH channel. I can also ssh   
   >> into B from a terminal emulator in A.   
   >>   
   >>        What I would like to do is the following:   
   >>   
   >>        1. In the TigerVNC session in A launch a terminal emulator and   
   >> ssh from it into B.   
   >   
   > You are telling this ssh here to perform X forwarding, right?  Or are   
   > these systems on the same network such that B can contact A without   
   > being carried over the ssh tunnel?   
   >   
   >>        2. At the ssh session in B created above send some graphical   
   >> output to the TigerVNC session in A.   
   >>   
   >>        Step two does not work - I keep getting 'Can't open display: A:   
   >> 1.0'.   
   >>   
   >>        I thought that the way to do pull this off consisted of   
   >>        executing   
   >> the following commands in a terminal emulator in the TigerVNC session   
   >> in A:   
   >>   
   >>        $ export DISPLAY=A:1.0 $ xhost +B   
   >   
   > The xhost +B has to happen on A.  You need to tell A "allow B to use   
   > your display", which is what "xhost +B" does, when run on A.  This above   
   > looks like you are doing the xhost on B.   
      
   	I don't think I have explained my situation properly. My   
   apologies. Let me try again:   
      
   	Host A is running an XFCE session that was launched in A with   
   vncserver :1, vncserver being the TigerVNC X server.   
      
   	In that session I launched an xterm, and within this xterm I   
   executed xhost +B, where B is the IP address if the other host involved.   
   Both hosts can reach each other over ssh.   
      
   	In the same XFCE session in A I launched another xterm, from   
   which I ssh into B. Therefore in this xterm I have a shell running in B.   
      
   	In this last xterm, with the shell running in B, I execute export   
   DISPLAY=A:1, where A is the IP address of A.   
      
   	At this point I expected that when I launch an X application in   
   the shell running in B, its output would be displayed in the XFCE session   
   in A. It does not, with the diagnostic above.   
      
   	The thing is, until recently I had an XFCE session running on A   
   directly on top of Xorg, not TigerVNC's Xvnc - and the steps above worked   
   as expected. It is just when I was forced to use TigerVNC (system A is   
   not attached to a monitor anymore) that the problem that I am describing   
   arose. Which is why I suspect TigerVNC is behind all this - but it does   
   not seem to have any options that I am aware of to get around it.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca