在终端执行 gnome-session-properties,点击添加自己的脚本或执行文件,便可以在用户登录后自动执行。

ubuntu bios启动 ubuntu 启动gui_用户登录