Problems with Wine and X11

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
sonicfan1012
Level 1
Level 1
Posts: 8
Joined: Thu Nov 19, 2009 5:47 pm

Problems with Wine and X11

Post by sonicfan1012 »

I have a problem when using wine. I try using it, but my X11 is blocked. (Note: I can use wine only because I put it in the package contents of working apps). Wine uses X11, but is there a way to change the application that Wine uses? What I am thinking of doing is replacing the package contents of a working application like chess with X11's package contents. It works; however, I myself do not know how to change my wine so that it opens chess (which, as i said before, will contain the package contents of X11) instead of X11. Can anyone help me?
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

I can't follow what your asking at all.... you want Wine to use something other than X11? Not really possible at the moment...
sonicfan1012
Level 1
Level 1
Posts: 8
Joined: Thu Nov 19, 2009 5:47 pm

Post by sonicfan1012 »

Oh sorry. It is a bit weird. See X11 is blocked on my computer, therefore wine doesn't work. However, i can still access X11's package contents. If I take X11's package contents files and replace them with the package content files of another application, like chess, then Chess would become X11. So, instead of my chess application running chess, it would run X11. Chess, however, unlike X11, isn't blocked. So if I replaced the package contents of Chess with X11, I could run X11.

What I want to know is if there's a way to make Wine use the edited Chess application that actually runs X11 (remember, I replaced the contents folder of Chess with X11's contents folder) instead of the actual X11 application, which is blocked... I apologize if it sounds strange, but please leave a response.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

sonicfan1012 wrote:What I want to know is if there's a way to make Wine use the edited Chess application that actually runs X11
Wine doesn't care what you calling your X-server. If it provides the same functionality with the same API Wine will work just fine.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

I'm guessing your on a Mac...

how is X11 blocked? some type of work computer without enough access?

If its just not working right, I'd say fix it....

if your blocked... well... may not be a way to get it to work. X11 isn't all contained inside of X11.app .. most of it is in /usr/X11. Even moving most of the contents from X11.app to a new app will not make it run if your blocked from X11.

If you can run terminal, you can try starting X by doing a startx, or xinit. It wont run the X11.app exactly the same as clicking on it, but it still has to run it.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

sonicfan1012 wrote:Oh sorry. It is a bit weird. See X11 is blocked on my computer, therefore wine doesn't work. However, i can still access X11's package contents. If I take X11's package contents files and replace them with the package content files of another application, like chess, then Chess would become X11. So, instead of my chess application running chess, it would run X11. Chess, however, unlike X11, isn't blocked. So if I replaced the package contents of Chess with X11, I could run X11.

What I want to know is if there's a way to make Wine use the edited Chess application that actually runs X11 (remember, I replaced the contents folder of Chess with X11's contents folder) instead of the actual X11 application, which is blocked... I apologize if it sounds strange, but please leave a response.
You should probably read the Wikipedia article on what an X server exactly is. Chess doesn't become "the X server" just because it's there, it'd have to actually act as, well, an X server in order to be an X server. In other words, provide a way for the computer to give graphical output and accept special input (this is in very basic terms what an X server does).
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

He is using OSX and tries to modify a chess application bundle or so. That really won't work, X11 is not just an app it also contains tons of libraries and more. Get your system adminstrator to unlock X11 for you else you really can't use it.
sonicfan1012
Level 1
Level 1
Posts: 8
Joined: Thu Nov 19, 2009 5:47 pm

Post by sonicfan1012 »

Ahh I see. Thank you. I'll try to get it unblocked I guess
Locked