View previous topic :: View next topic |
Author |
Message |
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Sat Jan 12, 2013 12:55 am Post subject: wine in chroot needs X?? |
|
|
somehow wine told to use -xorg USE flag in mesa. But... even though is chroot does it need xorg or uses the non-chroot X?? And would I need card drivers too?
thanks. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sat Jan 12, 2013 2:48 am Post subject: |
|
|
Somehow? Instead of letting us guess what problem you see, please provide the output of emerge which shows the issue. |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Sun Jan 13, 2013 2:03 pm Post subject: |
|
|
mainly this in chroot:
Code: | xterm
No protocol specified
xterm: Xt error: Can't open display: :0.0
|
|
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Mon Jan 14, 2013 12:30 am Post subject: |
|
|
one more clue from winecfg:
Code: | No protocol specified
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
|
help, wanna play a game. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Jan 14, 2013 12:33 am Post subject: |
|
|
xhost +local: && winecfg? I don't know if that is enough to get past the chroot. I just use a separate user cleverly named 'wine' and change the permissions on the executable so only that user can run wine programs.
EDIT: You need to run xhost before you chroot. Its in x11-apps/xhost if you don't already have it installed. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Mon Jan 14, 2013 12:48 am Post subject: |
|
|
thanks, will double check.
strangely this works:
no host
in chroot
Code: | export DISPLAY=localhost:1
xterm |
Does Xnest add overhead?
glxgears nor glxinfo run:
Code: | glxinfo
name of display: localhost:1
Error: couldn't find RGB GLX visual or fbconfig
glxgears
Error: couldn't get an RGB, Double-buffered visual |
|
|
Back to top |
|
|
_______0 Guru
Joined: 15 Oct 2012 Posts: 521
|
Posted: Mon Jan 14, 2013 12:54 am Post subject: |
|
|
The Doctor wrote: | xhost +local: && winecfg? |
u da boss!! |
|
Back to top |
|
|
|