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
On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner joseph85750@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.
From: Les Mikesell lesmikesell@gmail.com
To: CentOS mailing list centos@centos.org Sent: Friday, August 16, 2013 8:30 AM Subject: Re: [CentOS] minimal X applications needed to export to remote server?
On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner joseph85750@yahoo.com wrote:
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 probably need the xorg-x11-xauth package if you don't
have it.
Les: 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
______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "♥ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html
From: Joseph Spenner joseph85750@yahoo.com
To: CentOS mailing list centos@centos.org Sent: Friday, August 16, 2013 9:07 AM Subject: Re: [CentOS] minimal X applications needed to export to remote server?
Les: 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!
I got the fonts. All I did was:
# yum install xorg-x11-fonts-*
And all is good.
Thanks for all the help everyone!
______________________________________________________________________ If life gives you lemons, keep them-- because hey.. free lemons. "♥ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html
On Fri, Aug 16, 2013 at 11:17 AM, Joseph Spenner joseph85750@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.
On Fri, Aug 16, 2013 at 10:17 AM, Joseph Spenner joseph85750@yahoo.comwrote:
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@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.