Giter Site home page Giter Site logo

quartz-wm's People

Contributors

jeremyhu avatar kenthomases avatar nbyouri avatar tom-seddon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quartz-wm's Issues

Issue with XQuartz & legacy X forwarding

Firstly I just want to say this isn't about indirect rendering or iglx etc ... The team over at sgi.sh have been trying to get X11 forwarding working on SGI IRIX > MacOS for a while without luck. First was the iglx issue which we worked out, but secondly there seems to be an issue with Xinerama and its interaction with XQuartz. After doing research into this issue, it seems to have been a consistent bug for almost 15 years (I will provide references at the end)

X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 128 (XINERAMA) Minor opcode of failed request: 1 (XINERAMAGetState) Resource id in failed request: 0xa9010000 Serial number of failed request: 760 Current serial number in output stream: 760

This error presents when running 'certain' applications over Xforwarding, notably ones with more complex GLX requirements, like the window manager in Irix that uses vector icons etc. It doesn't seem to be related to indirect rendering, but it does require indirect rendering to be working correctly. We currently have Mac users forced to run Linux VM's on their glorious MacOS in order to use Xforwarding... the horror! :)

I hope this is something the team here might be able to look in to? Thanks

Our forum thread on the issues: https://forums.sgi.sh/index.php?threads/x11-forwarding-adventures.383/

Here are a few historical links to this issue constantly cropping up:
2004: http://sunmanagers.cs.toronto.edu/2004/5331.html
2007: https://discussions.apple.com/thread/1101676
2010: https://lists.apple.com/archives/X11-users/2010/May/msg00010.html

Multi monitor can cause windows to get lost

Mac OS X 10.13.4
Mac Book Pro with Cinema display
Displays have separate spaces

Some applications when they start will move their window to a position which is out of reach of any of the screens. I haven't found a way to resolve this other than trying to grab the window before the application decides to move it.

Applications which do this. Clion and Sqldeveloper.

X11 forwarding request failed on channel 0

I am trying to do X11 forwarding through XQuartz on my iMac running OX X El Capitan (10.11.6).

when I try to use ssh with port forwarding, I get the error that the port forwarding request has failed.

that is, when I type:

it comes back with

X11 forwarding request failed on channel

when I try this same thing from another macintosh running OS X to the same destination computer, I do not get this error.

Does anyone have a suggest at how to find out what the problem is?

Thank you, Paul

disappearing windows with El Capitan

By default I open Xquartz with 4 xterm windows
with the new osx10.11, two of these windows -always the same- get invisible if the Mac goes in stand-by.
I don't know how to make them active again.
thanks
philippe patriat

I am struggling with xauth and I guess display port X11 forwarding and see " using fake authentication data" and "connect localhost port 6010: Connection refused Error: Can't open display: jb:10.0"

My client - macOS 10.14 - wants to connect to LinuxFX (ubuntu based from Brazil) distro. Connecting to my linuxbox jbwith ssh -Y jb gets me:

Warning: No xauth data; using fake authentication data for X11 forwarding.

later when I launch say gedit I see:

connect localhost port 6010: Connection refused
Unable to init server: Could not connect: Connection refused

(gedit:467895): Gtk-WARNING **: 05:33:33.691: cannot open display: jb:11.0

My understanding is that I should be seeing my local macOS client machine, which is named moderna. Perhaps these ports are forwarded so the remote linuxbox not be concerned with the pipes so much. My ~/.ssh/config is:

XAuthLocation /opt/X11/bin/xauth
ForwardAgent yes
IgnoreUnknown UseKeychain
UseKeychain yes

Host git.ionicjs.com
IdentityFile /Users/tom/.ssh/ionic/122957_rsa

# Host *
# IdentityFile /Users/tom/.ssh/id_rsa

# https://serverfault.com/questions/422908/how-can-i-prevent-the-warning-no-xauth-data-using-fake-authentication-data-for/422914
# Host *
# XAuthLocation /opt/X11/bin/xauth

Maybe I'll try uncomment those XAuthLocation lines to see if it fixes my xauth issue... and remove Keychain? Not sure.
Darwin moderna.fritz.box 18.7.0 Darwin Kernel Version 18.7.0: Mon Apr 27 20:09:39 PDT 2020; root:xnu-4903.278.35~1/RELEASE_X86_64 x86_64
Linux jb 5.6.15-windowsfx-10-generic #1 SMP Thu May 28 00:21:43 -03 2020 x86_64 x86_64 x86_64 GNU/Linux

Earlier sshd complained when I added a line about forwarding I forget. Maybe the permission are wrong for this file:

(base) ➜ ~ ls -la /opt/X11/bin/xauth
-rwxr-xr-x 1 root wheel 98704 8 Oct 2016 /opt/X11/bin/xauth

It's not touched since... 2016! Do I need to remove this yeah? And re-generate. Also I see:

(base) ➜  ~ xhost
xhost:  unable to open display "localhost:10.0"

Does it actually run on Leopard?

I noticed the addition of "-undefined dynamic_lookup" for getting quartz-wm to build on Leopard. (Commit debceb4 and associated MacPorts ticket https://trac.macports.org/ticket/32609.) I am trying to build using the 10.5 SDK, so it should be similar to building on Leopard, which is what that fixed.

It builds, but it won't run.

The problem is that the __NSConcreteStackBlock symbol is "strong" referenced by dock-support.o. It's not weak like the various _dispatch* symbols are.

(Actually, building on Leopard or against the 10.5 SDK is a red herring. Building on Snow Leopard with LDFLAGS="-mmacosx-version-min=10.5" wouldn't change anything, since that symbol reference isn't weak.)

Color issue when using Wine

I am not 100% sure if this is truly an issue with XQuartz, but i suspect it is. Thats why I'm posting here.

Wine (winehq.org) is a software for running Windows applications on Linux or macOS.
The mac version depends on XQuartz.

I installed Wine on my mac ( 10.12.6 Sierra ) for the purpose of running DisplayMate for Windows (displaymate.com)

DisplayMate is a software that displays test patterns for testing or calibrating displays.

Here is the problem:
It quickly became obvious that the RGB numbers that DisplayMate claimed to output was NOT what was sent to the screen. I confirmed this using the Digital Color Meter in macOS (Utilities folder).

I also tested DisplayMate in Wine for Linux (Ubuntu), and there were no problems.

I suspect that XQuartz assigns an ICC profile for everything it draws to the screen. Or maybe Wine does.
In either case the active color management in macOS (ColorSync) respects this profile and converts the colors to the profile set for the display in System Preferences.

Since DisplayMate (and I believe most Windows GUI Software) is not associated with an ICC Profile (aka. unmanaged), assigning one is incorrect, and makes DisplayMate useless in Wine on the mac.

Expected behaviour:
Again, I am not sure if the issue is with XQuartz or Wine, but anyways.
Content that has an ICC profile associated with it (like many images) should of course be respected, and ColorSync should convert those.

BUT, for unmanaged content the numbers should pass by ColorSync untouched.

libGL error: failed to load driver: swrast

I'm getting:

libGL error: failed to load driver: swrast

when trying to open an application via ssh -Y. When using ssh -x I get:

QXcbConnection: Could not connect to display

No idea how to proceed or what information you might need.

Window spans multiple monitors

When opening a window from the command line the window spans multiple monitors. I'm assuming this has not been optimized for retina display's and that the monitor mismatch (retina display vs regular display) is causing this issue somewhere. If anyone has any ideas where to start to look at this code, I can probably submit a fix.

Thanks.

quartz-wm

I dont know what is the exact problem but i will try to explain.I installed Visual Studio Code for C Sharp coding.I think i broke whole X11 and XQuartz systems completely while i was installing Homebrew and Node.js .Now when i try to open a wineskin app it gives me xquartz-wm or X11 or wineskin Error.I tried to reinstalling XQuartz but it was useless.

update configure.ac for automake1.13

i.e. the AM_CONFIG_HEADER(config.h) macro should be replaced with AC_CONFIG_HEADERS([config.h])

(I'd submit a pull request, but I made a bunch of other random, irrelevant changes in my configure.ac file in my fork, too)

deprecated in Sierra

I got some deprecated as shown below.

$ make
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in lib
cp libquartz-wm-ds.apsl.dylib libquartz-wm-ds.1.dylib
install_name_tool -id /opt/X11/lib/libquartz-wm-ds.1.dylib libquartz-wm-ds.1.dylib
rm -f libquartz-wm-ds.dylib
ln -s libquartz-wm-ds.1.dylib libquartz-wm-ds.dylib
Making all in src
  OBJC     dock-support-handler.o
  OBJC     frame.o
  OBJC     main.o
main.m:119:5: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
    asl_log(aslc, NULL, ASL_LEVEL_ERR, "another window manager is runnin...
    ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:256:9: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_ERR, "can't open default display");
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:327:9: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_ERR, "can't open SHAPE server extension");
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:334:9: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_ERR, "can't open AppleWM server ex...
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:364:13: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
            asl_log(aslc, NULL, ASL_LEVEL_ERR, "Memory allocation error");
            ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:777:9: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_WARNING, "couldn't create a shutdo...
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:1001:12: warning: 'asl_open' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3); see os_log_create(3)
      [-Wdeprecated-declarations]
    aslc = asl_open("quartz-wm", asl_facility, asl_opts);
           ^
/usr/include/asl.h:342:14: note: 'asl_open' has been explicitly marked
      deprecated here
asl_object_t asl_open(const char *ident, const char *facility, uint32_t ...
             ^
main.m:1022:9: warning: 'asl_log' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_ERR, "caught exception: %s", [str ...
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
main.m:1156:18: warning: 'asl_new' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
    aslmsg msg = asl_new(ASL_TYPE_MSG);
                 ^
/usr/include/asl.h:514:14: note: 'asl_new' has been explicitly marked deprecated
      here
asl_object_t asl_new(uint32_t type) __API_DEPRECATED("os_log(3) has repl...
             ^
main.m:1161:9: warning: 'asl_set' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_set(msg, "File", file);
        ^
/usr/include/asl.h:529:5: note: 'asl_set' has been explicitly marked deprecated
      here
int asl_set(asl_object_t obj, const char *key, const char *value) __API_...
    ^
main.m:1162:9: warning: 'asl_set' is deprecated: first deprecated in macOS 10.12
      - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_set(msg, "Function", function);
        ^
/usr/include/asl.h:529:5: note: 'asl_set' has been explicitly marked deprecated
      here
int asl_set(asl_object_t obj, const char *key, const char *value) __API_...
    ^
main.m:1165:13: warning: 'asl_set' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
            asl_set(msg, "Line", _line);
            ^
/usr/include/asl.h:529:5: note: 'asl_set' has been explicitly marked deprecated
      here
int asl_set(asl_object_t obj, const char *key, const char *value) __API_...
    ^
main.m:1171:5: warning: 'asl_vlog' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
    asl_vlog(aslc, msg, ASL_LEVEL_DEBUG, fmt, args);
    ^
/usr/include/asl.h:623:5: note: 'asl_vlog' has been explicitly marked deprecated
      here
int asl_vlog(asl_object_t obj, asl_object_t msg, int level, const char *...
    ^
main.m:1175:9: warning: 'asl_free' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_free(msg);
        ^
/usr/include/asl.h:650:6: note: 'asl_free' has been explicitly marked deprecated
      here
void asl_free(asl_object_t obj) __API_DEPRECATED("os_log(3) has replace...
     ^
main.m:1184:5: warning: 'asl_vlog' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
    asl_vlog(aslc, NULL, ASL_LEVEL_DEBUG, fmt, args);
    ^
/usr/include/asl.h:623:5: note: 'asl_vlog' has been explicitly marked deprecated
      here
int asl_vlog(asl_object_t obj, asl_object_t msg, int level, const char *...
    ^
15 warnings generated.
  OBJC     utils.o
  OBJC     x-input.o
x-input.m:605:17: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
                asl_log(aslc, NULL, ASL_LEVEL_WARNING, "XRRUpdateConfigu...
                ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
1 warning generated.
  CC       x-list.o
  OBJC     x-screen.o
x-screen.m:188:29: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
                            asl_log(aslc, NULL, ASL_LEVEL_ERR, "Memory a...
                            ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
x-screen.m:226:13: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
            asl_log(aslc, NULL, ASL_LEVEL_ERR, "Memory allocation error.");
            ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
x-screen.m:748:21: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
                    asl_log(aslc, NULL, ASL_LEVEL_WARNING, "Invalid resp...
                    ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
3 warnings generated.
  OBJC     x-window.o
x-window.m:2157:9: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_WARNING, "couldn't minimize window...
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
x-window.m:2218:9: warning: 'asl_log' is deprecated: first deprecated in macOS
      10.12 - os_log(3) has replaced asl(3) [-Wdeprecated-declarations]
        asl_log(aslc, NULL, ASL_LEVEL_WARNING, "couldn't restore window...
        ^
/usr/include/asl.h:586:5: note: 'asl_log' has been explicitly marked deprecated
      here
int asl_log(asl_object_t client, asl_object_t msg, int level, const cha...
    ^
2 warnings generated.
  CC       x11-geometry.o
  OBJCLD   quartz-wm
Making all in man
  GEN      quartz-wm.1
make[2]: Nothing to be done for `all-am'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.