setcap wine 遇到的问题解决
[ ]The content is recoverd from Wordpress Blog, for more details please check HERE
November 11, 2015
之后为了让普通用户也能通过wine访问到网络接口,需要给wine的相关程序(wine-preloader 和 wineserver wine) 一些特权
参考 man capabilities 和 setcap
- 首先需要给CAP_NET_RAW 权限 这个要给到 wine-preloader 上,不过在设置完这个权限之后,执行 wine XXX.exe 会报错
wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
这是因为特权模式的程序运行的时候是不会检测到相对路径的lib库的, 具体参考文章如下:http://stackoverflow.com/q/6493846/296473 解决方法在文中已有了 就不赘述了
- 上述问题解决后,运行wine 会提示 Internal errors- Invalid parameters , 而且winedbg不可以attach到进程, 这个问题的解决方法是给wineserver(不是wine-preloader)CAP_SYS_PTRACE权限
Linux, Threads and Process, Uncategorized, wine, 计算机系统原理 C. Linux, kernel, Laravel, PHP, Python, Shell, Web, wine
Historical Comments
Post navigation ————— NEXT
lightdm 配置 PREVIOUS [被迫参加的hackathon] 在线编译系统开发小记 Comments are closed.
统计信息nanodesu~~~
当前在线人数 (。・ω・)ノ゙ 0
修罗酱真诚欢迎更多的朋友来我的WOWO做客哦~ Search for: Search #### Recent Posts
- Customize Your Zsh Prompt
- 将 vim 作为日常笔记本使用
- Running Arch Linux with customized kernel in QEMU
- proxychains-ng 原理解析
- 闭关三月 博客之后更新
Recent Comments
- VOID001 on 将 vim 作为日常笔记本使用
- VOID001 on 留言板
- Jim Yu on 留言板
- VOID001 on VOID
- muou333000 on 将 vim 作为日常笔记本使用
友情链接
YongHao Hu’s Blog
亿臻的知乎主页(非个人博客站点)
yungkcx’s Blog
Asm Def
Five Yellow Mice’s Blog(一个ruby&php dalao)
老K(csslayer)的另一个博客
Solomon(萌萌的Poi的自制博客~)
Farseerfc的小窩(ArchLinux TU ~ 可爱的爱呼吸酱)
Sherlock-Holo的博客~(夏狼好可爱!)
KK的博客~(前辈好OwO)
智乃酱(Frantic1048)的博客~(萌萌的智乃> <)
No Silver Bullet | LA
的博客=w=
某兔子の御用花园 | 喵兔的博客\w/
千千blog (萌千千=w
Typeblog | 彼得彼得的博客w
静静’s Blog | 好耶w
南浦月 | 乔姐姐老师的博客
初等記憶體 | 艾雨寒的博客
It’s Kiri~!! | Kiriririri 的博客
失う | Equim 酱的博客~ 是 Gopher 呢
Makito’s Notebook | 是可爱的 Android Dev Makito 呢~~ (吸吸)
灰灰,可爱的男孩纸
DuckSoft’s Blog | Ex nihilo ad astra
Leo’s Field, 一位 UW 的数学系大大!Archives
- June 2019
- February 2019
- January 2019
- August 2018
- January 2018
- November 2017
- September 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- November 2015
- October 2015
- September 2015
- August 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
Categories
- ACM Algorithm
- AI
- Android
- archlinux
- C
- DynamicProgramming
- emacs
- gcc
- golang
- GraphTheory
- hash
- Kernel
- Kernel
- Linux
- Linux_Basis
- LuaSource
- Minecraft
- Number Theory
- PHP
- Projects
- Robocode~
- Ruby
- STL
- Threads and Process
- Uncategorized
- vim
- Vocaloid
- Water
- Web Develop
- wine
- 基础网络知识
- 文章转载
- 杂七杂八
- 计算机系统原理
- 计算机网络
Tags
archlinux C C. Linux kernel Laravel linux os PHP prompt Python qemu rtmp Shell video vim Web wine zsh © 2020 | Proudly Powered by WordPress | Theme: Nisarg /* <![CDATA[ / var screenReaderText = {“expand”:”expand child menu”,”collapse”:”collapse child menu”}; / ]]> / / <![CDATA[ /EnlighterJS_Config = {“selector”:{“block”:”pre.EnlighterJSRAW”,”inline”:”code.EnlighterJSRAW”},”language”:”generic”,”theme”:”git”,”indent”:2,”hover”:”hoverEnabled”,”showLinenumbers”:true,”rawButton”:true,”infoButton”:true,”windowButton”:true,”rawcodeDoubleclick”:true,”grouping”:true,”cryptex”:{“enabled”:false,”email”:”[email protected]”}};!function(){var a=function(a){var b=”Enlighter Error: “;console.error?console.error(b+a):console.log&&console.log(b+a)};return window.addEvent?”undefined”The content is recoverd from Wordpress Blog, for more details please check HEREtypeof EnlighterJS?void a(“Javascript Resources not loaded yet!”):”undefined”The content is recoverd from Wordpress Blog, for more details please check HEREtypeof EnlighterJS_Config?void a(“Configuration not loaded yet!”):void window.addEvent(“domready”,function(){EnlighterJS.Util.Init(EnlighterJS_Config.selector.block,EnlighterJS_Config.selector.inline,EnlighterJS_Config)}):void a(“MooTools Framework not loaded yet!”)}();;/ ]]> */