Skip to main content

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
1 vote
1 answer
585 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 ...
James Edmonds's user avatar
0 votes
0 answers
171 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! ;-) $ ...
francisC's user avatar
1 vote
1 answer
372 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 ...
Richard T's user avatar
  • 1,262
3 votes
0 answers
168 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 ...
Alexey Starinsky's user avatar
0 votes
1 answer
316 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 ...
jacg's user avatar
  • 363
1 vote
1 answer
297 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, ...
EK0's user avatar
  • 235
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 ...
ShinyDemon's user avatar
0 votes
1 answer
628 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 ...
Nils's user avatar
  • 7,745
0 votes
1 answer
232 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. ...
Michael's user avatar
  • 249
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 ...
Jason O's user avatar
  • 159
0 votes
1 answer
874 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 ...
sololuvr6969's user avatar
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 ...
Mike's user avatar
  • 13
0 votes
1 answer
305 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 ...
henriquehbr's user avatar
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 ...
inzel's user avatar
  • 11
0 votes
0 answers
243 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 ...
yong321's user avatar
  • 135
0 votes
1 answer
667 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 ...
Austin's user avatar
  • 23
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: ...
Newlinux-men's user avatar
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 ...
Nadav Aharoni's user avatar
0 votes
0 answers
291 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 ...
Tamer Ziady's user avatar
0 votes
1 answer
843 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 ...
qris's user avatar
  • 1,233
1 vote
0 answers
92 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 ...
rhbvkleef's user avatar
  • 136
0 votes
1 answer
202 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 ...
Andrei Korshikov's user avatar
1 vote
1 answer
634 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&...
Sunny's user avatar
  • 381
1 vote
0 answers
354 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: ...
Ricardo Barbosa's user avatar
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 ...
MrRiky54's user avatar
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 ...
s.ouchene's user avatar
  • 133
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 ...
jmilloy's user avatar
  • 233
0 votes
1 answer
1k views

Forwarding X11 between Windows > Linux Server1 > Linux server2

I got this problem... My machine is a Windows(S1), who needs to connect to a Linux Server(S2) [used like a jumpbox], to connect with Linux Server(S3), which is the target machine. I got Putty and ...
DMarracho's user avatar
2 votes
0 answers
957 views

HOWTO: setup persistent RDP sessions

In an Ubuntu 16.04 LTS server (with XFCE4), I am running X11vnc as a RDP server so people can connect to it from using Windows Remote Desktop (either from Windows or OSX). My current configuration ...
hyiltiz's user avatar
  • 121
0 votes
0 answers
365 views

Thin Client setup for nomadic developers

I'm supporting a team of ~10 developers. Each developer machine is running Ubuntu 16.04.1 and each developer has their own desktop tower. This setup works well but locks that developer to their desk. ...
DTI-Matt's user avatar
  • 259
0 votes
2 answers
633 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 ...
Michael Moser's user avatar
0 votes
1 answer
1k views

Azure and RHEL - "Can't open display :1"... sometimes

I have an RHEL image on Azure that we launch to perform some specialized tasks. There is not an option to actually keep the service running. However, sometimes on startup, when I attempt to run even ...
el n00b's user avatar
  • 141
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 ...
Gnudiff's user avatar
  • 533
0 votes
1 answer
394 views

How to get X11 GUI from AWS EC2 instances through Proxy server

We have wired situation, we have one aws EC2 Redhat7 instance. We connect to that instance with a http proxy and authentication. Now we have to get GUI from the instance to install some GUI based ...
Sanath's user avatar
  • 9
1 vote
0 answers
175 views

Google Chrome Does Not Load H264 Decoders when being started with startx on boot

I am trying to launch google chrome via startx on boot with systemd to create an Ubuntu 16.04 browser kiosk. Everything works great, except I am unable to play any videos in the browser. When I log ...
elfisher's user avatar
  • 111
2 votes
0 answers
575 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 ...
dargaud's user avatar
  • 203
0 votes
1 answer
12k views

CentOS 7 w/Gnome hangs on boot after Nvidia driver installation?

there is a lot of information available on these topics separately, but I haven't been able to find an answer to what I feel is a really common situation. I have 2 Nvidia GTX 1080s in a server with ...
Locane's user avatar
  • 429
0 votes
1 answer
286 views

X11/X forwarding between two remote machines

Suppose that there are 3 machines, A, B, C. B and C are on the same network, whereas A is remote. Connection between B, C is very fast, but any connection from A to (B or C) is slow. I would like to ...
user3482876's user avatar
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, ...
aspen100's user avatar
  • 121
1 vote
2 answers
25k views

Run X server on startup on CentOS [closed]

How do you run X server on startup in CentOS? This is the command I use to manually start X server - sudo /usr/bin/X :0 &
Josh Unger's user avatar
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 ...
Michael's user avatar
  • 61
5 votes
1 answer
20k views

Are directories with mode `drwxrwxrwt` safe in /tmp on a *nix system?

drwxrwxrwt 2 root root 4096 Aug 20 2015 .font-unix drwxrwxrwt 2 root root 4096 Aug 20 2015 .ICE-unix -rw------- 1 root root 0 Aug 20 2015 ipt.err -rw------- 1 root ...
John's user avatar
  • 897
4 votes
0 answers
2k views

ffmpeg with x11grab results in black screen in vlc playback

I've installed ffmpeg on an AWS instance and have been unsuccessfuly trying to record an X session, to which I've connected over x11rdp, with the client being Microsoft Remote Desktop. Here's the ...
zealoushacker's user avatar
0 votes
0 answers
274 views

Run mysql-workbench remotely, no proxy/or tunnel

We are on AWS, with a MySql RDS. The RDS is set up so that only clients that are on the VPC can access it. (Just being VPN'd in is not good enough) So I assume that I could set up a tunnel,proxy, ...
mmaceachran's user avatar
0 votes
1 answer
822 views

How do diagnose laggy X11 applications running via ssh forwarding?

I am running an X11 application on a RHEL machine on my Windows system using Xming and X11 forwarding over SSH. The responsiveness seems terrible. A second between keystrokes and mouse clicks, etc. ...
GregH's user avatar
  • 291
0 votes
1 answer
2k views

GUI on Amazon Linux AMI

I have Amazon Linux AMI 2015.09 and i need to use some GUI application on it. When i tried to install desktop environment i found out that there are no any X11 packages on repos. I tried to use ...
Evgeniy's user avatar
  • 163
3 votes
1 answer
3k views

Vagrant + VirtualBox + X11 on a headless server

I'm trying to run a VirtualBox Ubuntu VM via Vagrant on a headless server. The VM has ubuntu-desktop package installed, however when the machine boots up I can't open X applications. DISPLAY ...
Tomek's user avatar
  • 153
1 vote
1 answer
679 views

CentOS 6 - Remote GDM doesn't come up automatically

I have a bunch of systems running different subreleases of CentOS 6, at different update levels. All of these machines have been configured to allow remote graphical sessions via GDM by adding the ...
Nicola Musatti's user avatar
1 vote
0 answers
321 views

How do I view an X display on a remote host from OSX

I'm running an X server in a under xvfb in an Ubuntu 14.04 Virtualbox VM. The X display is used to run Firefox and Chrome for some Selenium tests. I want to be able to view the contents of this ...
Cera's user avatar
  • 553
0 votes
1 answer
517 views

Weak points of ssh tunnel and x11 server, hack investigation

So, today I've been hacked. It's very puzzling to me how it was done, so I'm looking for experienced people to show weak points in design of my systems. I have two servers. One is VPS with ...
artyomboyko's user avatar