Launching X apps from a machine without X installed


 
Thread Tools Search this Thread
Operating Systems Linux Launching X apps from a machine without X installed
# 1  
Old 05-13-2010
Launching X apps from a machine without X installed

Hi.

Here's my setup:
  • a workstation with an X server
  • a CentOS server with no X server installed (development, security is not a concern)
  • a GUI application installed on the server

When I ssh to that machine, I get:

Code:
[root@bobcat] ssh -Xl root 192.168.x.x 
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
[root@bobcat]

When I later on start a GUI application from that machine I get:

Code:
[root@bobcat]./mysql-administrator

Xlib: connection to "192.168.1.174:0.0" refused by server
Xlib: No protocol specified
[root@bobcat]

I guess this happens because there are certain X libs missing on the server, which the app I try to start on the server needs. Can anybody tell me what libs I need to install on the server to make things work?

br,

flj
# 2  
Old 05-13-2010
This is not a "Missing libs" scenario. This is an xhosts problem where you have not specified that they can attach to your local X server.

try xhosts + <IP> of your remote server before you ssh
# 3  
Old 05-14-2010
Added xhost to setup, ran xhost + ...,

Also installed fonts on the remote machine. I still get the same error:
Code:
Fontconfig warning: line 32: unknown element "cachedir"
Fontconfig warning: line 33: unknown element "cachedir"
Fontconfig warning: "/etrc/fonts/80-delicious.conf", line 18: invalid match target scan
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

I also don't have the man page for fontconfig on that machine, but yum says fontconfig is already installed. I looked at the manual, but didn't get any smarter. Found the exactly same error reported in several places on the net, but no workaround.
# 4  
Old 05-14-2010
You will need the fonts on the Xserver, the machine you want the program to display upon.
# 5  
Old 05-14-2010
Thought so myself

Smilie However, having an X server running and other X apps displaying their UI on the local machine, I thought there's no risk of not having fontconfig properly installed locally.

Besides, I ran dolphin from another machine on my X server, and it didn't complain about missing fonts, and all fonts available for the X server I am running (cygwin-X) are already installed.

Any other ideas?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to find whether Solaris installed on physical machine or on a VMware/KVM?

Hi All, . I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM. I tried uname -a but it's giving only whether i installed on X86 or sparc machine. I tried prtdiag command but it's giving below information. command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies

2. Red Hat

Finding installed packages on Linux machine

Hi, i am trying to grab all the installed packages on linux machine,and only want to grab "Name" "Version" "Release" "Vendor" information i am using below command to do so : rpm -qa --info | grep -e 'Name' -e 'Version' -e 'Release' -e 'Vendor' the output contains lot other info... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

3. Solaris

Having solaris installed over VM ware machine in windows

I have installed solaris 10 over VM ware in windows machine. now i want to share the files from windows to solaris. how can i do so.. and pls tell if through putty i can access the solaris from windows machine without logging onto VMware. (4 Replies)
Discussion started by: jain_sharad143
4 Replies

4. Ubuntu

What time did Ubuntu installed on machine?

How can I learn what time OS installed time and release information. (4 Replies)
Discussion started by: getrue
4 Replies

5. UNIX for Dummies Questions & Answers

How can i understand if a Java Virtual Machine is installed on Unix??

Hello, i would like to figute out, if there is any JVM installed on my unix account. How can i figure that out?? Thanks (1 Reply)
Discussion started by: g_p
1 Replies

6. UNIX for Advanced & Expert Users

Launching a process in remote machine

Hi all, Normally to launch a process in the remote machine I will use ssh to the machine and launch the process.I want to launch the remote machine process with out login into the machine . Is there any way. It may be any workaround method. Thanks in advance .:) (3 Replies)
Discussion started by: karthigayan
3 Replies

7. Shell Programming and Scripting

User perl to get memory installed in a machine

I currently have a statistics gathering script i run on my Linux servers. One of the stat i gather is total memory in the machine. The script is all perl with the exception of gathering the memory for that i use the following command: $ram = (`cat /proc/meminfo | grep "MemTotal" | awk... (1 Reply)
Discussion started by: insania
1 Replies

8. Linux

Findout iLO type installed in a machine

I have to write Linux script to findout what kind of ilo is been installed in the given ip address either ilo/LO100 or no device found. IP address will be given in the command line of the script. -> With out log on to the ip address, should get the ilo type installed in that machine. 1. I... (1 Reply)
Discussion started by: skmdu
1 Replies

9. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

10. UNIX for Dummies Questions & Answers

launching OSX apps in UNIX

How do you launch an OSX app in UNIX? -Mad (3 Replies)
Discussion started by: madknowledge
3 Replies
Login or Register to Ask a Question