AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-111016

Mehran's questions

Martin Hope
Mehran
Asked: 2019-12-23 19:56:20 +0800 CST

在登录屏幕中摆脱 libvirt-qemu 用户

  • 3

我刚刚kvm在我的 Kubuntu 18.04 上安装了一个新用户,并在我的登录屏幕上列出了一个新用户。显然,这是一个老错误。这里和那里的一些帖子建议我应该创建这个文件:

/var/lib/AccountsService/users/libvirt-qemu

包含以下内容:

[User]
SystemAccount=true

我做了。但它并没有解决问题。用户仍显示在登录屏幕上。还有一件事,在我创建文件之前,我在我的系统设置中将该用户列为普通用户。创建文件后,用户不再在用户管理器中列出。所以文件已经做了一些事情,但一直通过。

还有什么我可以尝试的吗?

kubuntu kvm user-management
  • 1 个回答
  • 504 Views
Martin Hope
Mehran
Asked: 2019-08-27 05:36:11 +0800 CST

当我在 BIOS 中切换到 iGPU 时,出现黑屏而不是登录屏幕

  • 1

根据新获得prime-select的仅适用于笔记本电脑的知识,并且为了将显卡切换为台式机,我必须去 BIOS 并在那里切换,这就是我所做的:

  1. 在启动序列中,我按下DEL键加载 BIOS 页面。
  2. 因为我有华硕主板,所以我去了高级模式>高级> 系统代理配置>图形配置
  3. 然后我选择iGPU作为我的主显示器而不是Auto(我没有触摸Multi Monitor)

完成这些步骤后,我保存并重新启动。然后在我的 HDMI 连接到集成显卡时显示启动顺序(如果它连接到独立显卡,则不显示任何内容)。一切似乎都很好,直到它进入操作系统的登录屏幕并且它只显示一个黑色。

我在这里想要实现的是使用我的 Nvidia 显卡仅用于处理(Cuda)和我的集成显卡用于显示。我正在使用带有 Nvidia 驱动程序 430 的 Kubuntu 18.04。

顺便说一句,如果我完全断开独立显卡,一切正常(老实说,我没有选择iGPU进行测试,仅使用Auto)。

graphics intel-graphics
  • 1 个回答
  • 959 Views
Martin Hope
Mehran
Asked: 2019-08-26 20:30:36 +0800 CST

即使禁用了安全启动,Nvidia 驱动程序也不会加载

  • 0

我安装了 Kubuntu 18.04,并且一直在玩我的 Nvidia 驱动程序(我承认)。我的意思是,我已经安装了 Nvidia 驱动程序 430 并且可以完全正常工作。但是由于我无法使 Nvidia PRIME 工作,我卸载了驱动程序并重新安装了它。我相信我已经做过几次了(也许太多次了)。

无论如何,我上次安装驱动程序时,它就像之前的任何时候一样工作。但是在重新启动后,分辨率现在锁定在相当低的位置。在网上搜索了一下,我发现这可能意味着驱动程序没有正确加载。我需要禁用安全启动。但是后来,我记得我以前做过这个,实际上每次启动系统时,在 grub 菜单之前,它都会显示Booting in insecure mode. 尽管如此,我还是按照这篇文章的说明进行操作,但是当然,您不能禁用已经禁用的东西!

为您提供更多信息:

$ sudo lshw -c display
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: GP102 [GeForce GTX 1080 Ti]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff

有谁知道如何正确安装我的 Nvidia 驱动程序?

drivers nvidia graphics secure-boot
  • 1 个回答
  • 230 Views
Martin Hope
Mehran
Asked: 2018-09-10 06:11:04 +0800 CST

升级了VMWare,现在我无法运行猜测机

  • 0

今天我在启动时使用对话框窗口升级了我的 VMWare,建议既然有一个新版本,我应该升级。这样做,现在我无法启动任何虚拟机。我面临错误:

Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.

在网上搜索可能的解决方案,我发现了这个:

sudo vmware-modconfig --console --install-all

运行上述命令会导致:

[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
make: Entering directory '/tmp/modconfig-pLicGV/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.15.0-33-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic'
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86msr.h:129:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
                 from ./arch/x86/include/asm/paravirt.h:10,
                 from ./arch/x86/include/asm/irqflags.h:65,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:606:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from ./arch/x86/include/asm/processor.h:5:0,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/task.c:70:
./arch/x86/include/asm/processor-flags.h:39:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/task.c:53:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86_basic_defs.h:78:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK  0xFFF

In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:92,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/task.c:70:
./arch/x86/include/asm/msr-index.h:606:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.h:32:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/task.c:51:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86msr.h:129:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES            0x140

In file included from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:5:0,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-pLicGV/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-pLicGV/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-pLicGV/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-pLicGV/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoader.o
  CC [M]  /tmp/modconfig-pLicGV/vmmon-only/bootstrap/bootstrap.o
In file included from /tmp/modconfig-pLicGV/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86msr.h:129:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
                 from ./arch/x86/include/asm/paravirt.h:10,
                 from ./arch/x86/include/asm/irqflags.h:65,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-pLicGV/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:606:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm.h:43:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86msr.h:129:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
                 from ./arch/x86/include/asm/paravirt.h:10,
                 from ./arch/x86/include/asm/irqflags.h:65,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:606:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

/tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_AllocMPN() falls through to next function MonLoaderCallout_MapMPNInPTE()
/tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_FillPage() falls through to next function MonLoaderCallout_CopyFromBlob()
/tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_CopyFromBlob() falls through to next function MonLoaderCallout_GetSharedUserPage()
/tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_GetSharedHostPage() falls through to next function MonLoaderCallout_IsPrivileged()
/tmp/modconfig-pLicGV/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: .text: unexpected end of section
In file included from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF

In file included from ./arch/x86/include/asm/irqflags.h:5:0,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:39,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-pLicGV/vmmon-only/./common/vmx86.h:32:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/driver.c:47:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86msr.h:129:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140

In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:92,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:606:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86.h:41:0,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm_x86_64.h:40,
                 from /tmp/modconfig-pLicGV/vmmon-only/./include/vm_asm.h:46,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/driver.c:49:
/tmp/modconfig-pLicGV/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
 #define CR3_PCID_MASK  0xFFF

In file included from ./arch/x86/include/asm/processor.h:5:0,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-pLicGV/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull

/tmp/modconfig-pLicGV/vmmon-only/linux/driver.c:985:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-pLicGV/vmmon-only/common/vmx86.o: warning: objtool: Vmx86EnableHVOnCPU() falls through to next function Vmx86GetMSR()
/tmp/modconfig-pLicGV/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x44e: indirect call found in RETPOLINE build
/tmp/modconfig-pLicGV/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
  LD [M]  /tmp/modconfig-pLicGV/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-pLicGV/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-pLicGV/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-pLicGV/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-pLicGV/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-pLicGV/vmmon-only'
make: Entering directory '/tmp/modconfig-pLicGV/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.15.0-33-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic'
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/vnetEvent.o
In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-pLicGV/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2261:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE  0x15ad

In file included from /tmp/modconfig-pLicGV/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-pLicGV/vmnet-only/netif.c:42:
/tmp/modconfig-pLicGV/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE                    0x15AD

In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-pLicGV/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2262:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /tmp/modconfig-pLicGV/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-pLicGV/vmnet-only/netif.c:42:
/tmp/modconfig-pLicGV/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

  CC [M]  /tmp/modconfig-pLicGV/vmnet-only/vnetUserListener.o
In file included from /tmp/modconfig-pLicGV/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-pLicGV/vmnet-only/bridge.c:53:
/tmp/modconfig-pLicGV/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE                    0x15AD

In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-pLicGV/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE  0x15ad

In file included from /tmp/modconfig-pLicGV/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-pLicGV/vmnet-only/bridge.c:53:
/tmp/modconfig-pLicGV/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0

In file included from ./include/linux/pci.h:37:0,
                 from /tmp/modconfig-pLicGV/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-pLicGV/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

  LD [M]  /tmp/modconfig-pLicGV/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-pLicGV/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-pLicGV/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-pLicGV/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-pLicGV/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-pLicGV/vmnet-only'
Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done
Unable to start services

我正在使用带有内核版本 4.15.0-33-generic 的Kubuntu 18.04。

[更新]

$ lsmod | grep vmmon
$ sudo modprobe vmmon
modprobe: ERROR: could not insert 'vmmon': Required key not available
vmware kubuntu
  • 1 个回答
  • 1054 Views
Martin Hope
Mehran
Asked: 2018-02-24 17:42:25 +0800 CST

是否有等效于退出命令的热键?

  • 1

我必须ssh定期使用,我想在关闭窗口之前退出每个终端。这意味着我必须执行exit多次。我想知道是否有一个热键?我知道Ctrl++Shift会q关闭终端,但事实并非如此exit。

command-line ssh
  • 1 个回答
  • 189 Views
Martin Hope
Mehran
Asked: 2015-05-25 23:08:27 +0800 CST

当 nslookup 尝试解析地址时,为什么不查询我的 /etc/hosts 文件?

  • 23

127.0.0.1我的文件中有几个本地域已解析/etc/hosts。一段时间内一切正常,但现在当我跑步时:

nslookup test.local

结果是:

Server:     192.168.1.3
Address:    192.168.1.3#53

** server can't find test.local: NXDOMAIN

这192.168.1.3是我们的网络 DNS,它不应该知道我的本地域test.local。经过几次搜索后,我发现该/etc/nsswitch.conf文件包含有关要查询的 DNS 源优先级的信息。但是那里没有问题!这是我的:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

那么有谁知道为什么我的hosts文件没有包含在 DNS 查找中?

dns
  • 3 个回答
  • 81387 Views
Martin Hope
Mehran
Asked: 2015-05-25 22:38:22 +0800 CST

resolv.conf 中的名称服务器 127.0.1.1 不会消失!

  • 63

我读过只有当我的机器有自己的 DNS 服务器时我才应该nameserver 127.0.1.1在我的文件中。/etc/resolv.conf因为它没有,拥有它​​会导致问题。但无论我做什么我都无法摆脱它!

以下是我到目前为止所做的事情:

  1. 添加nameserver 192.168.1.3到/etc/resolvconf/resolv.conf.d/base文件。(192.168.1.3 是我们网络的 DNS)。
  2. 运行:sudo resolvconf --enable-updates。
  3. 运行:sudo resolvconf -u。
  4. 运行:(sudo service network-manager restart只是为了确定)。

然而,当我打开/etc/resolv.conf文件时,它说:nameserver 127.0.1.1!有谁知道出了什么问题?

请注意,它实际上是127.0.1.1!我不知道为什么不是127.0.0.1!

即使当我/etc/resolv.conf手动更新并将其更改为其他任何内容时,sudo resolvconf -u也会将其恢复为127.0.1.1!这个地址来自哪里?

14.04
  • 4 个回答
  • 95182 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve