Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
1 answers
3197 views
Ubuntu on Windows Powershell "Can't open display"
I'm running Ubuntu 18.04 on Windows Powershell on Windows 10. I installed XMing and PuTTY and configured them so that X11 forwarding is turned on. After all this, and installing x11-apps and running xeyes, it tells me "Error: Can't open display: 0.0". I tried changing the DISPLAY to 0 and 'localhost...
I'm running Ubuntu 18.04 on Windows Powershell on Windows 10. I installed XMing and PuTTY and configured them so that X11 forwarding is turned on. After all this, and installing x11-apps and running xeyes, it tells me "Error: Can't open display: 0.0". I tried changing the DISPLAY to 0 and 'localhost:0.0, but nothing. I installed several packages, many of which will probably end of being unnecessary. I've tried just about everything in the responses both of these questions: https://unix.stackexchange.com/questions/67111/x-cant-open-display-0-while-display-variable-is-correct?newreg=2fece9554c164efd90a2726a9c526fb5 https://unix.stackexchange.com/questions/1596/can-i-launch-a-graphical-program-on-another-users-desktop-as-root , but who | awk -v user="$target_user" '$1 == user && $2 ~ "^:" {print $2}' returns nothing and xhost + gives me the same display error. I tried various configuration files such as xauth, /etc/X11/Xwrapper.config. It might be important to note that xinit returns the fatal error no screens found and /var/log/Xorg.0.log shows many errors dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory) open /dev/dri/card0: No such file or directory open /dev/fb0: No such file or directory No devices detected. I need to be able to use image tools like ds9 for my research and have been unable to do so, so any help would be very much appreciated.
messick (11 rep)
Dec 6, 2020, 12:16 AM • Last activity: Jul 7, 2025, 12:08 AM
6 votes
2 answers
5624 views
How can I enable trusted X11 forwarding on Putty (with Xming) or otherwise get rid of one second delay when starting X11 aplication?
I've noticed one second delay before Midnight Commander or `mcedit` starts in Putty. It took me a while before I realized it is caused by X11 forwarding enabled. `mc -X` start immediately. Unfortunately starting any X11 application has same delay. Maybe I'm nitpicking but it drives me crazy. Especia...
I've noticed one second delay before Midnight Commander or mcedit starts in Putty. It took me a while before I realized it is caused by X11 forwarding enabled. mc -X start immediately. Unfortunately starting any X11 application has same delay. Maybe I'm nitpicking but it drives me crazy. Especially because some users mentioned cause and solution for this: xming does not support X11 security, so Linux must wait for network timeout. It is on second for me, but 30 seconds for others according to some discussions. The solution is trusted X11 forwarding enabled by -Y commandline option for ssh. Unfortunately Putty doesn't have this option. Is there any other way to enable trusted forwarding on Putty ?
martins (161 rep)
Mar 16, 2016, 10:44 AM • Last activity: Nov 1, 2024, 01:07 PM
3 votes
2 answers
8084 views
root needed to launch X11 application
I'm building a Qt application using QML technologie. QML use OpenGL. The computer running the build is a CentOS 6.7, with intel GPU. I'm using it only on SSH, and I use XMing (or VcxSrv sometimes) to open graphical applications. I had multiple trouble to make it works but by googling my problems and...
I'm building a Qt application using QML technologie. QML use OpenGL. The computer running the build is a CentOS 6.7, with intel GPU. I'm using it only on SSH, and I use XMing (or VcxSrv sometimes) to open graphical applications. I had multiple trouble to make it works but by googling my problems and playing with xauth I can now remotly open my QML application. **BUT** When running my application with a normal user I get : `KiTTY X11 proxy: Unsupported authorisation protocol QXcbConnection: Could not connect to display localhost:10.0` I noticed that the error message say **Unsupported** (a lot of SO question are about **Wrong** protocol) **AND** I can only open it in root (sudo does't work here, I need to su), and I got multiple errors : > failed to get the current screen resources WARNING: Application /home/user/QMLapp/app calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported! This is an application bug! QXcbConnection: XCB error: 170 (Unknown), sequence: 163, resource id: 90, major code: 146 (Unknown), minor code: 20 **Note :** glxinfo seems fine and direct rendering is activated. glxgeers works fine too and don't need to be root to work **First question** : Can I easily upgrade my GLX ? **Second question** : Why it only works in root ?
MokaT (153 rep)
Sep 30, 2015, 03:00 PM • Last activity: Jun 3, 2024, 06:01 AM
7 votes
3 answers
19699 views
X11 forwarding does not work if su to another user
I have a Red Hat 7.3 server running XVnc. On a Windows 10 desktop I have Putty and Xming installed. Putty is configured for X11 forwarding. When I SSH in as my standard/non-privileged user and launch an X application, it displays on my Windows 10 desktop without issue. Now within same session, if I...
I have a Red Hat 7.3 server running XVnc. On a Windows 10 desktop I have Putty and Xming installed. Putty is configured for X11 forwarding. When I SSH in as my standard/non-privileged user and launch an X application, it displays on my Windows 10 desktop without issue. Now within same session, if I su to a more privileged account and try to run an X application, it fails with "error: can't open display". In my standard user session if I echo $DISPLAY it is automatically set for me as "IP_ADDRESS:10.0". Under my su session, $DISPLAY is null. I tried exporting the DISPLAY variable to the same value but it now a different error appears: "PuTTY X11 proxy: Unsupported authorization protocol Error: Can't open display:server_IP:10.0". How can I configure the X11 forwarding to work under the context of the other user?
tickermcse76 (71 rep)
Oct 18, 2018, 12:05 PM • Last activity: Sep 21, 2023, 09:34 AM
10 votes
3 answers
1640 views
Is there a frame drop option in X11Forwarding?
I'm running a computer vision model on a headless remote VM (Ubuntu 16.04) over X11Forwarding with good ol' Putty and Xming as my Windows X Server. All is well but seems there is no frame drop if the client-server bandwidth can't keep up, which means my application is slowed down and only renders a...
I'm running a computer vision model on a headless remote VM (Ubuntu 16.04) over X11Forwarding with good ol' Putty and Xming as my Windows X Server. All is well but seems there is no frame drop if the client-server bandwidth can't keep up, which means my application is slowed down and only renders a few frames a second when it can do hundreds if bandwidth is plenty. Is there a _force frame drop_ option built into X11 forwarding, and if there is, how do i turn it on?
evilSnobu (288 rep)
Sep 12, 2018, 07:48 AM • Last activity: Oct 13, 2022, 08:59 PM
0 votes
1 answers
176 views
"No Protocol Specified" even when I can telnet into the X server port?
I have a Win 11 box running Xming, a binary I've used on Win 7 without issue. Xming is version 6.9, a **32-bit binary** that nonetheless seems to run on 64-bit Linux. However I wonder if its not able to understand incoming protocol due to the bit width being wrong? `netstat -an` on the Win11 box rep...
I have a Win 11 box running Xming, a binary I've used on Win 7 without issue. Xming is version 6.9, a **32-bit binary** that nonetheless seems to run on 64-bit Linux. However I wonder if its not able to understand incoming protocol due to the bit width being wrong? netstat -an on the Win11 box reports no use of port 6000 (the default X server listening port). I start Xming, and netstat -an now reports port 6000: TCP 0.0.0.0:6000 0.0.0.0:0 LISTENING I have a Fedora 31 box. I can run xeyes with DISPLAY=:0 and get a display on the Linux machine, whether the terminal is an xterm on the Linux machine or a Putty window on Win11. strace xeyes |& less shows the connection is working. Connect() returns 0 (success). It's writing to the socket. File descriptor 3 is the TCP connection, returned by socket(), and it must have been opened as we see it being written to and receiving a little data: an 8-byte header and the string "No protocol specified." socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 3 setsockopt(3, SOL_TCP, TCP_NODELAY, , 4) = 0 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, , 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("192.168.11.17")}, 16) = 0 getpeername(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("192.168.11.17")}, [124->16]) = 0 access("/home/fs/.Xauthority", R_OK) = 0 openat(AT_FDCWD, "/home/fs/.Xauthority", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0600, st_size=702, ...}) = 0 read(4, "\0\0\0\4\300\250\10\6\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 702 read(4, "", 4096) = 0 close(4) = 0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base="l\0\v\0\0\0\0\0\0\0\0\0", iov_len=12}, {iov_base="", iov_len=0}],2) = 12 recvfrom(3, 0x562bca54c080, 8, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "\0\26\v\0\0\0\6\0", 8, 0, NULL, NULL) = 8 recvfrom(3, "No protocol specified\n\0\0", 24, 0, NULL, NULL) = 24 write(2, "No protocol specified\n", 22No protocol specified) = 22 shutdown(3, SHUT_RDWR) = 0 close(3) = 0 Further: clicking the Xming icon in the icon tray (lower right corner) and opening log file after such a failed connection reports: AUDIT: client 4 rejected from IP So why can't I connect?
Swiss Frank (419 rep)
Sep 22, 2022, 09:31 AM • Last activity: Sep 22, 2022, 09:39 AM
0 votes
3 answers
5581 views
cannot launch konsole from xterm
I installed `lxde` & `kde` (along with `konsole`). now I launch `xterm` from a Windows host using `Xlaunch`(`Xming`) which works fine but when I want to launch `konsole`(my preferred shell) I get this error: :~$ konsole QDBusConnection: session D-Bus connection created before QCoreApplication. Appli...
I installed lxde & kde (along with konsole). now I launch xterm from a Windows host using Xlaunch(Xming) which works fine but when I want to launch konsole(my preferred shell) I get this error: :~$ konsole QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. unnamed app(4284): KUniqueApplication: Cannot find the D-Bus session server: "Failed to connect to socket /tmp/dbus-aGE9cG1V4s: Connection refused" unnamed app(4283): KUniqueApplication: Pipe closed unexpectedly. How Can I solve this? I can launch startkde from Xlaunch and start Konsole within KDE just fine, why does it not launch from xterm (without KDE running in the same screen I guess)?
stdcerr (2099 rep)
Jan 27, 2016, 11:22 PM • Last activity: Jul 18, 2022, 09:12 PM
0 votes
0 answers
227 views
Command not found error after installing xming
I installed `xming` (6.9.0.31) in my Windows system and checked the "Enable X11 forwarding" box in putty but no output ``` Command :xclock -bash: xclock: command not found ``` What are the other configuratons I need to check.
I installed xming (6.9.0.31) in my Windows system and checked the "Enable X11 forwarding" box in putty but no output
Command :xclock
-bash: xclock: command not found
What are the other configuratons I need to check.
Kiran Kumar (1 rep)
Sep 7, 2021, 06:05 PM • Last activity: Sep 14, 2021, 11:07 AM
4 votes
1 answers
2025 views
Xrandr doesn't scale screen under Cygwin/X and Xming
The preamble: I have a very specific remote X client, that needs fixed resolution. 1280x1024, to say. And my notebook has 1440x900. And Windows aboard. So, the idea is to scale the output of the client to fit 900px output. Panning is not an option. The first approach was Xserver, running under Virtu...
The preamble: I have a very specific remote X client, that needs fixed resolution. 1280x1024, to say. And my notebook has 1440x900. And Windows aboard. So, the idea is to scale the output of the client to fit 900px output. Panning is not an option. The first approach was Xserver, running under VirtualBox. But that didn't work as I wanted, scaling of the VB window only truncated the screen, with scrolling bars. So, I tried Xming. Created the screen using this args: -screen 0 640x512 It successfully started. Connected my X client, well, the image was truncated, but that was expected. Than I ran xrandr for created display and got the output: $ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 0 x 0, current 640 x 512, maximum 32768 x 32768 default connected primary 640x512+0+0 0mm x 0 mm 640x512 0.00* Ok, a try to change the scale: $ xrandr --output default --scale 2x2 xrandr: Failed to get size of gamma for output default X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 139 (RANDR) Minor opcode of failed request: 26 (RRSetCrtcTransform) Value in failed request: 0x3e Serial number of failed request: 21 Current serial number in output stream: 22 And the scale didn't change. But the size of screen extended, showing all the client data inbound. If query the config again: $ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 0 x 0, current 1280 x 1024, maximum 32768 x 32768 default connected primary 1280x1024+0+0 0mm x 0 mm 1280x1024 0.00* I tried both Xming and Cygwin/X, the same result. "Value in failed requested" doesn't depend on requested scale value, and is always 0x3e. New dimensions of the screen are always a requested scale multiplied by initial dimensions if the requested scale is bigger than 1. Otherwise, nothing changes, while the error message is still there. If new dimensions are bigger than my client dimensions, all spare pixels are black. I've found [here](https://bugs.freedesktop.org/show_bug.cgi?id=45105) that such Xserver output is caused by xf86-video-vesa and older nvidia drivers. But I don't know if that's my case, and how to change something about driver inside Xming or Cygwin/X. Windows host drivers were updated, anyway. I tried also x11vnc inside Cygwin, and scaling worked, both on side of x11vnc and vnc client. But that was slow, and is too tricky. So the question is about xrandr, why that doesn't work as expected and declared in man pages? ---------- **Update:** Well, I went deeper, and looked through sources of RANDR extension. And the only case I've found, that produces BadValue in the reply to RRSetCrtcTransform request, is False value of boolean variable **crtc->transforms**, that is meant to be an indicator of driver transform support:
/*
     * Set the pending CRTC transformation
     */
    
    int
    RRCrtcTransformSet(RRCrtcPtr crtc,
                       PictTransformPtr transform,
                       struct pixman_f_transform *f_transform,
                       struct pixman_f_transform *f_inverse,
                       char *filter_name,
                       int filter_len, xFixed * params, int nparams)
    {
        PictFilterPtr filter = NULL;
        int width = 0, height = 0;
        
        if (!crtc->transforms)
            return BadValue;
        
        if (filter_len) {
            filter = PictureFindFilter(crtc->pScreen, filter_name, filter_len);
            if (!filter)
                return BadName;
            if (filter->ValidateParams) {
                if (!filter->ValidateParams(crtc->pScreen, filter->id,
                                            params, nparams, &width, &height))
                    return BadMatch;
            }
            else {
                width = filter->width;
                height = filter->height;
            }
        }
        else {
            if (nparams)
                return BadMatch;
        }
        if (!RRTransformSetFilter(&crtc->client_pending_transform,
                                  filter, params, nparams, width, height))
            return BadAlloc;
    
        crtc->client_pending_transform.transform = *transform;
        crtc->client_pending_transform.f_transform = *f_transform;
        crtc->client_pending_transform.f_inverse = *f_inverse;
        return Success;
    }
The only line that modifies that value is a setter function:
/*
     * Set whether transforms are allowed on a CRTC
     */
    void
    RRCrtcSetTransformSupport(RRCrtcPtr crtc, Bool transforms)
    {
        crtc->transforms = transforms;
    }
But it is declared as export function in the header, and nobody calls it inside RANDR srcs. Some further lookup shows that this value is reported in reply to the RRGetCrtcTransform request (line **reply->hasTransforms = crtc->transforms;**):
int
    ProcRRGetCrtcTransform(ClientPtr client)
    {
        REQUEST(xRRGetCrtcTransformReq);
        xRRGetCrtcTransformReply *reply;
        RRCrtcPtr crtc;
        int nextra;
        RRTransformPtr current, pending;
        char *extra;
    
        REQUEST_SIZE_MATCH(xRRGetCrtcTransformReq);
        VERIFY_RR_CRTC(stuff->crtc, crtc, DixReadAccess);
    
        pending = &crtc->client_pending_transform;
        current = &crtc->client_current_transform;
    
        nextra = (transform_filter_length(pending) +
                  transform_filter_length(current));
    
        reply = calloc(1, sizeof(xRRGetCrtcTransformReply) + nextra);
        if (!reply)
            return BadAlloc;
    
        extra = (char *) (reply + 1);
        reply->type = X_Reply;
        reply->sequenceNumber = client->sequence;
        reply->length = bytes_to_int32(CrtcTransformExtra + nextra);
    
        reply->hasTransforms = crtc->transforms;
    
        transform_encode(client, &reply->pendingTransform, &pending->transform);
        extra += transform_filter_encode(client, extra,
                                         &reply->pendingNbytesFilter,
                                         &reply->pendingNparamsFilter, pending);
    
        transform_encode(client, &reply->currentTransform, ¤t->transform);
        extra += transform_filter_encode(client, extra,
                                         &reply->currentNbytesFilter,
                                         &reply->currentNparamsFilter, current);
    
        if (client->swapped) {
            swaps(&reply->sequenceNumber);
            swapl(&reply->length);
        }
        WriteToClient(client, sizeof(xRRGetCrtcTransformReply) + nextra, reply);
        free(reply);
        return Success;
    }
But the request itself is produced by XRRGetCrtcTransform client function, and there is no way to get from its output the information about scaling support. The function simply ignores that value (**rep.hasTransforms**) in the reply:
Status
    XRRGetCrtcTransform (Display	*dpy,
    		     RRCrtc	crtc,
    		     XRRCrtcTransformAttributes **attributes)
    {
        XExtDisplayInfo		*info = XRRFindDisplay(dpy);
        xRRGetCrtcTransformReply	rep;
        xRRGetCrtcTransformReq	*req;
        int				major_version, minor_version;
        XRRCrtcTransformAttributes	*attr;
        char			*extra = NULL, *e;
        int				p;
    
        *attributes = NULL;
    
        RRCheckExtension (dpy, info, False);
    
        if (!XRRQueryVersion (dpy, &major_version, &minor_version) ||
    	!_XRRHasTransform (major_version, minor_version))
        {
    	/* For pre-1.3 servers, just report identity matrices everywhere */
    	rep.pendingTransform = identity;
    	rep.pendingNbytesFilter = 0;
    	rep.pendingNparamsFilter = 0;
    	rep.currentTransform = identity;
    	rep.currentNbytesFilter = 0;
    	rep.currentNparamsFilter = 0;
        }
        else
        {
    	LockDisplay (dpy);
    	GetReq (RRGetCrtcTransform, req);
    	req->reqType = info->codes->major_opcode;
    	req->randrReqType = X_RRGetCrtcTransform;
    	req->crtc = crtc;
    
    	if (!_XReply (dpy, (xReply *) &rep, CrtcTransformExtra >> 2, xFalse))
    	{
    	    rep.pendingTransform = identity;
    	    rep.pendingNbytesFilter = 0;
    	    rep.pendingNparamsFilter = 0;
    	    rep.currentTransform = identity;
    	    rep.currentNbytesFilter = 0;
    	    rep.currentNparamsFilter = 0;
    	}
    	else
    	{
    	    int extraBytes = rep.length * 4 - CrtcTransformExtra;
    	    extra = Xmalloc (extraBytes);
    	    if (!extra) {
    		_XEatDataWords (dpy, rep.length - (CrtcTransformExtra >> 2));
    		UnlockDisplay (dpy);
    		SyncHandle ();
    		return False;
    	    }
    	    _XRead (dpy, extra, extraBytes);
    	}
    
    	UnlockDisplay (dpy);
    	SyncHandle ();
        }
    
        attr = Xmalloc (sizeof (XRRCrtcTransformAttributes) +
    		    rep.pendingNparamsFilter * sizeof (XFixed) +
    		    rep.currentNparamsFilter * sizeof (XFixed) +
    		    rep.pendingNbytesFilter + 1 +
    		    rep.currentNbytesFilter + 1);
    
        if (!attr) {
    	XFree (extra);
    	return False;
        }
        XTransform_from_xRenderTransform (&attr->pendingTransform, &rep.pendingTransform);
        XTransform_from_xRenderTransform (&attr->currentTransform, &rep.currentTransform);
    
        attr->pendingParams = (XFixed *) (attr + 1);
        attr->currentParams = attr->pendingParams + rep.pendingNparamsFilter;
        attr->pendingFilter = (char *) (attr->currentParams + rep.currentNparamsFilter);
        attr->currentFilter = attr->pendingFilter + rep.pendingNbytesFilter + 1;
    
        e = extra;
    
        memcpy (attr->pendingFilter, e, rep.pendingNbytesFilter);
        attr->pendingFilter[rep.pendingNbytesFilter] = '\0';
        e += (rep.pendingNbytesFilter + 3) & ~3;
        for (p = 0; p pendingParams[p] = (XFixed) f;
        }
        attr->pendingNparams = rep.pendingNparamsFilter;
    
        memcpy (attr->currentFilter, e, rep.currentNbytesFilter);
        attr->currentFilter[rep.currentNbytesFilter] = '\0';
        e += (rep.currentNbytesFilter + 3) & ~3;
        for (p = 0; p currentParams[p] = (XFixed) f;
        }
        attr->currentNparams = rep.currentNparamsFilter;
    
        if (extra)
    	XFree (extra);
        *attributes = attr;
    
        return True;
    }
---------- At this moment here are the facts: - The X server driver inside Cygwin or Xming doesn't support transforms; - There is no way to get this information using XRandr client-side API, though the server-side sends such info (should it be considered as a defect?) Ok, the reason is found, but how to make that driver support transforms?
Ярик Зюлин (61 rep)
Apr 2, 2016, 02:20 AM • Last activity: Aug 13, 2021, 01:20 PM
0 votes
0 answers
392 views
Problems with X Forwarding and Xming with Suse Linux and Windows 10
I am trying to setup X forwarding with PuTTY to connect to my Suse Linux VM running on Microsoft Azure Cloud. I installed Gnome on the VM and now trying to setup X forwarding so I can see the GUI apps with using Gnome on Linux. Per some instructions, I installed Xming on my Windows 10 computer, I st...
I am trying to setup X forwarding with PuTTY to connect to my Suse Linux VM running on Microsoft Azure Cloud. I installed Gnome on the VM and now trying to setup X forwarding so I can see the GUI apps with using Gnome on Linux. Per some instructions, I installed Xming on my Windows 10 computer, I started it from the command line and it opened an X style window on my Windows 10 computer, but started PuTTY before starting Xming, and the instructions say start Xming first, so I exited out of the Xming window, and now Xming does nothing when trying to run it again. I am kind of aggravated with this, I used X forwarding with PuTTY at a previous job where we were developing software on Red Hat Linux, and it worked good for running GUI apps. I have been wrestling with this Suse Linux VM for a few weeks now, and it was a big hassle trying to get the VM to work with PuTTY, but now I figured that out and can connect to the Suse Linux VM with PuTTY. Also, I can connect to the VM using Termius, but only with version 2, not version 3 of PuTTY. I accidentally nuked the SSH settings on the VM using VIM to edit SSH files, but was able to restore using the Azure Cloud Portal restore feature. What happened to the Xming window that popped up the first time? and now will not pop up after I X'd out of the first window? How can I restart Xming? Could not find anything on Google on how to restart Xming? Going to reinstall if this cannot be resolved. A google search found nothing about this issue.
Michael G. Workman (151 rep)
Jun 23, 2021, 12:12 AM
0 votes
1 answers
113 views
open emacs gui through xlaunch from wsl failed
I was able to open emacs with xlaunch, but somehow it stopped working. I am not familiar with xlaunch. How do I debug this problem? ``` Display 172.27.112.1:0 unavailable, simulating -nw ```
I was able to open emacs with xlaunch, but somehow it stopped working. I am not familiar with xlaunch. How do I debug this problem?
Display 172.27.112.1:0 unavailable, simulating -nw
Kabocha Porter (121 rep)
Mar 10, 2021, 05:42 AM • Last activity: Mar 10, 2021, 06:15 PM
0 votes
0 answers
2117 views
TBrowser won't open (ROOT)
I have installed the ROOT program on ubuntu shell, but I have some problems when I try to run the TBrowser. Somehow the TBrowser don’t show up when I type “new TBrowser()” , but instead I get the following message: ``` root [0] new TBrowser() Error in TGClient::TGClient: can’t open display “localhos...
I have installed the ROOT program on ubuntu shell, but I have some problems when I try to run the TBrowser. Somehow the TBrowser don’t show up when I type “new TBrowser()” , but instead I get the following message:
root  new TBrowser() Error in TGClient::TGClient: can’t open display 
“localhost:0.0”, switching to batch mode… In case you run from a remote
ssh session, reconnect with ssh -Y (TBrowser *) 0x55b6b4e54b70
I have installed the Xming program and entered export DISPLAY=localhost:0.0 in the ~/.bashrc file, but the problem persists. When I type xclock I get the message: Error: Can’t open display: localhost:0.0 So I guess my problem is not with root but with the X server ?
fabstr (1 rep)
Feb 12, 2021, 05:36 PM • Last activity: Feb 12, 2021, 05:48 PM
0 votes
1 answers
442 views
Connect to linux from WLS and run app in Xming
I want to open my WSL command prompt on win10 and ssh into my linux machine and run an X11 app and have the window appear in Xming on my win10 machine. What have I got wrong? [![enter image description here][1]][1] [1]: https://i.sstatic.net/kIrAS.png **Update** All working from PuTTY, therefore it'...
I want to open my WSL command prompt on win10 and ssh into my linux machine and run an X11 app and have the window appear in Xming on my win10 machine. What have I got wrong? enter image description here **Update** All working from PuTTY, therefore it's a problem with WSL.
Richard Barraclough (550 rep)
Nov 4, 2020, 08:58 PM • Last activity: Nov 5, 2020, 08:52 PM
2 votes
3 answers
1071 views
How Do I install DB2 Remotely?
I have been trying to install IBM DB2 10.5.0.1 on AIX 7.1.0.0 from a Windows 8-64bit using a Remote connection. It has been 3 days and I haven't been able to succeed; Here is a list of everything I've done so far: 1. I have installed Putty on my Local Machine ( win-8, 64 bit) 2. I have installed Xmi...
I have been trying to install IBM DB2 10.5.0.1 on AIX 7.1.0.0 from a Windows 8-64bit using a Remote connection. It has been 3 days and I haven't been able to succeed; Here is a list of everything I've done so far: 1. I have installed Putty on my Local Machine ( win-8, 64 bit) 2. I have installed Xming 3. I even installed Cygwin ---------- I keep receiving the following error message after several unsuccessful trys to install the DB on the remote machine: > (The Tools) command-line, telnet, and relogin client have stopped > working. **Additional Information**: The Database file is zipped using tar format and I have already untarred it, and I want to attempt an install using the db2setup command, which as far as I understand starts the Installer Wizard. **Connection Setup** I disabled my firewall, and am only connected to the remote AIX Server through my LAN. My LAN is also not connected to the internet. ---------- I tried to run the following commands: xclock and Xming separately from the command line of Putty and Cygwin. The result was an error. I also tried to export the display with the command : DISPLAY=127.0.0.1:0.0; export DISPLAY DISPLAY=datapc:0.0; export DISPLAY DISPLAY=localhost:0.0; export DISPLAY After I tried once and the installation failed, I kept trying while adding new troubleshooting, and kept failing. I am ready to start with a clean slate, so instead of trying to repair what I've done already, I'm looking for help from all of you regarding the BEST method. Id appreciate that!! Thanks a lot !!
Joye (31 rep)
Sep 23, 2014, 09:37 AM • Last activity: Apr 22, 2020, 10:44 AM
0 votes
1 answers
359 views
Stream applications from Windows
How can I get windowing like XMing but the other way around -- to have a Windows window in a Linux graphical environment? ---------- I want to do an SSH like, wheter it comes from a VM or a distant computer, just have his apps running in Linux graphical environment I want to run apps that Wine can't...
How can I get windowing like XMing but the other way around -- to have a Windows window in a Linux graphical environment? ---------- I want to do an SSH like, wheter it comes from a VM or a distant computer, just have his apps running in Linux graphical environment I want to run apps that Wine can't run
wxi (189 rep)
Feb 4, 2020, 12:07 PM • Last activity: Feb 6, 2020, 04:09 PM
0 votes
1 answers
4419 views
How to fix XOpenDisplay Failed
I have Windows 10. I installed Ubuntu and when I want to run root at the Ubuntu Prompt I get this error: PopupLogo, XOpenDisplay failed ------------------------------------------------------------ | Welcome to ROOT 6.18/02 https://root.cern | | (c) 1995-2019, The ROOT Team | | Built for linuxx8664gc...
I have Windows 10. I installed Ubuntu and when I want to run root at the Ubuntu Prompt I get this error: PopupLogo, XOpenDisplay failed ------------------------------------------------------------ | Welcome to ROOT 6.18/02 https://root.cern | | (c) 1995-2019, The ROOT Team | | Built for linuxx8664gcc on Sep 05 2019, 00:50:00 | | From tag , 23 August 2019 | | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' | ------------------------------------------------------------ root I have Xming installed on my desktop however I still get the above error. Is there a way to fix this easily? I think this is effecting how I use ROOT. For example when I want to create a simple histogram (from an exponential function), everything runs fine to the next line but I do not get a histogram graph out. I do not think there is anything wrong with the code since I got it from a user manual and root doesn't show any errors but it just does show the histogram. Thanks!
user370510 (1 rep)
Sep 7, 2019, 01:25 AM • Last activity: Dec 15, 2019, 01:32 PM
3 votes
2 answers
44018 views
Xming does not show an xclock window
I have installed and have connected to a server using Putty. But when I type "xclock" for testing there is no output.
I have installed and have connected to a server using Putty. But when I type "xclock" for testing there is no output.
eucap (31 rep)
Sep 11, 2012, 10:02 AM • Last activity: Nov 25, 2018, 03:10 PM
0 votes
0 answers
2069 views
X11 linux apps in xming - how to fix font and size?
I'm running LiClipse (a version of Eclipse IDE targeted at Python development) on a remote CentOS 7 host with X11 forwarding to xming on Windows 10. The application starts up fine, but the fonts are incredibly small, and the wrong type (the default is 'sans', but the displayed font is different). Ch...
I'm running LiClipse (a version of Eclipse IDE targeted at Python development) on a remote CentOS 7 host with X11 forwarding to xming on Windows 10. The application starts up fine, but the fonts are incredibly small, and the wrong type (the default is 'sans', but the displayed font is different). Changing the font type and size in the application preferences has no effect. enter image description here Is it possible that I'm missing some font package in CentOS or Xming (I have installed xming-fonts 7.7.0.10)? How can this be solved? **EDIT:** xset q shows the following font paths (I switched between xming and VcXsrv and the results are the same, I have now stuck to VcXsrv) Font Path: C:\apps\VcXsrv\fonts/misc/,C:\apps\VcXsrv\fonts/TTF/,C:\apps\VcXsrv\fonts/OTF,C:\apps\VcXsrv\fonts/Type1/,C:\apps\VcXsrv\fonts/100dpi/,C:\apps\VcXsrv\fonts/75dpi/,C:\apps\VcXsrv\fonts/cyrillic/,C:\apps\VcXsrv\fonts/Speedo/,C:\apps\VcXsrv\fonts/terminus-font/,built-ins I have successfully changed the text editor font in the application, by picking the Courier 10 Pitch font in the appearance settings menu. The problem is that none of the default-selected fonts, like Monospace or Sans render properly. I suspected the missing fonts might be in the C:\Windows\Fonts folder, so I tried added it to the font-dirs file, and the -fp command-line argument of both xming and VcXsrv with no success. That folder is simply ignored, it does not show in the output of xset q even if it's the only option provided, which is now an even bigger mystery. So it seems the issue is that there's a mismatch between what fonts LiClipse/X11 is expecting to use and what Xming/VcXsrv are providing. **EDIT 2:** Not a duplicate of https://unix.stackexchange.com/questions/107807/how-to-configure-fonts-on-a-remote-x-connection-xdmcp-vs-ssh The solution to that question does not solve this one, and software in use is different.
André Fernandes (151 rep)
Sep 26, 2018, 12:20 PM • Last activity: Sep 28, 2018, 09:45 AM
1 votes
1 answers
910 views
using xming to save a file from a lnux computer to a windows computer
I have seen similar questions on here but I have not been able to find an answer that works for me. I am using `Xming` to interact with a Linux computer, and I want to save a PDF stored on that computer to my windows computer. How do I do this? Do I use `scp`? If so, what do I use as the host comput...
I have seen similar questions on here but I have not been able to find an answer that works for me. I am using Xming to interact with a Linux computer, and I want to save a PDF stored on that computer to my windows computer. How do I do this? Do I use scp? If so, what do I use as the host computer, my windows or the Linux? If anyone could provide an example that would be great.
Tnarg Yllennod (11 rep)
May 17, 2018, 04:54 PM • Last activity: May 17, 2018, 06:54 PM
0 votes
1 answers
678 views
Tools like Xming in linux
Are there tools like Xming in Linux to show my plot on VPS? The effect is like this: https://drive.google.com/open?id=0BzCLPN5o3ziHUHNmc2ZFSTRLM0k https://drive.google.com/open?id=0BzCLPN5o3ziHUjhqSWFVVGhDdnc
Are there tools like Xming in Linux to show my plot on VPS? The effect is like this: https://drive.google.com/open?id=0BzCLPN5o3ziHUHNmc2ZFSTRLM0k https://drive.google.com/open?id=0BzCLPN5o3ziHUjhqSWFVVGhDdnc
zxdawn (181 rep)
Aug 10, 2017, 02:26 AM • Last activity: Aug 10, 2017, 04:40 AM
Showing page 1 of 20 total questions