Joseph Spenner
2013-Aug-16 15:17 UTC
[CentOS] minimal X applications needed to export to remote server?
I'm running a piece of network backup software called 'bacula', on a minimal CentOS 6.4 install. I got everything working pretty well, but there's one piece giving me some problem-- a component which gives status info via a GUI. In the past, on previous installations, I could ssh to the bacula server with the -X option, and run the application (called 'bat'), and it would display back.? I'd have to make sure the sshd_config permits Xforwarding, but that was all. On my new CentOS 6.4 minimal, I always get: bat: cannot connect to X server I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot.? Still no go. I figured something was missing, since it is a minimal install, with no X.?? So I installed 'xlogo', thinking maybe all the X stuff needed to display that would be installed.? By installing xlogo, I got a bunch of X stuff, including: xorg-x11-apps-7.6-6.el6.x86_64 I also have: libXau-1.0.6-4.el6.x86_64 libX11-1.5.0-4.el6.x86_64 libXrender-0.9.7-2.el6.x86_64 libXcursor-1.1.13-2.el6.x86_64 libXft-2.3.1-2.el6.x86_64 libXxf86vm-1.1.2-2.el6.x86_64 libXi-1.6.1-3.el6.x86_64 libXmu-1.1.1-2.el6.x86_64 libXaw-1.0.11-2.el6.x86_64 libX11-common-1.5.0-4.el6.noarch libXext-1.3.1-2.el6.x86_64 libXfixes-5.0-3.el6.x86_64 libXdamage-1.1.3-4.el6.x86_64 libXrandr-1.4.0-1.el6.x86_64 libXinerama-1.1.2-2.el6.x86_64 libXv-1.0.7-2.el6.x86_64 libXt-1.1.3-1.el6.x86_64 libXpm-3.5.10-2.el6.x86_64 But I still get the error. Anyone know which package/rpm/lib I am missing? Thanks! Regards, Joseph Spenner ______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "? Sticker" fixer:? http://microflush.org/stuff/stickers/heartFix.html
Les Mikesell
2013-Aug-16 15:30 UTC
[CentOS] minimal X applications needed to export to remote server?
On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner <joseph85750 at yahoo.com> wrote:> I'm running a piece of network backup software called 'bacula', on a minimal CentOS 6.4 install. > I got everything working pretty well, but there's one piece giving me some problem-- a component which gives status info via a GUI. > In the past, on previous installations, I could ssh to the bacula server with the -X option, and run the application (called 'bat'), and it would display back. I'd have to make sure the sshd_config permits Xforwarding, but that was all. > > On my new CentOS 6.4 minimal, I always get: > > bat: cannot connect to X server > > I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot. Still no go.Did you try -Y instead of -X? It has never been clear to me which things need -Y so I generally just use -Y all the time. Also adding -v or -vv to the ssh args will sometimes show the details about what is failing. You probably need the xorg-x11-xauth package if you don't have it. -- Les Mikesell lesmikesell at gmail.com
Kwan Lowe
2013-Aug-16 15:31 UTC
[CentOS] minimal X applications needed to export to remote server?
On Fri, Aug 16, 2013 at 11:17 AM, Joseph Spenner <joseph85750 at yahoo.com> wrote:> In the past, on previous installations, I could ssh to the bacula server with the -X option, and run the application (called 'bat'), and it would display back. I'd have to make sure the sshd_config permits Xforwarding, but that was all. > > On my new CentOS 6.4 minimal, I always get: > > bat: cannot connect to X server > > I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot. Still no go.You've probably already checked, but does the sshd_config deny X11 forwarding? Did you allow the remote via xhost on your local X server? Does your desktop require x11 magic cookies or other auth mechanism?> > I figured something was missing, since it is a minimal install, with no X. So I installed 'xlogo', thinking maybe all the X stuff needed to display that would be installed. By installing xlogo, I got a bunch of X stuff, including:You can test by temporarily installing tigervnc-server on the remote and connecting. If you can run it there it should work remotely.
m.roth at 5-cent.us
2013-Aug-16 15:35 UTC
[CentOS] minimal X applications needed to export to remote server?
Joseph Spenner wrote:> I'm running a piece of network backup software called 'bacula', on aminimal CentOS 6.4 install.> I got everything working pretty well, but there's one piece giving mesome problem-- a component which gives status info via a GUI.> In the past, on previous installations, I could ssh to the bacula serverwith the -X option, and run the application (called 'bat'), and it would display back.? I'd have to make sure the sshd_config permits Xforwarding, but that was all.> > On my new CentOS 6.4 minimal, I always get: > > bat: cannot connect to X server > > I tried the usual tricks of exporting the display to my system where Iwant to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot.? Still no go.> > I figured something was missing, since it is a minimal install, with noX.?? So I installed 'xlogo', thinking maybe all the X stuff needed to display that would be installed.? By installing xlogo, I got a bunch of X stuff, including:> > xorg-x11-apps-7.6-6.el6.x86_64<snip> I'd start out with yum groupinstall "X Window System" mark
Andrew Wyatt
2013-Aug-16 15:42 UTC
[CentOS] minimal X applications needed to export to remote server?
On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner <joseph85750 at yahoo.com>wrote:> I'm running a piece of network backup software called 'bacula', on a > minimal CentOS 6.4 install. > I got everything working pretty well, but there's one piece giving me some > problem-- a component which gives status info via a GUI. > In the past, on previous installations, I could ssh to the bacula server > with the -X option, and run the application (called 'bat'), and it would > display back. I'd have to make sure the sshd_config permits Xforwarding, > but that was all. > > On my new CentOS 6.4 minimal, I always get: > > bat: cannot connect to X server > > I tried the usual tricks of exporting the display to my system where I > want to see the GUI, which shouldn't be necessary anyway due to the 'ssh > -X', but I thought I'd give it a shot. Still no go. > > I figured something was missing, since it is a minimal install, with no > X. So I installed 'xlogo', thinking maybe all the X stuff needed to > display that would be installed. By installing xlogo, I got a bunch of X > stuff, including: > > xorg-x11-apps-7.6-6.el6.x86_64 > > I also have: > > libXau-1.0.6-4.el6.x86_64 > libX11-1.5.0-4.el6.x86_64 > libXrender-0.9.7-2.el6.x86_64 > libXcursor-1.1.13-2.el6.x86_64 > libXft-2.3.1-2.el6.x86_64 > libXxf86vm-1.1.2-2.el6.x86_64 > libXi-1.6.1-3.el6.x86_64 > libXmu-1.1.1-2.el6.x86_64 > libXaw-1.0.11-2.el6.x86_64 > libX11-common-1.5.0-4.el6.noarch > libXext-1.3.1-2.el6.x86_64 > libXfixes-5.0-3.el6.x86_64 > libXdamage-1.1.3-4.el6.x86_64 > libXrandr-1.4.0-1.el6.x86_64 > libXinerama-1.1.2-2.el6.x86_64 > libXv-1.0.7-2.el6.x86_64 > libXt-1.1.3-1.el6.x86_64 > libXpm-3.5.10-2.el6.x86_64 > > But I still get the error. > > Anyone know which package/rpm/lib I am missing? > > Thanks! > > Regards, > Joseph Spenner > > ______________________________________________________________________ > If life gives you lemons, keep them-- because hey.. free lemons. > "? Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >At a minimum I would install xorg-x11-xauth, xorg-x11-tools, xorg-x11-apps, and xorg-x11-xterm. Also make sure you configure X11Forwarding to yes in sshd_config.
James B. Byrne
2013-Aug-17 13:31 UTC
[CentOS] minimal X applications needed to export to remote server?
On Fri, August 16, 2013 12:07, Joseph Spenner wrote:> ?? Thanks for the tip!???? xorg-x11-xauth got me closer!?? The xlogo > does show up! > However, when I run 'bat', I get the gui with a bunch of little > squares instead of fonts/text: > > http://img835.imageshack.us/img835/7935/62gh.png > > So, looks like I need some font stuff!???? Is there a package/RPM to > get all those? > > Thanks for the help.?? This is great! > > Regards, > Joseph Spenner >I find that I need these additional packages to run gui X-windows apps from remote systems. yum install xorg-x11-xauth dejavu-sans-fonts.noarch -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3