Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
06-17-2004, 04:18 AM
#1
LQ Newbie
Registered: Mar 2004
Posts: 23
Rep:
SSH use remote xserver?
Hi everyone,
I am working on RH 7.2 cluster nodes with no graphics card installed.
I would like to use qmon GUI for Gridengine clustering software and was wondering if it is at all possible to login through SSH, set the display to the ssh client (my workstation) and use the xserver on my workstation to display the GUI.
Any advice/suggestions?
Thanks.
Breeno.
06-17-2004, 04:49 AM
#2
Member
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631
Rep:
Not only possible, but easy.
1. Permit X11Forwarding on both SSH server and client (see /etc/ssh/sshd_config and /etc/ssh/ssh_config files; remember to restart the sshd parent process with a kill -HUP when you've made the change).
2. ssh to the server from your client. When you echo $DISPLAY you'll see it looks something like <hostname>:10.0 where hostname is the name of the server. DO NOT CHANGE THIS. This means it is going to tunnel your X11 session to you across SSH.
3. Just fire up your X app in the SSH session - if the X Server is running on your client and allows the connection, it should pop up.
Note : From the client's perspective, the X connection seems to come from localhost (i.e. from the client) as SSH has tunelled it. This has the useful side effect that you can block all non-local X sessions from appearing on you PC and it will still work fine.
06-17-2004, 06:05 AM
#3
LQ Newbie
Registered: Mar 2004
Posts: 23
Original Poster
Rep:
Remote $DISPLAY but no keyboard input!
Thanks for your response Iain,
I tried what you suggested: Error: Can't open display: localhost:0.0 Maybe it is expecting to find an xserver on the cluster node??
I then changed DISPLAY=10.0.0.1:0.0 to point to my workstation.
The GUI now appears on my console but although the mouse works ok, I can't enter any text through the keyboard.
Is there something else i need to enable to allow me to input data??
I have the following errors when i fire up the GUI:
Warning: XmtLoadResourceFile: file 'qmon_messages' not found.
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-60-*-*-*-*-*-*" to type FontStruct
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing '<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine: ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ManagerGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: MenuBarGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: MenuHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing ':<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing ':<Key>osfUp: DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':c <Key>osfBeginLine: ActionGrab(SWTopLine)'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KeySelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KeySelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot convert string "-adobe-helvetica-medium-r-*--20-*-*-*-p-*-*-*" to type FontStruct
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KActivate()'
Warning: String to TranslationTable conversion encountered errors
Thanks.
B.
06-17-2004, 07:14 AM
#4
LQ Newbie
Registered: Mar 2004
Posts: 23
Original Poster
Rep:
Remote $DISPLAY but no keyboard input!
Thanks for your response Iain,
I tried what you suggested: Error: Can't open display: localhost:0.0 Maybe it is expecting to find an xserver on the cluster node??
I then changed DISPLAY=10.0.0.1:0.0 to point to my workstation.
The GUI now appears on my console but although the mouse works ok, I can't enter any text through the keyboard.
Is there something else i need to enable to allow me to input data??
I have the following errors when i fire up the GUI:
Warning: XmtLoadResourceFile: file 'qmon_messages' not found.
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-60-*-*-*-*-*-*" to type FontStruct
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing '<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine: ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ManagerGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: MenuBarGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: MenuHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing ':<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing ':<Key>osfUp: DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':c <Key>osfBeginLine: ActionGrab(SWTopLine)'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KeySelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KeySelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: Cannot convert string "-adobe-helvetica-medium-r-*--20-*-*-*-p-*-*-*" to type FontStruct
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: KActivate()'
Warning: String to TranslationTable conversion encountered errors
Thanks.
B.
06-17-2004, 07:33 AM
#5
LQ Newbie
Registered: Mar 2004
Posts: 23
Original Poster
Rep:
Problem solved - XKeysymDB
I copied the XKeysymDB file to the cluster node and I can now enter text in the GUI.
Cheers.
B.
All times are GMT -5. The time now is 07:16 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News