Sponsored Content
Operating Systems Linux Red Hat X11 forwarding through a tunnel Post 302895670 by Corona688 on Tuesday 1st of April 2014 05:45:38 PM
Old 04-01-2014
This is a bit different than standard X11 forwarding, you'd need to figure out exactly what port numbers you need and put them under 'tunnels'. I think X11 is 6000 but that can vary.

Under 'source port' you'd put 6000, I think. And under destination you'd put remotehost:6000. This means, when you logged into bastion, and connected to localhost:6000 on your laptop, the SSH tunnel would connect to remotehost:6000. So localhost:6000 would effectively be connecting to remotehost:6000.
 

10 More Discussions You Might Find Interesting

1. OS X (Apple)

ssh forwarding to X11

Hi, I have issues with running graphical interfaces on my computer being remotely logged into a network via the -X option of ssh. My .cshrc shows DISPLAY=hostname:0 and I think there should be a different number instead of the 0. I changed the ssh_config file already to 'X11 forwarding yes', which... (0 Replies)
Discussion started by: ginese
0 Replies

2. Debian

X11 Forwarding Problem

I have 2 Debian boxes. In my ssh.com client and my putty client, I have X11 fowarding turned on for both boxes. When I connect one, I can xterm with no problem back to my pc. On the other, I keep getting: xterm Xt error: Can't open display: xterm: DISPLAY is not set On both... (3 Replies)
Discussion started by: natter
3 Replies

3. UNIX for Dummies Questions & Answers

X11 forwarding not working

Hi, I am using Putty, enabled SSH X11 forwarding and entered the X11 display location as "localhost:0". However I encountered the following error: ------------------------------------ # xclock & 2941 # X connection to localhost:10.0 broken (explicit kill or server shutdown). + Exit 1... (4 Replies)
Discussion started by: panggou
4 Replies

4. HP-UX

'X11 forwarding' SSHD assigns already used port

Hi, We've been facing a strange issue. Clients use X11 forwarding via SSH on HP server and sometimes the same DISPLAY is assigned to two (maybe more) sessions. As a result, some users can't open their applications, and some have their windows redirected to somebody else. It looks as if sshd... (1 Reply)
Discussion started by: piooooter
1 Replies

5. Shell Programming and Scripting

SSH Tunnel Forwarding with no shell

Hi Experts, I am trying to have the SSH tunnel Remote forwarding command in a shell script. I should be able to do 2 tasks, but unable to get that going. 1) I have 3 servers Server 1, Server 2, Server 3. I have my Database running on Server 1 and my script running on Server 2 which should... (0 Replies)
Discussion started by: Scriptingglitch
0 Replies

6. UNIX for Dummies Questions & Answers

X11 forwarding does not work after networking change

Hi all I'm having an issue with X11 Forwarding I have a VM set up on my computer which I usually "ssh -X" to over a home network (192.168.1.*). Client 192.168.1.100 Server 192.168.1.103 This worked perfectly fine for X11 forwarding. However I am not at home now (and have no access to... (2 Replies)
Discussion started by: grahambo2005
2 Replies

7. UNIX for Dummies Questions & Answers

Problem with X11 Forwarding

Hello. I installed a Debian box, and its installed remotely. I need to boot up iceweasel from there to do a quick test. I log on using: ssh root@<IP> -X I have modified the /etc/ssh/sshd_config file, and added the X11Forwarding yes flag And yet I still get: Error: cannot open... (10 Replies)
Discussion started by: dynelight
10 Replies

8. UNIX for Dummies Questions & Answers

Is it possible that X11 can be forwarded through a SSH tunnel

I communicate with the server via a ssh tunnel, configured via Putty. Recently, I'm trying to forward the X11 through it, but it doesn't work. Is there any one work this way? Searched with google, but didn't find anything. Thx in adv. (2 Replies)
Discussion started by: sleepy_11
2 Replies

9. UNIX for Beginners Questions & Answers

X11 forwarding issues

Unable to get X11 activated on my login even after Unix admin has enabled it (2 Replies)
Discussion started by: tomsayer1977
2 Replies

10. Red Hat

X11 forwarding doesn't work

hi, I'm trying to run a bash script that starts GUI. Though it says application started when I run this bash script doesn't show up any GUI. Here is what I've tried so far and please let me know if I'm missing something with the X11 set up here. cat /etc/redhat-release Red Hat Enterprise... (8 Replies)
Discussion started by: fop4658
8 Replies
xkbdfltmap(1X)															    xkbdfltmap(1X)

NAME
xkbdfltmap - Determine default X keymap for locale and keyboard SYNOPSIS
xkbdfltmap [options] OPTIONS
lang specifies a string to be used instead of the console language. This option is useful for locales that cannot be specified in the con- sole. This option is only used if XKB is active in the server. kbd specifies a string to be used instead of the console keyboard. This option is useful for keyboard types that cannot be uniquely identified by the kernel. For example, the kernal identifies the Microsoft Natural Keyboard as a PCXAL. If XKB is not active in the server, file specifies the xmodmap command. The default is /usr/bin/X11/xmodmap. If XKB is not active in the server, file specifies the file containing the information necessary to determine what xmodmap keymap to use based upon the console language and keyboard type. The default is /usr/lib/X11/xdm/Xkeymaps. If XKB is active in the server, file speci- fies the XKB keyboard compiler. The default is /usr/bin/X11/xkbcomp. If XKB is active in the server, path specifies the top-level direc- tory that contains the XKB keymaps. The default is /usr/lib/X11/xkb. If XKB is active in the server, file specifies the file containing the information necessary to determine what XKB keymap to use based upon the console language and keyboard type. The default is /usr/lib/X11/keymaps.dir. Specifies whether execute the necessary command to download the keymap to the server after determining the default, or whether to just print out the necessary command. Specify -exec to download the keymap. Specify -noexec to just print out the necessary command. The default is -noexec. If the -noexec command is specified, and XKB is active in the server, the -file option instructs xkbdfltmap to print out just the XKB keymap file that contains the keymap. A keymap will not be downloaded to the server if -file is used. If the -noexec command is specified, and XKB is active in the server, the -map option instructs xkbdfltmap to print out just the XKB keymap name. A keymap will not be downloaded to the server if -map is used. DESCRIPTION
The xkbdfltmap command queries the system console for the language and keyboard settings. Then, based upon whether the XKB server exten- sion is active in the server, it will optionally download an xmodmap file from /usr/lib/X11/keymaps or an XKB keymap file from /usr/lib/X11/xkb to the server. FILES
/usr/lib/X11/xdm/Xkeymaps /usr/lib/X11/xkb/keymaps.dir SEE ALSO
X(1X) xkbdfltmap(1X)
All times are GMT -4. The time now is 05:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy