小编Sha*_*jna的帖子

apt-get autoremove 危险吗?

I was compiling a tool called Rejoystick so I installed a few packages and dependencies. But now I don't need it any more so I removed those packages. Running apt-get shows that I have some packages that are automatically installed and are no longer needed.

But I have a bad experience with apt-get autoremove. It broke my desktop environment when I uninstalled wine some time ago. Luckily, I had a clonezilla partition backup then, but this time, I don't …

package-management apt dpkg dependencies cinnamon

15
推荐指数
3
解决办法
6063
查看次数

How to map keyboard keys to joystick buttons using joy2key?

There isn't much documentation on the game I'm playing using WINE, and it doesn't detect a joystick. I want to use joy2key to map keyboard keys to joystick buttons, but can't figure out exactly how to use its command line interface.

joy2key -dev /dev/input/js0 -terminal
Run Code Online (Sandbox Code Playgroud)

That command shows what to press, but I can't figure out how to map the keys since the instructions are not clear.

wine gamepad joystick

11
推荐指数
2
解决办法
3万
查看次数

无法从 ubuntu 14.04 转发 X11

我正在尝试通过 ssh 隧道将 x11 流量从我的 ubuntu 14.04 转发到我局域网中的另一台 ubuntu 机器,我使用ssh -X myuser@172.16.31.2它连接到 ubuntu ssh 服务器,但当我尝试打开像歌剧这样的应用程序时,它显示

(opera:13046): Gtk-WARNING **: cannot open display:
Run Code Online (Sandbox Code Playgroud)

我在 sshd_config 文件中启用了 x11 转发和 tcp 转发,但即使我连接到本地主机来调试同样的事情仍然是同样的事情

ssh -X -v localhost

shady@shady:~$ opera

(opera:13046): Gtk-WARNING **: cannot open display:
Run Code Online (Sandbox Code Playgroud)

我不知道为什么,我在一个论坛上看到 lightdm 默认阻止 TCP,但我正在使用 gdm 甚至编辑下的标志

/etc/gdm/custom.conf
Run Code Online (Sandbox Code Playgroud)

[安全]

DisallowTcp = Flase

没有帮助我现在几乎迷路了,没有足够的线程来解决这个问题。这是我的

/etc/ssh/sshd_config

# Package generated configuration file
# See the sshd_config(5) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use …
Run Code Online (Sandbox Code Playgroud)

server ssh xorg networking x11-forwarding

3
推荐指数
1
解决办法
4190
查看次数

Ubuntu 18.04 的扩展安全维护设置

\xce\x9fut 出于好奇,\xce\x99 尝试研究如果我在 2023 年 4 月后仍然使用 Ubuntu 18.04,我有哪些选择。所以我遇到了扩展安全维护,正如我所见,它对 3 台设备免费供个人使用。我使用电子邮件登录,他们为我提供了一个令牌:

\n
sudo ua attach MYTOKEN\n
Run Code Online (Sandbox Code Playgroud)\n

在那之后:

\n
sudo ua status\n
Run Code Online (Sandbox Code Playgroud)\n

给出结果:\nsudo ua 状态输出

\n

这是否意味着我的电脑现在将获得长达 10 年的延长更新?

\n

禁用的选项有用吗?

\n

谢谢你的帮助。我已经使用 Ubuntu 很多年了,但这对我来说是新事物,所以我期待任何见解。

\n

updates security canonical-livepatch 18.04

3
推荐指数
1
解决办法
1522
查看次数