Wine installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
# SECURITY_DEFAULT_MMAP_MIN_ADDR | # SECURITY_DEFAULT_MMAP_MIN_ADDR | ||
vm.mmap_min_addr=65536</pre> | vm.mmap_min_addr=65536</pre> | ||
*On headless server run <code>Xvfb</code>. | *On headless server run <code>Xvfb</code>. | ||
<code>/etc/rc.d/rc.local</code>: | |||
<pre># Start Xvfb | <pre># Start Xvfb | ||
if [ -x /usr/X11R6/bin/Xvfb ]; then | if [ -x /usr/X11R6/bin/Xvfb ]; then | ||
Revision as of 22:29, 18 November 2015
/etc/sysctl.conf:
# The Slackware default value is 98304; decrised here to avoid wine's warning # The value 65536 is suggested by the config help for # SECURITY_DEFAULT_MMAP_MIN_ADDR vm.mmap_min_addr=65536
- On headless server run
Xvfb.
/etc/rc.d/rc.local:
# Start Xvfb if [ -x /usr/X11R6/bin/Xvfb ]; then echo "Starting Xvfb" /usr/X11R6/bin/Xvfb :99 -screen 0 640x480x8 -nolisten tcp -noreset -auth /etc/Xvfb99.cfg -fbdir /tmp > /dev/null 2>&1 & fi
/etc/rc.d/rc.local_shutdown:
# Shut down Xvfb killall Xvfb
- To install wine-gecko, put the file
wine_gecko-x.xx-x86.msito /usr/share/wine/gecko/. See http://wiki.winehq.org/Gecko for download url.