V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  amiwrong123  ›  全部回复第 29 页 / 共 35 页
回复总数  697
1 ... 21  22  23  24  25  26  27  28  29  30 ... 35  
2019-11-12 11:40:18 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@MasterMonkey
@Yanni0507
求助啊,救命啊,大佬。看下附言 2 呗。

现在我用两个屏幕连着 win10 电脑,Ubuntu 电脑没有连屏幕。

不用 nomachine 连上 Ubuntu 的时候没事,但一旦我连上 Ubuntu 后,左边那个显示器就开始闪屏(是间歇性黑屏),右边屏幕会间歇性花屏。
2019-11-11 20:58:10 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@fox0001
没听过呢,我百度看看
2019-11-11 20:57:09 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@jakezh
这句执行过的,国内外教程我都老遍了,除了一个讲 xrdp 原理的,没咋看懂
2019-11-11 19:54:49 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@kenshin912
蟹蟹了,我太难了
2019-11-11 19:53:47 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@MaxLi77
好吧,那如果我的 Ubuntu 一直不关机,就解决你这个问题了呗
2019-11-11 19:43:26 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@MasterMonkey
@Yanni0507
刚才百度了 NoMachine,糟糕,是心动的感觉。。。(看起来配置很简单)

但想问一下,剪切板可以共享嘛
2019-11-11 19:22:43 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@yutou527
刚开始就知道 xrdp 可以,然后就开始搜教程,这个 vnc 就是很好用呗
2019-11-11 19:15:32 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@HaoyangWei
也就是这个链接呗 http://www.c-nergy.be/products.html

我其实也试过了,等会我重装 Ubuntu 在试试,我就不信了。。。

那除了运行这个脚本外,还需要执行什么命令吗😂
2019-11-11 19:13:09 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@ttgo
哈哈哈哈,挺巧啊。你这还能雪花屏呢,我这根本就连不上😂
2019-11-11 19:11:51 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@wangkun025
说实话,你这个帖子我看过刚, [手动笑哭]
2019-11-11 19:11:08 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@FLynnCPP
用 teamview 是不是必须保持 Ubuntu 的电脑有屏幕连着啊
2019-11-11 19:10:28 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@Yanni0507
nomachine,等会我百度看看
2019-11-11 18:45:01 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@MaxLi77
@sakura1357
这个也是在 ubuntu 上设置好了后,ubuntu 就不需要屏幕了呗(以后就不关机了,哈哈哈)。还有就是可以剪切板分享嘛
2019-11-11 18:19:51 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@Death 不好意思,原来这是一个包啊,xorgxrdp 我安了,但好像不行哎
2019-11-11 17:57:12 +08:00
回复了 amiwrong123 创建的主题 程序员 [救救孩子]win10 想用 xrdp 连接上有 gnome 桌面的 Ubuntu
@Death
xorg xrdp 这两个都安了,应该都是最新,不过用的源都阿里的源
@xiaoloudoufu
果然 ,用了这个就好了,怪自己没好好文档了
@xiaoloudoufu
谢谢,我也是刚看见有这个,等会我试试
error: call to implicitly-deleted copy constructor of 'testing::internal::ReturnAction<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>::Impl<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult, android::hardware::Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult> (iauto::hardware::ucom::common::V1_0::EnCommonListenerID)>::Result' (aka 'android::hardware::Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>')
virtual Result Perform(const ArgumentTuple&) { return value_; }
^~~~~~
external/googletest/googlemock/include/gmock/gmock-actions.h:575:14: note: in instantiation of member function 'testing::internal::ReturnAction<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>::Impl<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult, android::hardware::Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult> (iauto::hardware::ucom::common::V1_0::EnCommonListenerID)>::Perform' requested here
explicit Impl(const linked_ptr<R>& value)
^
external/googletest/googlemock/include/gmock/gmock-actions.h:557:26: note: in instantiation of member function 'testing::internal::ReturnAction<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>::Impl<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult, android::hardware::Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult> (iauto::hardware::ucom::common::V1_0::EnCommonListenerID)>::Impl' requested here
return Action<F>(new Impl<R, F>(value_));
^
TestSender.cpp:54:66: note: in instantiation of function template specialization 'testing::internal::ReturnAction<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>::operator Action<android::hardware::Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult> (iauto::hardware::ucom::common::V1_0::EnCommonListenerID)>' requested here
EXPECT_CALL(mockICommon, unRegisterListener(_)).WillOnce(::testing::Return(EnCommonFuncResult::EN_COMMON_RESULT_OK));
^
system/libhidl/base/include/hidl/Status.h:200:5: note: copy constructor is implicitly deleted because 'Return<iauto::hardware::ucom::common::V1_0::EnCommonFuncResult>' has a user-declared move constructor
Return(Return &&other) = default;

给一下附言 1 的完整错误信息吧。

可能是因为 gmock 的::testing::Return 的内部逻辑吧,导致我这个地方总是会调用到 android::hardware::ReturnReturn<EnComdCommonFuncResult>。gmock 的源码我也去看了,但是太难懂了。快哭了
```cpp
template<typename T> class Return : public details::return_status {
private:
T mVal {};
public:
Return(T v) : details::return_status(), mVal{v} {}
Return(Status s) : details::return_status(s) {}

// move-able.
// precondition: "this" has checked status
// postcondition: other is safe to destroy after moving to *this.
Return(Return &&other) = default;
Return &operator=(Return &&) = default;

~Return() = default;

operator T() const {
assertOk();
return mVal;
}

T withDefault(T t) {
return isOk() ? mVal : t;
}
};
```
这是 android::hardware::Return 的源码,因为有这句 Return(Return &&other) = default;,我就不能调用拷贝构造函数了,因为被隐式删除了。

求大佬解答了
2019-10-24 12:34:59 +08:00
回复了 lyver 创建的主题 推广 1024 程序员日~今天没有 Bug! printf("Hello,Gift!")(福利贴)
分母
1 ... 21  22  23  24  25  26  27  28  29  30 ... 35  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2248 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 06:33 · PVG 14:33 · LAX 23:33 · JFK 02:33
Developed with CodeLauncher
♥ Do have faith in what you're doing.