Linux 如何让 x11vnc 用客户端显示器调整分辨率
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6965674/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to make x11vnc adjust resolution with client display
提问by Tmx
When use x11vnc display:0 to start the vnc server, then client will have exactly the same resolution as server, is that possible to configure x11vnc server (i.e. edit the .x11vncrc file) to make the resolution can be adjusted automatically with the display of client?
当使用 x11vnc display:0 启动 vnc server 时,client 将与 server 拥有完全相同的分辨率,是否可以配置 x11vnc server(即编辑 .x11vncrc 文件)使分辨率可以随着显示的显示自动调整客户?
And how to make the server show "locked up" on screen when connected by a client.
以及如何使服务器在客户端连接时在屏幕上显示“锁定”。
Thanks.
谢谢。
回答by yuyichao
I don't really think these two are possible (at least not with x11vnc afaik).
我真的不认为这两个是可能的(至少不是 x11vnc afaik)。
The reason is x11vnc simply copy the content of current screen and send it through vnc. Therefore the vnc and the screen has to be of the same size and show the same thing.
原因是 x11vnc 只是简单地复制当前屏幕的内容并通过 vnc 发送它。因此,vnc 和屏幕必须具有相同的大小并显示相同的内容。
Does your "show locked up" mean just show the word on the screen (I think the vnc server of gnome(forgot the name) has some kind of notification to incomming connections) or to lock the screen?
你的“显示锁定”是指只在屏幕上显示这个词(我认为gnome的vnc服务器(忘记名字)有某种通知传入连接)还是锁定屏幕?
回答by user1403360
If you use gnome desktop, take a look at "vino". You can find settings at System>Preferences>Remote Desktop. Or you can make settings via Gconf.
如果您使用 gnome 桌面,请查看“vino”。您可以在系统>首选项>远程桌面中找到设置。或者您可以通过 Gconf 进行设置。