Ubuntu

Ubuntu用户和开发人员的问答

1
在Ubuntu 17.10上使用NVIDIA Optimus
我有一台要使用GeForce 940MX的笔记本电脑。不幸的是,在“其他驱动程序”下安装官方的nvidia驱动程序并从Wayland还原到x11并不能解决问题。如果我尝试使用首选的nvidia,则在“设置”下,图形选项将变为“未知”。 我应该使用大黄蜂吗?是否有人成功激活了Ubuntu 17.10上的nvidia设置? 谢谢!

4
如何找到负载最高的进程?
我有一个单核VPS,其平均负载有时会超过25。当达到该值时,它变得难以忍受的缓慢,甚至命令通过运行dash,速度也更快,并且比bash占用更少的RAM ,要花一些时间才能运行。如何跟踪导致高负载的进程?

1
在Ubuntu 17.10(Wayland Session)中录制屏幕,麦克风和网络摄像头
我想在Ubuntu 17.10中记录我的屏幕,音频和网络摄像头。 我尝试了以下软件(从该线程如何记录屏幕?): gtk-recordmydesktop:缺少网络摄像头支持 xvidcap:缺少网络摄像头支持 卡扎姆:不会开始 简单的屏幕录像机:缺少网络摄像头支持 VOKOSCREEN:仅记录黑屏 Tibesti:缺少网络摄像头支持 VLC:缺少网络摄像头支持,根本无法记录 OBS:将不会启动 ScreenStudio:无法启动 有什么好的软件建议吗? 经过一番挖掘,我发现如果我在X Server而非Wayland中启动Ubuntu 17.10,则Vokoscreen可以满足我的要求。

2
查找命令后使用连接器
我希望我的bash仅使用find命令在发现某些内容时打印“找到”。但是使用&&并没有帮助:即使什么也没找到,我还是会被“发现”打印出来。例: $ pwd /data/data/com.termux/files/home/test/test1/test4 $ ls xaa xab $ find . -name xac && echo 'found' found $ find . -name xaa && echo 'found' ./xaa found

1
Ubuntu 17.10将不接受静态IP
我的Ubuntu服务器将不接受我的静态IP分配。相反,我一直在获取DHCP租约。未安装网络管理器。以下是cat / etc / network / interfaces的输出 # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.128 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 192.168.1.120 192.168.1.125 dns-domain mynetwork.local dns-search mynetwork.local ip addr的输出 问题: Ubuntu为什么不接受静态IP分配?接口文件似乎被忽略了。 什么允许分配DHCP租约?
10 networking  17.10 

1
Ubuntu 17.10 Java 8证书错误
我重新安装了Ubuntu 17.10,并在其中安装了oracle-java8-installer软件包(来自PPA)。 但是,当我尝试使用“ ionic cordova build android”编译一个离子项目时,会引发以下错误: Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916) at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1899) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1420) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at org.gradle.wrapper.Download.downloadInternal(Download.java:60) at org.gradle.wrapper.Download.download(Download.java:45) at org.gradle.wrapper.Install$1.call(Install.java:62) …
10 java  compiling  17.10 

1
在新任务栏图标上混淆并在Ubuntu 17.10 gnome中停靠
据我了解,Ubuntu默认使用这种扩展的派生形式:https : //extensions.gnome.org/extension/615/appindicator-support/ 有点让我感到困惑:在Gnome Tweak中,尽管打开了Ubuntu Dock和Ubuntu指示符,但它们仍显示为“关闭”。这是Tweak中的错误吗?还是因为特殊的Ubuntu会话? 使用默认值,“ appindicators”很小,但是使用适当的appindicator扩展名,它们稍大一些,并且看起来更好。为什么Ubuntu会话在托盘中显示微小图标? 注意,这个问题也注意到了小图标的问题:Ubuntu 17.10小托盘图标 该问题还指出,尽管显然处于启用状态,但扩展在Ubuntu会话上显示为已禁用:升级到Ubuntu 17.10后,顶部栏中缺少图标。 这与丢失图标无关。
10 gnome  icons  17.10 


3
Ubuntu 17.10自然滚动
我刚刚从Ubuntu 17.04更新。自然滚动未激活,因此我在“设置”->“设备”->“鼠标和触摸板”中将其打开。但是仍然无法正常工作...我该怎么办?
10 17.10 

4
无法启动google-chrome-stable。摆脱过时的NSS(Libnss3)
我似乎无法打开google-chrome-stable。当我尝试启动该应用程序时,我得到以下信息: [7465:7499:0911/174740.042852:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted 我已经运行以下命令进行修复: sudo apt-get-upgrade sudo apt-get dist-upgrade sudo apt-get update sudo apt-get install libnss3 (这就是说我有最新版本。) 这是我跑步时得到的sudo apt-cache policy libnss3: libnss3: Installed: 2:3.19.2.1-0ubuntu0.15.04.2 Candidate: 2:3.19.2.1-0ubuntu0.15.04.2 …

1
为什么要避免对/和/ home使用不同的文件系统?
如前所述这里 可以在同一磁盘上为Linux系统文件和主文件建立两个分区,但是它们应该都是相同的文件系统。 现在,在我的一台机器上,我正在运行以这种方式分区的Ubuntu Gnome 16.04 LTS: 10GB / ext4 482GB /家庭XFS 而且我完全没有遇到任何问题。实际上,它似乎比“完整的” ext4分区方案运行得更流畅。那怎么办?有人可以帮我照耀一下吗?谢谢。


1
无法通过Ubuntu软件进行安装-“ apt事务返回结果退出失败”
我使用的是17.04(全新安装),据我所记得,每次尝试安装任何软件都失败,并显示该错误代码。 我尝试过sudo apt-get update && apt-get upgrade,问题仍然存在。 知道为什么吗? 编辑:使用软件更新程序可以得到以下结果: 编辑:更新的输出 guy@LG-LAPTOP:~$ sudo apt-get update && apt-get upgrade [sudo] password for guy: Ign:1 http://il.archive.ubuntu.com/ubuntu zesty InRelease Ign:2 http://il.archive.ubuntu.com/ubuntu zesty-updates InRelease Ign:3 http://il.archive.ubuntu.com/ubuntu zesty-backports InRelease Err:4 http://il.archive.ubuntu.com/ubuntu zesty Release 503 Service Unavailable Get:5 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB] Err:6 http://il.archive.ubuntu.com/ubuntu zesty-updates Release …


3
无法连接到WPA2 Enterprise PEAP网络
我知道还有大约十二个这样的问题,但到目前为止,没有一个问题对我有帮助。 我的学校使用没有证书的WPA2 Enterprise PEAP / MSCHAPv2网络(我是从没有问题的Windows笔记本电脑确定的)。我正在尝试连接Ubuntu 16.04 LTS计算机(这几乎是全新安装)。 不幸的是,这是不成功的。它尝试连接一段时间,然后显示一个用户名/密码重新输入对话框。如果您点击提交,它将再次失败并重新备份。 下面显示了设置和不断出现的消息: 以下是/ etc / NetworkManager / system-connections /条目: [connection] id=tusd-students uuid=d815af85-42ad-49b2-b207-1db6359e8c9a type=wifi permissions=user:ashwin:; secondaries= [wifi] mac-address={my mac address} mac-address-blacklist= mac-address-randomization=0 mode=infrastructure seen-bssids= ssid=tusd-students [wifi-security] auth-alg=open group= key-mgmt=wpa-eap pairwise= proto= [802-1x] altsubject-matches= eap=peap; identity={my username} password={my password} phase2-altsubject-matches= phase2-auth=mschapv2 [ipv4] dns-search= method=auto …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.