It's been surprisingly difficult to set up a remote display between two CentOS boxes, one headless running v.5.9 and the other a new laptop running v.7.2. Since the one machine is headless, it should be obvious which is to display the desktop of the other. The two machines are on the same local network, yet there is iptables running on both of them. But it's not a big deal for me to add rules for them. There's already a solid ssh connection from the laptop to the headless machine. I recently set up remote display of applications from a Raspian (Debian running on a Raspberry Pi) to my Android phone-- that took only about an hour-- and (quite a while ago) an X server displaying apps from another Linux box-- was also trivial to do-- which is why it's been a mystery why using gdm is so difficult. Since I've tried a lot of different settings over the past several days, it would take too long to describe them all. If perhaps someone could describe the steps from the beginning, that would be much simpler and would give others seeking the same on the internet a doc to work from. So does anyone know how this is done?
On Thu, Jan 28, 2016 at 03:24:48AM -0500, ken wrote:> It's been surprisingly difficult to set up a remote display between two > CentOS boxes, one headless running v.5.9 and the other a new laptop running > v.7.2. Since the one machine is headless, it should be obvious which is to > display the desktop of the other.Maybe you should be more clear as to what you mean by 'remote display'? Running 'ssh -X servername' will give you the ability to run remote X apps on your local system, so if that's all you want, you're done. -- Jonathan Billings <billings at negate.org>
On 01/28/2016 09:40 AM, Jonathan Billings wrote:> On Thu, Jan 28, 2016 at 03:24:48AM -0500, ken wrote: >> It's been surprisingly difficult to set up a remote display between two >> CentOS boxes, one headless running v.5.9 and the other a new laptop running >> v.7.2. Since the one machine is headless, it should be obvious which is to >> display the desktop of the other. > > Maybe you should be more clear as to what you mean by 'remote > display'?When someone is sitting at their linux machine which is running gnome, and if that machine is running at 'init 5', and if they aren't yet logged in, they'll have something on their screen called the Greeter. If they successfully log in they'll have displayed on their monitor a 'gnome desktop'. If they've logged in before, normally gnome (or more properly 'gdm') will display those apps which were open that last time (at the time they logged out from gnome). By 'remote display' I mean that all of that, beginning with the Greeter, can be seen and used, it functions, not on the machine which one is sitting at, at that moment called the local machine, but another machine, a remote machine.> > Running 'ssh -X servername' will give you the ability to run remote X > apps on your local system, so if that's all you want, you're done. >Nope.