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.

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
1k views

Problems with X-forwarding and nvidia driver for ssh -X

I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *...
Gabriel's user avatar
  • 41
4 votes
0 answers
6k views

When running any GUI command over SSH: cannot open display: localhost:11.0

Host: Kubuntu Client: Windows 10 with Linux subsystem Goal: I want to be able to ssh into my host machine and export the display for GUIs, such as kwrite or gedit. Problem: I'm trying to SSH from ...
James's user avatar
  • 51
4 votes
1 answer
7k views

Ubuntu SSH X11 Forwarded Client Very Slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance. Using a windows client from the same LAN ...
user241527's user avatar
3 votes
0 answers
2k views

X11 Forwarding for non-root user not working

Cross-Posted Environmental Details Relevant bits of server's /etc/ssh/sshd_config: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no Relevant bits of client's $HOME/.ssh/config: Host * ...
John Jelinek's user avatar
3 votes
1 answer
11k views

gtk-WARNING **: cannot open display while running command-line-only script

I'm trying to run several compute intensive python scripts on a server (Ubuntu 14.04.5 LTS) via ssh -Y and tmux. This works fine as long as I don't close the ssh connection. If I do close the ...
KJoke's user avatar
  • 31
3 votes
0 answers
563 views

How can I let somone over ssh have access to pulseaudio?

I recently had a really good post here where I was able to figure out how to setup virtualgl and use it with X11 forwarding in ssh. I am using it to make a kind of multiseat setup. I only have one ...
Zach's user avatar
  • 333
2 votes
1 answer
1k views

snap firefox over ssh X11-forwarding doesn't use X user's pulseaudio daemon

I run multiple instances of applications, including firefox, under different user accounts, all displaying to the same X server. In the past, as the X user I just did the equivalent of: ssh -X user2@...
jhnc's user avatar
  • 143
2 votes
0 answers
2k views

X2Go Client Black Screen connecting to Ubuntu using Session Type Connect to local desktop

I've been using X2Go for a while now to connect from Windows10 to remote Ubuntu server. I've been using the X2Go Session Type "Connect to local desktop". Everything was working last night. ...
user3731622's user avatar
2 votes
0 answers
669 views

X11 forwarding not working

I'm having a puzzling issue with X11. I am running Ubuntu 19.10 on a desktop, from which I can ssh to Server A where X11 forwarding works nicely (i.e. X11 on my client side works), but on the other ...
danny_met's user avatar
2 votes
1 answer
972 views

Forward X session over SSH for an already-running program?

I know how to forward X sessions to my local computer, and I know how to run GUIs to start on the remote machine using export DISPLAY=:0.0. However, let's say I have a bittorrent client, like ...
3x5's user avatar
  • 545
2 votes
0 answers
678 views

Granting X11 xauth permessions to a non sudoer

I have several non-sudoers on an Ubuntu machine that needs to access to X11 forwarding. However, I can't seem to find a workaround to pass X11 connection rejected because of wrong authentication error ...
Amir's user avatar
  • 1,061
2 votes
0 answers
4k views

Unable to fork: Cannot allocate memory

frequently getting 'fork: Cannot allocate memory' when running commands over ssh. I have 64Gb of RAM and usually 1~2Gb free. swap is more than 8gb free Ubuntu version:"Ubuntu 12.04.2 LTS" Desktop ...
Praveen's user avatar
  • 61
1 vote
0 answers
523 views

Error while running 'glxinfo' on a headless remote server

I am using a remote headles server and with x11 forwarding. I want to forward the display to my local machine. But while running 'glxinfo', I am having the following error: X Error of failed request: ...
s1996's user avatar
  • 11
1 vote
1 answer
2k views

X11 Forwarding Display is always :0

I've been trying for a few hours now to get X11 forwarding working from a remote host. I know it used to work and the host was physically moved and has not worked since. I am unsure if that is ...
brenzo's user avatar
  • 123
1 vote
0 answers
449 views

Multiple X11 forwardings on ubuntu and jupyter-notebook

I have installed jupyter-notebook on an ubuntu 18.04; let us call it Server A. The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live ...
Muhammad's user avatar
1 vote
0 answers
374 views

X11 over remote Docker container stops working after resetting VPN

I'm running on ubuntu 18.04, with a "operator" machine VPN'ed into a network that has the "Test" machine. The test machine runs a Docker container that has a GUI application that I forward over X11. ...
mugetsu's user avatar
  • 165
1 vote
0 answers
322 views

How to use system tray with X11 forwarding?

I'm using X11 forwarding to use GUI apps from my headless remote server. Everything was fine until I needed to use a program that needs system tray. Program needs a system tray to work correctly ...
Josh's user avatar
  • 23
1 vote
2 answers
996 views

Adding redshift in systemd - works with xhost +

I can run redshift from a command line, but can't get it working in systemd. The steps in a similar question didn't do the trick for me. Ubuntu 16.04. My redshift.service: $ cat /etc/systemd/system/...
megabob's user avatar
  • 11
1 vote
0 answers
306 views

Display problems with remote connection

I encounter display problems while connecting to my server with x11vnc. I manage to get a connection and display Gdm but when I login, I get this awfull screen, I suppose it's a problem with Gnome: ...
sinsedrix's user avatar
  • 111
1 vote
0 answers
191 views

Window decorations missing on X11 forwarding

I'm connecting to my NVIDIA TX2 device running Ubuntu 16.04 LTS with ssh -X [email protected]. This works fine and I can open for example gedit. Now the problem is that window decorations are missing so ...
juzzlin's user avatar
  • 1,223
1 vote
0 answers
62 views

Showing a Windows application in an Ubuntu window

My host machine is Ubuntu. It is always painful to run a virtual host to use MS office or the other windows applications. I don't mind about the cost of machines but the convenience is my top variety. ...
ar2015's user avatar
  • 417
1 vote
0 answers
322 views

How to set a fixed localhost address for X11 forwarding?

I have a remote ubuntu server that is used by multiple users for development. We use PyCharm connected to the server as a remote interpreter. In order to use X11 forwarding in PyCharm you have to ...
vicwes's user avatar
  • 11
1 vote
0 answers
224 views

How to redirect X output to file?

I know with linux the server X that manage Ui is a protocol with client server. So the app that use UI didn't directly render thing. It transmit to server X that render it with hardware. So the ...
Jebik's user avatar
  • 121
1 vote
0 answers
704 views

Using gedit using X forwarding on remote location

I have been using the following command to log in to a server : ssh user@servername -X To edit I usually use the gedit on server by typing : gedit filename This seemed to be working fine until ...
SH_V95's user avatar
  • 11
1 vote
0 answers
222 views

Client machine unresponsive when X11 forwarding an application

I am running Ubuntu 16.04 LTS (Desktop version) on my laptop. Performance is more than adequate for my needs: I'm able to open and close windows and surf the Internet just fine. Then I open Terminal ...
Jono's user avatar
  • 111
1 vote
1 answer
1k views

X11 forwarded program does not open in normal window

When I start gedit over a X11 forwarded SSH connection, it does not open in a normal window, as other applications do. Meaning it does not have the regular Microsoft Windows borders, making it very ...
liftedone's user avatar
1 vote
1 answer
1k views

Application running over ssh (X11 forwarding) lagging a lot with local dual monitor

I have 2 machines: - My Desktop (running ubuntu 15.04) - Development machine (running ubuntu 14.04) (both on same LAN) So far, I've been working without any issues using "ssh -X eduardo@devel1" and ...
Eduardo's user avatar
  • 301
1 vote
1 answer
2k views

Unable to run applications with GUI through x11 forwarding

I have Ubuntu server 14.04 on which i want to run applications with GUI. I have Xauth installed and i have edited the files ssh_config and sshd_config to allow X11 forwarding. On my PC I have Windows ...
user1800997's user avatar
1 vote
0 answers
888 views

Eclipse over X11 forwarding is not showing all icons/assets

I have a virt running RHEL5 which has Eclipse installed on it. I'm using SSH -Y to start eclipse on my Ubuntu host. My problem is that not all assets in Eclipse seem to be shown. Some of the menus ...
Didier A.'s user avatar
  • 279
1 vote
1 answer
284 views

how to do administartive tasks from remote X SSH

I forwarded X over ssh. From unity-control-center I couldn't perform any of the administrative tasks like changing audio input, changing wifi network etc. How can I do them remotely. Its the same ...
Necktwi's user avatar
  • 1,057
1 vote
1 answer
660 views

Is there a tool like XMing to manage X11 forwarded applications?

Sorry the title is not quite clear. With X11 forwarding, I could run application on the remote server but see it on the local client. Normally I do this by: local$ ssh -X remote_server remote$ ...
Magicloud's user avatar
  • 458
1 vote
1 answer
172 views

Loop function in /bin/x11

There is a quest about /bin/x11/ in Ubuntu 11.10. X11 generate a loop, while a second X11 map is also in it, but it is not possible to delete or change the inbound X11 map within X11. With regards ...
ad verlijsdonk's user avatar
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 ...
Sylvain POULAIN's user avatar
0 votes
0 answers
57 views

Ubuntu 22.04 vs 20.04, different X11 forwarding behavior, WHY?

Please see my screenshot below: My actions: I have two Linux machines: Ub22cppdev: Ubuntu 22.04, as SSH server, IP=10.22.4.55 . osuse15b: openSUSE 15.5, as SSH client, IP=10.22.4.61 . On osuse15b, ...
Jimm Chen's user avatar
  • 333
0 votes
0 answers
27 views

Call a program through ssh -X but dont display anything

I have to run this program I need to launch through ssh that absolutely needs a gui to run but I have no use for the visual output (it wont launch if I start it from an ssh session, I need to start it ...
Vincent L.'s user avatar
0 votes
0 answers
40 views

Why does google chrome show the FILE CHOOSER on the CONSOLE even when DISPLAY X11 FORWARDING is on?

I have ssh'ed from machine1 to another machine (machine2) machine1:$ ssh -X user@machine2 machine2: gedit and I run gedit and I open the file chooser. Both gedit and the file chooser respect the ...
Ralph Yozzo's user avatar
0 votes
0 answers
71 views

X11-vnc with Dummy driver - Screen size too small

I am runnning Ubuntu in a headless mode, and want to display the desktop remotely. I found a configuration for the X Windows Dummy Driver and used the following: /etc/X11/xorg.conf.d# more dummy....
Albert E. Whale's user avatar
0 votes
0 answers
4k views

X11 Forwarding not working on Ubuntu 22.04

I've read numerous similar questions but many are outdated and nothing seems to work. I have an homePC <remotehome> and a laptop <locallaptop>, both running Ubuntu 22.04. I'm away from ...
atianalisi's user avatar
0 votes
0 answers
462 views

Start ubuntu desktop over ssh

On Winows 11 I ave PuTTY and Xming. I want to run an Ubuntu desktop session in a window. (I'm sure I used to do this with Solaris.) I can ssh -Y into Ubuntu and xeyes and xclock work. $ echo $DISPLAY ...
Richard Barraclough's user avatar
0 votes
0 answers
93 views

Can ssh -X render a opengl 4+ window?

I would like to render a GUI of open3d and it is written in OpenGL 4.1. The GUI renders well on the remote machine from desktop and glxinfo tells me I and OpenGL version of 4.6 for Ubuntu 20.04. ...
user5302's user avatar
  • 101
0 votes
0 answers
601 views

SSH tunneling (jump host) combined with X11 forwarding in Remmina

I recently installed Remmina and want to use SSH tunneling ("jump host") combined with X11 forwarding. I'm not entirely sure if my wording is right. I'll explain how I do it manually in the ...
AlexLee's user avatar
  • 151
0 votes
0 answers
140 views

Multiuser access to a home server

We want to configure a powerfull home machine (32 GB RAM, Core i7-10700K, RTX 3090 GPU) so that 3 users can connect to it from their laptops (optionaly also with UHD monitor) and simulaneously run ...
Martin Zeman's user avatar
0 votes
0 answers
4k views

How can I enable X11-Forwarding (ssh -X) support in remmina for ssh?

I can connect to a remote server with ssh in remmina. When I try to open a X applicaton like lxterminal, I get following error: Unable to init server: Could not connect: Connection refused (...
TheName's user avatar
  • 71
0 votes
1 answer
1k views

What does "Too many recursive configuration includes" mean when trying to connect to a ssh server?

The current problem is when I try to connect to a ssh server (from a university I am currently attending) with the following (example) command: ssh -Y [email protected] Then I get the following error: ...
EricH's user avatar
  • 1
0 votes
0 answers
338 views

How to configure X11 Forwarding so no one else on the same remote machine can display to my server?

Due to COVID my colleages and I work on the same remote Ubuntu machine in the office. We each respectively run VcXsrv on our local machines at home and SSH into the remote Ubuntu machine. Occasionally,...
Southern.Cross's user avatar
0 votes
0 answers
376 views

ForwardingX11 Issue, XAUTH and Display setting

I've been trying to get ssh with gui using ForwardingX11 in the /etc/ssh/ssh_config file on Ubuntu 18.04 but every guide I try tells me the same thing change the ForwardingX11 to yes and then restart ...
WesternWarrior's user avatar
0 votes
0 answers
609 views

X11 Forwarding between two machines does *not* send launched app to client but launches on server

I have been puzzled by this for some time, and keep wondering if I overlooked something simple. Consider a simple case of two Linux machines. To keep it simple, have both be the same distro and ...
Dirk Eddelbuettel's user avatar
0 votes
1 answer
396 views

How to get screen back on ssh server after X forwarding

I have two physical computers with Ubuntu Bionic 18.04 LTS. Let's call the one with ssh server server, the one with the ssh client client. They have each have their own physical screen. One screen is ...
Clèm's user avatar
  • 196
0 votes
1 answer
1k views

Android Emulator output not forwarded thru SSH X11 forwarding

I have managed to setup Android Studio with AVD and KVM on a host computer myserver. From a client computer I now do ssh me@myserver -X and launch the andriod studio so that the UI is displayed on my ...
Selaron's user avatar
  • 101
0 votes
0 answers
597 views

x11vnc quits when I try to connect

I'm starting it like this: x11vnc -display :0 -usepw -listen 127.0.0.1 Then when I connect from my computer, this happens: 8/08/2019 00:31:43 Got connection from client 127.0.0.1 28/08/2019 00:31:...
Guerlando OCs's user avatar