在 Ubuntu 16.04 上,我收到以下错误:
$ openconnect -v vpn.com
POST https://vpn.com/
Attempting to connect to server 1.1.1.1:443
SSL negotiation with vpn.com
Connected to HTTPS on vpn.com
Got HTTP response: HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Cache-Control: no-cache
Pragma: no-cache
Connection: Keep-Alive
Date: Mon, 22 Aug 2016 00:04:14 GMT
X-Frame-Options: SAMEORIGIN
X-Aggregate-Auth: 1
HTTP body chunked (-2)
XML POST enabled
Error: Server asked us to run CSD hostscan.
You need to provide a suitable --csd-wrapper argument.
Failed to obtain WebVPN …Run Code Online (Sandbox Code Playgroud) 在一切正常之前,但现在我不断收到
802.1x supplicant failed
Run Code Online (Sandbox Code Playgroud)
并且没有连接到网络。我可以用
sudo service network-manager restart
Run Code Online (Sandbox Code Playgroud)
但我想知道是否有办法永久解决这个问题,这样它就不会再发生了。
我尝试imagemagick通过以下方式安装软件包
sudo apt-get install imagemagick
我现在收到以下错误,如何修复它。
$ sudo apt-get install imagemagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
imagemagick is already the newest version (8:6.9.7.4+dfsg-16ubuntu2.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up install-info (6.4.90.dfsg.1-1build1) ...
/usr/sbin/update-info-dir: 2: /etc/environment: TESSDATA_PREFIX: not found
dpkg: …Run Code Online (Sandbox Code Playgroud) 自从我从 16.04 升级到 18.04 以来,我一直遇到这些奇怪的屏幕冻结。通常在播放视频或纸牌时,我的屏幕会随机挂起。虽然鼠标仍然可以工作、移动和播放音频,但屏幕只是冻结了。屏幕暂停约 5-10 秒,无法移动、单击等。但是,如果我尝试在其中一个挂起期间用鼠标执行操作,如果我用鼠标完成操作,我将看到一旦屏幕赶上结果。所以看起来一切正常,但有某种显示延迟,好像我的视频卡负载很重。
问题似乎变得更糟,而且我登录的时间越长,问题就越严重,就好像视频卡中存在内存泄漏一样。
使用 Nvidia 应用程序查看卡负载显示卡上没有过度负载、高温或内存不足。
我已经改进了性能,稍后将概述,但问题仍然存在。
该系统是一个四核 Alienware Alpha,带有 8 个内存。该卡是 Nvidia 860,带有两场内存。
我正在使用专有的 Nvidia 驱动程序 390 和(一开始)一个低延迟内核。
$ lspci -k | grep -EA3 '3D|Display|VGA'
01:00.0 VGA compatible controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
Subsystem: Dell GM107M [GeForce GTX 860M]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
$ lsmod |grep -i nvidia
nvidia_uvm 757760 0
nvidia_drm 40960 2
nvidia_modeset 1110016 8 nvidia_drm
nvidia 14340096 635 nvidia_modeset,nvidia_uvm
drm_kms_helper …Run Code Online (Sandbox Code Playgroud) 以普通用户身份执行以下操作并重新启动,仍然无法正常工作
gsettings get org.gnome.settings-daemon.peripherals.keyboard numlock-state
Run Code Online (Sandbox Code Playgroud)
上面的 root 是否得到了答案:
(process:3378): dconf-WARNING **: 14:35:23.197: failed to commit changes to dconf: Erreur lors de la génération de la ligne de commande « dbus-launch --autolaunch=0f76e53a9e0b4f1f8ddd7b2736e88499 --binary-syntax --close-stderr » : Le processus fils s’est terminé avec le code 1
gsettings get org.gnome.settings-daemon.peripherals.keyboard numlock-state
'unknown'
Run Code Online (Sandbox Code Playgroud)
下一个 ?购买新键盘仍然无法正常工作,有趣的是数学键 ???+ 有效但数字无效
在我的 GNOME + Ubuntu 系统上,Alt+Enter和Alt+ Escape+ 在窗口之间切换。
如果有的话,它们之间究竟有什么区别?
我可以使用time.time()like以秒为单位转换当前日期和时间
now = time.time()
print("the now time is ") + str(now)
Run Code Online (Sandbox Code Playgroud)
输出
the now time is 1340867411.88
Run Code Online (Sandbox Code Playgroud)
是否有任何命令可以将其更改1340867411.88为当前日期时间格式?
安装 Kubuntu 15.10 后重新启动 Kubuntu 时出现此错误:
[ 74.873008] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
Run Code Online (Sandbox Code Playgroud)
我使用内核 4.2.0-16 和 KDE 5.4.2。
当我启动、关闭和重新启动时,此错误将显示在黑色背景上。该系统工作正常后,什么也没有发生。
输出命令:
$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 19ad
Kernel driver in use: i915
Run Code Online (Sandbox Code Playgroud)
如何修复此错误?
最近,在谷歌中听说 xubuntu 后,我刚刚再次从 Windows 切换到 Linux,我喜欢它!
它快速且可靠。
但是,我想知道为什么我需要大约 1 分钟的时间来启动?
我在这个论坛和其他地方读过,大多数人都说,启动时间通常只有 20 - 30 秒
所以我做了一些研究并提出了
$ systemd-analyze blame
8.234s systemd-udev-settle.service
8.198s dev-mapper-xubuntu\x2d\x2dvg\x2droot.device
6.717s NetworkManager-wait-online.service
5.170s ufw.service
4.196s systemd-rfkill.service
4.162s NetworkManager.service
2.971s systemd-udevd.service
2.830s ModemManager.service
2.555s accounts-daemon.service
2.019s thermald.service
2.004s snapd.refresh.service
1.801s networking.service
1.790s systemd-tmpfiles-setup-dev.service
1.726s grub-common.service
1.572s systemd-journald.service
1.536s systemd-modules-load.service
1.448s irqbalance.service
1.434s lightdm.service
1.425s apport.service
1.392s keyboard-setup.service
1.377s upower.service
1.287s plymouth-start.service
1.126s lvm2-activation-early.service
1.075s ondemand.service
968ms apparmor.service
917ms gpu-manager.service
917ms polkitd.service
911ms rsyslog.service
857ms systemd-udev-trigger.service
795ms systemd-logind.service
755ms …Run Code Online (Sandbox Code Playgroud)