我想手动配置互联网设置并决定从该网站寻求帮助。Ubuntu 不允许我执行第 1 步说,
X: user not authorized to run the X server, aborting
Run Code Online (Sandbox Code Playgroud)
所以我通过执行以超级用户身份登录sudo -s。然后我执行了第 1 步。突然,所有托盘图标都消失了,唯一显示的是墙纸。我无法关闭/重新启动并选择直接使用电源按钮关闭笔记本电脑。重新启动后,我遇到了以下问题,
问题 :
我正在使用 ubuntu 13.04。我怎样才能解决这个问题?
在 Unity 和 Gnome shell 下,我在 Ubuntu 中一直面临系统冻结的问题。所以我来到了 Arch。在 Arch 中,我也面临同样的问题。我在这些论坛上尝试了很多东西,但没有任何帮助。请帮我。系统不断挂起,鼠标几乎没有移动。当我按ctrl+ alt+ 时F2,需要几分钟才能进入终端,然后我可以重新启动。请帮忙。这是 dmesg 的输出:
[ 6.796717] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 6.797189] acpi device:43: registered as cooling_device9
[ 6.797336] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input7
[ 6.799421] mei_me 0000:00:16.0: irq 44 for MSI/MSI-X
[ 6.805849] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 6.806853] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20131115/utaddress-251) …Run Code Online (Sandbox Code Playgroud) I'm using Ubuntu 12.04 . If more information is needed, please tell me. I Tried some guides to cature my login screen:
How can I take a screenshot of the login screen?
http://www.howtoforge.com/how-to-take-a-screenshot-of-your-login-screen
I tried the first one, but after running:
$ sudo bash /tmp/shot.sh >/tmp/shot.xwd
Run Code Online (Sandbox Code Playgroud)
I'm getting this:
No protocol specified
No protocol specified
xwd unable to open display ':0'
Run Code Online (Sandbox Code Playgroud)
and i'm getting an xwd file in my tmp folder. running the other commands giving errors.
tried the second …
之前有人问过这个问题,但没有回答,所以我不知道在这里做什么,在切换到 Intel 以在 Nvidia X 服务器设置中节省电池电量后,当我单击它时无法再打开它什么也没做。
我的操作系统是 Ubuntu 18.04 LTS
或者可能是因为我安装了Nvidia驱动程序396。如果是这样,我不知道如何卸载它,清除Nvidia根本没有删除它。
$ inxi-MG
Machine: Device: laptop System: Dell product: Inspiron 7559 v: 1.2.8 serial: N/A
Mobo: Dell model: 0H0CC0 v: A00 serial: N/A
UEFI: Dell v: 1.2.8 date: 05/14/2018
Graphics: Card-1: Intel HD Graphics 530
Card-2: NVIDIA GM107M [GeForce GTX 960M]
Display Server: x11 (X.Org 1.19.6 ) driver: nvidia
Resolution: 960x540@59.82hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
version: 4.5 Mesa 18.0.5
Run Code Online (Sandbox Code Playgroud) 突然,我的 G9x 的车轮停止工作。其他按钮工作得很好,我什至可以通过将鼠标滚轮推到一侧或另一侧来使用鼠标滚轮左右滚动。我想知道让它再次工作的最佳方法是什么。我不想重新安装整个系统,只是为了让它重新工作。
EDIT3:终于想通了。见下文...
编辑:使用时xinput test 12我确实可以确认鼠标滚轮没有跟踪任何内容(左和右滚动被认为是按钮)。对于 也是如此xev。
EDIT2:我通过以下方式重置了 xorg:
sudo apt-get remove --purge xserver-xorg
sudo apt-get install xserver-xorg
sudo dpkg-reconfigure xserver-xorg
Run Code Online (Sandbox Code Playgroud)
没有任何影响。现在xinput test #什么都不显示,尽管鼠标仍在工作。
xinput list 显示了两个鼠标,一个用于鼠标,另一个用于滚轮,看起来像:
? Virtual core pointer id=2 [master pointer (3)]
? ? Virtual core XTEST pointer id=4 [slave pointer (2)]
? ? Logitech Logitech Illuminated Keyboard id=11 [slave pointer (2)]
? ? Logitech G9x Laser Mouse id=12 [slave pointer (2)]
? ? Logitech G9x Laser …Run Code Online (Sandbox Code Playgroud) 我试图安装 xdmx & 我做的最后一件事是删除~/.XAuthority*文件,因为我在锁定授权文件时出错。重新启动时,我发现自己在此屏幕上。
我试过了,startx但出现错误。这是输出:
xauth: error in locking authority file /home/ankesh/.Xauthority
xauth: error in locking authority file /home/ankesh/.Xauthority
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
Current Operating System: Linux mindreader 3.11.0-20-generic #34~precise1-Ubuntu SMP Thu Apr 3 17:25:07 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-20-generic.efi.signed root=UUID=a6d7d9bd-c1c4-4be9-96eb-8a54e6e71354 ro quiet splash vt.handoff=7
Build Date: 16 October 2013 04:41:23PM
xorg-server 2:1.11.4-0ubuntu10.14 (For technical support please see …Run Code Online (Sandbox Code Playgroud) 我试图在根 shell 中使用 X -configure 为我的 xserver 创建一个配置文件(在保存模式下启动 ubuntu 14.04 并选择根 shell)。但它抛出了这个错误:
(EE) 致命服务器错误:(EE) 无法创建锁定文件 int /tmp/.tX0-lock (EE) (EE) 请在http://wiki.x.org 上咨询 The X.Org Foundation 支持以获取帮助(EE)
我对 Ubuntu 比较陌生,目前正在设置一台用于专用 GPU 编程的机器。我在带有集成显卡的华硕桌面上运行 Ubuntu 16.04。可能值得注意的是,我能够在没有安装 GPU 的情况下正常运行。我已经成功安装了 CUDA 以在 Nvidia GeForce GTX Titan GK110 上运行,并将 BIOS 设置为从 iGPU 运行主显示图形。尽管如此,nvidia-smi 给了我以下读数:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26 Driver Version: 375.26 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX TITAN Off | 0000:01:00.0 Off | N/A |
| 30% 40C P8 14W / 250W | 216MiB / 6082MiB | 0% Default …Run Code Online (Sandbox Code Playgroud) 在 NVIDIA X 服务器设置中,它显示:Failed to set new Fan Speed
从终端我尝试了以下命令:
nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60
Run Code Online (Sandbox Code Playgroud)
这显示了错误:
Attribute 'GPUFanControlState' (GTX1660:1[gpu:0]) assigned value 1.
ERROR: Error assigning value 60 to attribute 'GPUTargetFanSpeed' (GTX1660:1[fan:0]) as specified in
assignment 'GPUTargetFanSpeed=60' (Unknown Error).
ERROR: Error assigning value 60 to attribute 'GPUTargetFanSpeed' (GTX1660:1[fan:1]) as specified in
assignment 'GPUTargetFanSpeed=60' (Unknown Error).
Run Code Online (Sandbox Code Playgroud)
nvidia-smi细节:
Wed Jun 1 11:49:20 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05 Driver Version: 510.73.05 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| …Run Code Online (Sandbox Code Playgroud) 我有一台运行网络服务器的一体机。由于它的显示一直处于开启状态,我想知道如何使用它来并行显示网站,例如网络服务器的状态页面https://localhost/my/status/page并定期刷新它。
因为我不希望任何人能够使用这个浏览器窗口浏览互联网,所以它需要是非交互式的,即不响应鼠标和键盘。是否存在可以启动浏览器的非交互式 X 会话之类的东西?
如果有人可以通过击键终止会话,那也没关系,我只想防止使用会话浏览或打开其他程序。
xserver ×10
nvidia ×4
12.04 ×2
drivers ×2
xorg ×2
20.04 ×1
boot ×1
browser ×1
capture ×1
compiz ×1
fan ×1
gnome ×1
gpu ×1
integrated ×1
kernel ×1
login ×1
login-screen ×1
logitech ×1
mouse ×1
mouse-scroll ×1
mouse-wheel ×1
screenshot ×1
tty ×1
webserver ×1