Ubuntu

Ubuntu用户和开发人员的问答

2
16.04-引导停止于“正在等待启动的开始作业,直到引导过程完成(时间/无限制)
我的奔腾E2180、1GB RAM计算机和120GB SSD上正在运行ubuntu 16.04 LTS。我最近安装了gnome-shell进行尝试,并且有一个选项要求我在gdm3和lightdm之间进行选择。我选择了gdm3并重新启动。出现了ubuntu加载屏幕,我注意到它花的时间比平时长(大多数时候,我在几秒钟内进入登录提示)。然后我切换到tty,然后说 (2/2)[*** ]A start job is running for Hold for boot processes to finish up(5min30/no limit) 我目前暂时在Puppy Linux上,但是我想修复此问题。我能做什么?提前致谢
10 boot  16.04  gdm 

5
Virtualbox安装失败?
我最近下载了Virtualbox 5,并运行了从网站获得的.deb文件。我尝试使用MS-DOS 6.22,它附带了错误消息。 '[RTR3InitEx failed with rc=-1912 (rc=-1912) The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing '/sbin/rcvboxdrv setup' may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. where: …

2
为什么默认情况下会激活无人值守升级?
我刚刚从CentOS迁移到Ubuntu Server 16.04 LTS。当安装程序要求我进行自动更新时,我选择“否”。但是,我只是意识到默认情况下会默认激活并安装无人值守升级,因为它已自动安装了内核更新。这非常像Windows,令人失望。为什么即使在安装过程中用户没有选择,默认情况下也会启用它呢? 谢谢
10 server  apt  upgrade  lts 

4
运行初始化挂钩的Python virtualenvwrapper问题
在16.04的全新安装中,我尝试通过遵循Gerhard Burger的出色回答来安装virtualenvwrapper 。 配置完后.bashrc,只要打开终端显示 bash: /usr/local/bin/python2.7: No such file or directory virtualenvwrapper.sh: There was a problem running the initialization hooks. If Python could not import the module virtualenvwrapper.hook_loader, check that virtualenvwrapper has been installed for VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python2.7 and that PATH is set properly. 脚本位置是 $ sudo find / -name virtualenvwrapper.sh [sudo] …

1
如何调试快照?
我已经成功构建了一个可以安装在系统上的快照。 但是,它在启动时崩溃,并且我不太确定从哪里开始调试该崩溃。 调试已安装的应用程序无法启动有哪些不同的方法?
10 ubuntu-core  snap 

5
在哪里解决从“挂起”唤醒的问题?
组态: HP Elitebook 8440p:NVIDIA Corporation GT218M [NVS 3100M](rev a2) Ubuntu 16.04 从挂起中唤醒失败的症状: “电视静态” 黑屏:通过盖关闭调用暂停 白屏:通过电源按钮调用挂起 可以执行哪些测试以确定根本原因\纠正措施? 更新:驱动程序状态屏幕截图
10 16.04  suspend  wakeup 

2
启动ThinkPad时出现TPM错误6
使用引导或重新启动运行16.04的ThinkPad时4.4.0-23-generic。我看到一个简短的错误或警告,指出 TPM错误(6) 看着系统,我看到一些in不休 dmesg $ dmesg | grep -i tpm [ ] tpm_tis 00:05: 1.2 TPM (device-id 0x0, rev-id 78) [ ] tpm_tis 00:05: TPM is disabled/deactivated (0x6) [ ] tpm_tis 00:05: A TPM error (6) occurred attempting to read a pcr value [ ] ima: No TPM chip found, …
10 16.04  thinkpad  tpm 

1
使用NVIDIA驱动程序旋转外部显示器
我正在运行64位Ubuntu 16.04,并具有NVIDIA GeForce 940M图形卡(为此安装了专有的NVIDIA驱动程序)。我有一个外接显示器,我想逆时针旋转(我怀疑这很重要,但是特别是我要旋转其屏幕的Oculus Rift)。它可以在我运行的大多数游戏/程序上正常运行,但是由于无法旋转显示屏,所以我横竖了一切。 当我尝试通过运行从命令行进行操作时xrandr --output HDMI-1 --rotate left,得到以下输出:xrandr: output HDMI-1 cannot use rotation "left" reflection "none"。当我转到显示设置应用程序时,当单击“旋转”下拉菜单时,唯一的选择是“正常”,这一点显而易见。我当然在发布此文件之前做了一些研究,但是据我xrandr所做的更改后再试一遍,这是行不通的。我的xorg.conf文件如下所示(从NVIDIA X服务器设置应用程序生成): Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection Section "Device" Identifier "intel" Driver "modesetting" BusID "PCI:0@0:2:0" Option "AccelMethod" "None" EndSection Section "Screen" Identifier "intel" Device "intel" EndSection Section "Device" …

3
如何在HP ProLiant ML10 v2服务器上安装Ubuntu 16.04 LTS服务器
我最近想要一台新的Tower Server在我的办公室中运行Ubuntu 16.04 LTS Server。多年来,我已经在数十台计算机上完成了许多Linux / Ubuntu安装。我在“ HP ProLiant ML10 v2塔式服务器系统i3-4150v3 3.5 GHz 8 GB RAM 500GB SATA 7.2K”中发现了一台便宜的机器,在线价格为260美元。 从HP网站上可以看出,Ubuntu安装是受支持的配置,但是我发现一些帖子表明磁盘驱动程序可能存在问题,其中一篇帖子说没有稳定的驱动程序可用。虽然我在http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=7796450&docId=emr_na-c04622279&docLocale=en_US上找到了手册,但我在HP网站上找不到驱动程序。 我买了机器,将外部DVD驱动器连接到USB端口,将装有Ubuntu 16.04 LTS Server AMD64的DVD放入驱动器中,然后打开计算机。 经过POST序列的几个周期后,系统从DVD引导,安装正常完成,包括MBR中的GRUB安装。最后,安装弹出了DVD,并提示我开始重新引导序列到Ubuntu。 但是,当计算机尝试从HDD引导时,出现消息“非系统磁盘或磁盘错误”。

4
我是否需要安装Bumblebee for Hybrid Graphics系统才能在Ubuntu 16.04上启用Optimus?
我之所以要问这个问题,是因为我发现一些文章基本上说一些计算机已通过一些专有的图形驱动程序启用了Optimus技术,例如Ubuntu Wiki页面上的该驱动程序和pilot6中的一个驱动程序,而许多人仍在寻找安装方法。大黄蜂在互联网上。所以,我很困惑。同时,尽管我的笔记本电脑Lenovo Thinkpad P50在上面链接的文档中被列为受支持的系统,但是我没有成功安装专有的nvidia-361驱动程序(请参阅此问题),该驱动程序可以正常运行。在我的系统上。我对文件的授权有些怀疑。 谁能提供一些可靠的消息来源,证据和真实经验(或用于确认是否尚未找到成功实例的技术)来确认Ubuntu 16.04确实在本机上支持混合图形-一张集成卡和一张离散卡-不比Bumblebee差?通过简单的搜索,我还没有建立足够的信心。谢谢!

4
更新到15.10后无法从终端启动图形应用
更新到15.10后,无法从终端运行图形应用程序: xxx@xxx:~$ gksudo wireshark Invalid MIT-MAGIC-COOKIE-1 key (gksudo:5532): Gtk-WARNING **: cannot open display: :0 xxx@xxx:~$ sudo -H wireshark [sudo] password for xxx: Invalid MIT-MAGIC-COOKIE-1 key ** (wireshark:5535): WARNING **: Could not open X display Invalid MIT-MAGIC-COOKIE-1 keyFailed to connect to Mir: Failed to connect to server socket: No such file …

2
使Folder成为两个文件夹的符号链接?
我想让Ubuntu的默认音乐文件夹/home/$USER/Music像Windows中的库一样运行。本质上,它将是一个包含其他文件夹内容的虚拟文件夹。 我的理由是Rhythm Box将只观看一个文件夹中的新音乐。我所有的音乐驻留在两个文件夹/home/$USER/Dropbox/Music和/home/$USER/Dropbox/New Music。 这对于在Ubuntu的默认文件夹(文档,图片等)中显示其他Dropbox文件夹的内容也很有用。 我进行了搜索,并试图独自找到答案,但无济于事。我敢肯定有办法做到这一点;我只是想念它。 提前致谢。

6
“ google-chrome-stable取决于libstdc ++ 6(> = 4.8.0);但是:系统上的libstdc ++ 6版本是4.6.3-1ubuntu5。”
我正在尝试google-chrome-stable在全新的ubuntu 12.04安装上进行安装。我运行以下命令 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome*.deb 我收到以下错误 dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libstdc++6 (>= 4.8.0); however: Version of libstdc++6 on system is 4.6.3-1ubuntu5. google-chrome-stable depends on lsb-base (>= 4.1); however: Version of lsb-base on system is 4.0-0ubuntu20.3. dpkg: error processing google-chrome-stable (--install): dependency …

3
如何使用nvidia gfx卡在Ubuntu 14.04 LTS中启用间接GLX上下文(+ iglx)
我在中央位置运行Qt软件开发的Linux主机。 在Windows框中,我将Xming用作本地X服务器,并使用腻子连接到该Linux主机。通过这种配置,我可以在Linux主机上使用所有X(xclock,xterm)和GLX(qtcreator,gxlinfo,glxgears ...)程序。 我的主工作站是带有nvidia gfx卡的ubuntu 14.04 LTS。当我使用“ ssh -p port#-YC my.dev.host.com”通过ubuntu系统连接到linux-host时,我也可以使用所有X程序(xclock,xterm),但不能使用 GLX程序(qtcreator,gxlinfo,glxgears ...)。 据我了解到这是因为X服务器不要支持间接GLX上下文默认情况下,年轻的版本1.16。 所以我的问题是:如何在ubuntu 14.04 LTS安装中启用间接GLX上下文(X服务器和nvidida驱动程序),以使X服务器正常工作。 感谢您的任何帮助! cmks 这是glxgears的输出,可能有帮助: root@my.dev.host.com:~# LIBGL_DEBUG=verbose glxgears libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so libGL: Can't open configuration file /root/.drirc: No such file …
10 server  ssh  xorg  opengl  remote 

1
Xubuntu的gnome在线帐户(GOA)?
1)在Xubuntu中可以使用gnome-online-accounts(GOA)替代吗? 2)如果我在Xubuntu中安装gnome-online-accounts,则会引入以下依赖项 The following NEW packages will be installed: apg cracklib-runtime cups-pk-helper dconf-cli dleyna-server gir1.2-ibus-1.0 gkbd-capplet gnome-bluetooth gnome-control-center gnome-control-center-data gnome-control-center-shared-data gnome-online-accounts gnome-settings-daemon gnome-settings-daemon-schemas gnome-user-share ibus libcanberra-pulse libcheese-gtk23 libcolord-gtk1 libcrack2 libdleyna-connector-dbus-1.0-1 libdleyna-core-1.0-3 libgnome-bluetooth13 libgnomekbd-common libgnomekbd8 libgoa-backend-1.0-1 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libibus-1.0-5 libpwquality-common libpwquality1 libtelepathy-glib0 libwacom-bin libwacom-common libwacom2 mousetweaks nautilus-data realmd ubuntu-system-service 它看起来不好玩,我的问题是,您是否可以预见在Xubuntu(15.10)中安装这些依赖项会遇到任何问题?

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.