以 root 身份登录后运行脚本 2024-6-6 • scripts root gdm 我想在 GDM 中以普通用户身份登录后以 root 身份运行脚本。 谢谢 答案1 我将命令添加到 中~/.xprofile,因为它必须在登录后运行,并且它使用 X11。现在,它可以工作了。 相关内容 GCC 不会抛出警告并编译错误代码 Wifi 无法使用 ubuntu 16.04 最近升级 具有多个子域的电子邮件服务器 beamer 标准字体的数学符号定位错误 Bash 脚本无法识别命令(Perl 和 Python 脚本) 在我与远程服务器断开连接之前,如何成为该服务器的 root 权限?[关闭] 编辑 BIOS 后我的电脑无法正常启动 在 Debian 上我应该在哪里安装 gitosis?它能在我的开发和实时服务器上运行吗? 使用 LaTeX 中的图片环境绘制直线的问题 Outlook 2016,用于向联系人组添加成员的“选择成员”对话框不显示最近添加的联系人