Questions tagged [x11-forwarding]
X11-forwarding over ssh is when a user logs in securely to a remote machine, starts X applications on that machine, and is able to view that remote desktop on his local screen.
19
questions
9
votes
1
answer
2k
views
gedit top menu invisible when started from terminal and using x11-Forwarding
Given:
I'm using export $(dbus-launch) in my /etc/bash.bashrc file as I'm normally running under a non-admin user and need to su - admin to do anything dangerous.
Normal behaviour:
Go to dash, open ...
7
votes
2
answers
18k
views
X11 forwarding in SSH
How to run X11 GUI applications from a remote server using SSH?
For example:
my first desktop 192.168.1.1
my second desktop IP 192.168.1.12
I 'm sshing from my first desktop to the second and i ...
4
votes
1
answer
49k
views
How to use PuTTY to get X11 connections over ssh from Windows to Ubuntu
I need to get remote X11 terminal access from Windows machines into my Ubuntu 16.04 system. I am choosing not to use RDP for this since this only affects the two Windows clients.
From the other ...
0
votes
2
answers
3k
views
X forwarding from Ubuntu Server Ed to Windows 7
The Goal:
I would like to open a program from my ubuntu server in my windows 7 desktop.
Steps Taken:
Putty > SSH > X11 check 'enable port forwarding'
I have started VNC Viewer in listening mode
...
15
votes
2
answers
7k
views
Redirect existing windows via SSH and X11 forwarding?
Using ssh -X user@host I can start programs on the host and X11 forwarding allows me to see their windows on the remote machine. However, I'd like to be able to forward/redirect existing windows.
How ...
6
votes
3
answers
8k
views
Cannot use gedit on multiple remote machines using ssh
After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit.
To my dismay, when I tried to open gedit on the second ...
3
votes
1
answer
8k
views
After install Google Chrome in EC2 won't open from Ubuntu Server 14.04 LTS (HVM) command line [duplicate]
I have installed Google Chrome with following command line:
$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
$ sudo sh -c 'echo "deb http://dl.google.com/...
160
votes
4
answers
135k
views
What is the difference between `ssh -Y` (trusted X11 forwarding) and `ssh -X` (untrusted X11 forwarding)?
What is the difference between ssh -Y (trusted X11 forwarding) and ssh -X (untrusted X11 forwarding)? As far as I have understood it, it has something to do with security, but I did not grasp the ...
9
votes
3
answers
30k
views
X11 forwarding broken
I cant for the life of me get x11forwarding to work. I did everything 'by the book'...
Both client and server is running ubuntu 11.04. Both have ssh, vnc, x11 and FW ports open
/etc/ssh/ssh_config
...
8
votes
2
answers
19k
views
Error setting kb layout with `setxkbmap`
I have x11-forwarding set up from an ubuntu 12.04 vm to my (windows) laptop. It works, but when I type in the forwarded applications, it is using the qwerty layout and I would like it to use colemak.
...
7
votes
2
answers
11k
views
ssh -X to open a file manager
I have to machines running Ubuntu 18.10
When ssh -X to another computer
ssh -X [email protected]
firefox and google-chrome could be opened at the current machine with firefox
firefox
google-...
6
votes
3
answers
17k
views
Is it possible to run Docker container and show its graphical application window on host?
I have created the simpliest (minimal working example) Dockerfile to run graphical application on my Ubuntu 16.04 LTS host system with 19.10 insider container:
mkdir ~/docker-xclock
cat > ~/...
6
votes
4
answers
42k
views
"Can't open display" even after access with xhost
I'm trying to run a graphical program remotely, without using ssh. I've set the display variable on the server (let's say server.com, Linux, not ubuntu, and no su rights) to point to my workstation (...
5
votes
2
answers
14k
views
"can't open display" weirdness over ssh
Some time back, (maybe a year?), my environment was working correctly. But some time in the last year or so I started getting "can't open display" errors.
It's weird because I can ssh into the ...
2
votes
1
answer
2k
views
only some apps work with X11 forwarding to XcXsrv from an Ubuntu 22.04 Virtualbox guest
I have a Windows 10 host running Virtualbox with an Ubuntu 22.04 guest installed. It uses NAT networking with port 22 forwarding to the guest. I then have VcXsrv X Server v1.20.14.0 installed on ...
1
vote
1
answer
3k
views
How to X11 forwarding through ssh in 15.10
Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work.
Before I do this :
ssh -X username@hostname
and then for example :
gedit
...
1
vote
1
answer
4k
views
X11 Forwarding over SSH to use xterm
I am trying to connect from an Ubuntu 22.04 LTS (source) to another Ubuntu 22.04 LTS (destination) to use xterm (in destination). When trying to connect, i do ssh -X ubuntu@destination, and when i run ...
0
votes
1
answer
1k
views
How can I access my Ubuntu machine running X11/Xorg from Windows 10?
I have a laptop running Windows 10 (or Windows 11). I can ssh into my Ubuntu computer with ssh [email protected], but I'd like to either (a) use a GUI app from Windows or (b) use the entire ...
0
votes
2
answers
9k
views
Ubuntu +Xming on Windows WSL: Can open GUI from ssh + command, but not during SSH session [closed]
Quick solution to the question
On the host machine, do not put any DISPLAY= statement there. If exist, the
remote host will try to render GUI on its own display port;
On the client machine, do ...