Questions tagged [x11]

X11 is Version 11 of the X Window System, commonly used on Linux, BSD, and Unix systems to provide the lower level graphics, input, and window management API's that higher level desktops such as GNOME and KDE build upon.

Filter by
Sorted by
Tagged with
4 votes
1 answer
7k views

XRDP same user multiple session

I'm trying to make XRDP work with multiple sessions on my linux mint server. Right now, i can connect only if there are no other session running on the system (I had to disable autologin). I don't ...
0 votes
1 answer
4k views

x11vnc can not connect to X server of gdm greeter

OS: CentOS 8.3 GDM creates a X server for the greeter, and a different one each user that logs in. I am trying to run x11vnc to enable remote access to the machine, but x11vnc is rejected by the X ...
1 vote
1 answer
502 views

What to set $DISPLAY environment variable to when su to another user

I'm not that au fait with Linux, let alone things like X and display/window managers. I am trying to run the GUI installer for Oracle Enterprise Manager, but it is complaining about the value for the ...
0 votes
0 answers
147 views

Install wine + freetype from source -> error: FreeType 32-bit development files not found

I've downloaded the latest versions of Wine(8.18) and Freetype2(2.13.2) from their main sites to be used at the linux CRUX distribution. The installation of Freetype went smoothly, I guess! ;-) $ ...
1 vote
1 answer
349 views

Fedora 38: Can't open an X11 display between two nearly identical systems; how do I track / fix this?

From Red Hat 1.1 or so, I've stuck with Fedora, etc, out of familiarity, but for a LONG time - 20 years or more - I've been managing a site's servers from a Windows box and would run utilities like ...
3 votes
0 answers
157 views

Multiple instances of app in htop

Why does htop show two instances of my GUI app TradeClient? while I started only one instance? System: Ubuntu 22.04 VPS with X11 (I connect with VNC) What is its CPU usage? EDIT1 htop -t EDIT2 ...
0 votes
1 answer
300 views

`xrandr` lost ability to position external monitor with high resolution

TLDR How can I understand and overcome xrandr errors such as X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed ...
7 votes
11 answers
6k views

Is there a visual bell in Linux that works in X?

I know there is such a thing as a visual bell in Vim that makes the whole screen flash instead of beeping. Several terminal programs also have the same feature. I'm looking for a similar type of ...
1 vote
1 answer
273 views

Rocky Linux 9 touch screen disable on-screen keyboard

I need to run an application on X11 in Rocky Linux 9.2, on a machine that uses a touchscreen monitor in addition to a mouse and physical keyboard. When I launch the application by touching its icon, ...
26 votes
6 answers
34k views

How do you swap the caps lock to control in xfce?

I used to have the caps lock and control swapped in GNOME, but when I upgraded to Ubuntu 9.04 I also changed my desktop environment to Xfce. I have the following line in my xorg.conf: Option ...
60 votes
10 answers
251k views

how to use xauth to run graphical application via other user on linux

My regular user account is, let's say, user1. I created separate user2 for some x application that i would like to run while being logged into x as user1 but in a way that will prevent it from read/...
2 votes
1 answer
3k views

Timeout in locking /.Xauthority

I have google searched and everyone who has this problem has an error in locking /home/user/.Xauthority. The issue is that it is trying to lock /.Xauthority. Obviously there is no .Xauthority in /, ...
1 vote
0 answers
2k views

X11 forwarding through WSL

I would like to connect to a remove linux machine via ssh from my windows machine, and forward the x11 server from that machine to mine to be able to view small interactive windows like those ...
4 votes
4 answers
15k views

How can I start an X11 session on my headless Fedora 13 server?

I have a small home server using Fedora 13 as operating system. Since the upgrade to Fedora 13 I cannot start the X11 server. (I need it to use vnc) When I try to start the server, both the nouveau ...
0 votes
1 answer
608 views

Disallow/remove shutdown/restart options on Xfce4

I am using a RHEL8 server system as jumphost - connection to it from the windows-world with tls 1.2/rdp and then Xcfe4 as X11 base for applications in need of X-windows. My questions are about the ...
0 votes
1 answer
216 views

Watermark for VNC displays

Are there any feasible options for adding a watermark (i.e. diagonal transparent text) to VNC sessions? I did not find such features provided out of the box for the existing open-source VNC servers. ...
22 votes
4 answers
38k views

How to configure D-Bus and SSH X-Forwarding to prevent SSH from hanging on exit?

I am attempting to run various Gnome applications via X11 Forwarding and SSH. Some applications will cause the 'dbus-launch' application to be spawned first. The problem is that dbus-launch doesn't ...
2 votes
1 answer
4k views

SSH X11 stuck for a long time

I routinely run a bunch of experiments (perl scripts) on my lab machines. The client machine I'm currently running my experiments on runs Ubuntu 14.04.5 LTS. These perl scripts, among other things, ...
2 votes
1 answer
3k views

Connect to X Windows with username with spaces

I have an Ubuntu server 16.04.01 LTS, which I want to use as desktop for remote users connecting from thin clients and via RDP from Windows machines. For Ubuntu-local users, this works, I can connect ...
2 votes
3 answers
6k views

X11 forwarding over ssh only working with sudo

Problem I'm unable to get X11 forwarding over ssh working as a normal user anymore. It worked a few months ago, so something has been inadvertently changed. What I've tried Works with sudo: As far ...
0 votes
1 answer
1k views

X11 Forwarding on Ubuntu Server

I have a computer running Ubuntu Server 22.04 LTS and wanted to know if it is possible to run GUI apps from it over X11 without having a GUI on the server? I also have programs that I want to run ...
0 votes
1 answer
867 views

X11 forwarding on docker container

I'm trying to run GUI apps inside of my docker container and resolve them on the host. I have tried several variations of this command but it always comes back to the same response: Unable to find ...
0 votes
0 answers
1k views

How to connect/reboot to PC without monitor or remote access? Accidentally enabled X11 and can't undo it

I recently tried setting up an Intel NUC for remote access but it required a display to be connected -- I am using Ubuntu 18.04 (maybe 20.04, I can't check). So I installed the X11 dummy driver ...
0 votes
1 answer
296 views

SSH server refuses multiple connections from same client

I have a simple openssh server running in a Alpine Linux 3.15 Docker container, and a client, also running on another Docker container (same version of Alpine of the server) that runs a X server with ...
14 votes
5 answers
52k views

SSH X11 not working

I have a home and work computer, the home computer has a static IP address. If I ssh from my work computer to my home computer, the ssh connection works but X11 applications are not displayed. In my ...
1 vote
1 answer
1k views

X11 forwarding through a jump box

I have a machine that is configured to auto connect to a jump/bastion box when there is an internet connection. I configured its ssh config file as follows: Host tunnel HostName <jump ...
0 votes
0 answers
231 views

Detect Windows X server display number from Linux (client of X)

Our team often connect to a Windows server through remote desktop (RDP). Inside RDP, we use Putty (a terminal emulator) to connect to a Linux server. Sometimes we launch X-Win32 (an X server for ...
0 votes
1 answer
644 views

No /dev/dri after upgrading to 21.04

Recently upgraded from 20.04 to 21.04, which installed kernel 5.11. Now it fails to start X with correct screen dimensions, due I assume to this in Xorg log: [ 23.307] (EE) open /dev/dri/card0: No ...
0 votes
1 answer
8k views

$ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0

I getting below error when running xclock command to one RHEL 7 server $ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: ...
7 votes
6 answers
40k views

Starting x11vnc remotely when X server is already running

I have a ubuntu linux machine that I have already logged into and X server is running (it is pass the login manager like gdm). I can access this machine through ssh. My goal is to start x11vnc on this ...
0 votes
0 answers
275 views

WSL & VcXsrv mouse not functional

I have WSL set up on a WINDOWS 10 PRO machine which I generally use for development. And I have gotten X apps to display properly within the windows WM and everything seemed fine; however, no matter ...
0 votes
1 answer
834 views

SSH X11 forwarding from Linux to Mac stopped working (just hangs)

I've been using my Mac to login to Linux boxes and run X applications for some time. Suddenly, recently, it has stopped working. The failure mode is strange: I don't get the usual "X11 connection ...
115 votes
12 answers
197k views

How can I prevent the warning No xauth data; using fake authentication data for X11 forwarding?

Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning: No xauth data; using fake authentication data for X11 forwarding. This also happens for tools that are ...
6 votes
4 answers
21k views

Sharing a linux desktop server for multiple users: remote desktop or virtualization?

We are a small web software company (~ 10 people). At present, every dev works on his local machine (some windows, some ubuntu) using a local apache. We have a samba share for shared files and central ...
1 vote
0 answers
88 views

Copy file from real home into DynamicUser home

I am working on restricting the permssions of user units in SystemD. One of the things that I want to do is set ProtectHome=yes (or DynamicUser=yes), but the process needs access to the .Xauthority ...
0 votes
1 answer
200 views

Why "--nodetach" option is needed for xsel when it is started from systemd unit?

I'm trying to adopt Alexey Samoshkin's approach to copy text from remote tmux session into local clipboard. I'm using xsel instead of xclip, and systemd user service instead of system one. Here is my ...
1 vote
1 answer
625 views

X11 configuration on Ubuntu 18.04. Worked on Ubuntu 16.04

Here is a script which is run in cron for user1 who has sudo privileges export DISPLAY=:0 export XAUTHORITY=/home/user2/.Xauthority scrot -q 30 "/tmp/%Y-%m-%d-%H-%M_screen.jpg" 2&...
46 votes
8 answers
93k views

How to enable SSH X11 forwarding through additional server?

I have hosts A,B and C. From host A I can access through ssh only B. From B I can access C. I want to be able to run X11 programs on C and forward display to A. I tried this: A$ ssh -X B B$ ssh -X ...
1 vote
0 answers
350 views

Slurm Error: “If using PrologFlag=Contain for pam_slurm_adopt, either proctrack/cgroup or proctrack/crau_aries is required.”

I'm using the flag x11 (PrologFlags=x11) in my slurm.conf file and jobs with x11 works perfectly, but I am getting this error every time I run a slurm command (e.g. sbatch, srun, sacctmgr): scontrol: ...
3 votes
5 answers
24k views

X11 from ssh on Mac OSX to Linux server doesn't work --- Gtk-WARNING **: cannot open display

I installed a program wireshark on my remote linux box and I'm trying to run it with X11 from my mac computer using SSH. Here's my terminal... macosx$ echo $DISPLAY /tmp/launch-f4w6k6/:0 macosx$ ssh ...
2 votes
0 answers
573 views

VNC: one session per user, recoverable

I know how to use VNC as a single user to see what's on the screen (possibly even the login screen, out of the Window Manager). If the vnc server crashes, no big deal, launch it again, restart your ...
0 votes
7 answers
5k views

What hardware thin clients are available for connecting to Linux with XDMCP (or similar)?

I'm chasing a thin client that can connect to an Ubuntu machine and utilize a modern widescreen LCD. I have used Sun Microsystems SunRay 150 thin clients for several years however the SunRay Server ...
10 votes
3 answers
10k views

SSH-forwarded X11 display from Linux to Mac lost after some time

I have a new and vexing problem with ssh forwarding my X11 connection when logging in from a Mac (10.7.2) to Linux (Ubuntu 8.04). I have no trouble using ssh -X to log in to the remote machine and ...
0 votes
2 answers
632 views

Cluster SSH on KDE fails: cssh error 'bad pad value "3m'

I'm having issues getting clusterssh running on a RHEL7.3 install using KDE. I don't believe this is a Perl issue, as I have forwarded X from a CENTOS7 box that yields the same error (That box has no ...
7 votes
4 answers
10k views

Karmic Koala (Ubuntu): enable remote x clients through TCP

It seems every version of Ubuntu has a different way to enable remote connections to the local X server. I'm asking this question, while I do my own research: how can I enable the X server listening ...
1 vote
1 answer
3k views

I'm trying to setup Xvfb to run an GUI app on a remote server with no display

I have a 3rd party java app that I need to run on a remote server. Unfortunately, the app is designed for the desktop and assumes a GUI is available. The thing is I would like to leave this app ...
0 votes
1 answer
14k views

Xrandr error when accessing Debian VM over VNC

I have Debian 8 with XFCE running on vmware virtualization. If I work on the console of vSphere no problems. If I connect over VNC (thighVNC) using "my-hostname:1" I have some problems (I guess the ...
3 votes
1 answer
2k views

X11 Forwarding: GUI appears in the remote server instead of client

I have two machines, PC1 and PC2. in PC1 I have Msys2 and Xming installed on Windows 7 while in the second machine PC2 I have Windows 10 with Ubuntu 18.04 on WSL (Windows Subsystem for Linux), Xming ...
6 votes
3 answers
17k views

How do I install a font in Linux so that it's usable by xterm?

I came across a question today asking for good Linux xterm fonts, and an answer suggests one called Terminus. I've been looking for a new terminal font for a while now, so I downloaded it (BTW, I'm ...
2 votes
1 answer
3k views

Shadowing with x0vncserver - No mouse pointer

I am working on a solution to shadow a user's X session in a multiuser desktop environment. If one wants to shadow a session they use my script. My script sets the proper XAUTHORITY environment ...