proxmox VE minimal 配置openbox自启动
来源:互联网 发布:怎么才能学好编程 编辑:程序博客网 时间:2024/05/18 01:37
- 添加源 :
deb http://dl.google.com/linux/chrome/deb/ stable main
添加key :
wget https://dl-ssl.google.com/linux/linux_signing_key.pub
apt-key add linux_signing_key.pub
更新并安装:
apt update - 安装openbox
apt install xorg openbox - 安装chrome
apt install google-chrome-stable - 配置root自动登陆
https://superuser.com/questions/969923/automatic-root-login-in-debian-8-0-console-onlyThe file
/etc/inittab
is not used undersystemd
any longer. If you wanted, you could installsystemv
and you would find yourself a brand newinittab
, but this would mean walking backward like crabs.You can instead edit the file
/lib/systemd/system/getty@.service
and change the lineExecStart=-/sbin/agetty --noclear %I $TERM
to
ExecStart=-/sbin/agetty --noclear -a root %I $TERM
This just follows from the agetty manual page, which states, among other things:
-a, --autologin username
Log the specified user automatically in without asking for a login name and password. The -f username option is added to the /bin/login command line by default. The --login-options option changes this default behavior and then only \u is replaced by the username and no other option is added to the login command line.
- 配置自启动应用程序
修改 root/.profile
加入以下内容
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; thenstartx /usr/bin/openbox --startup /root/start_chrome.sh&>/dev/nullfistart_chrome.sh#!/bin/bashgoogle-chrome-stable --no-sandbox- 配置root自动登陆
- proxmox VE minimal 配置openbox自启动
- debian系统下快速搭建proxmox VE
- Proxmox集群配置
- debian 8.6 jessie 安装 Proxmox VE 安装失败解决方法
- 定制 proxmox VE 4.4 , 并制作安装镜像
- proxmox VE 4.4 增加USB 重定向功能
- CentOS minimal 上安装 VirtualBox 虚拟机自启动
- Proxmox
- eclipse+ve 正确配置
- 配置vsftpd自启动
- redis配置自启动
- KVM&OpenVZ虚拟化和使用Proxmox VE进行云计算
- Proxmox VE添加网卡不认解决办法¢OS下网卡物理地址丢失后处理
- Eclipse中如何配置VE
- F5安装配置VE版本
- centos minimal 网络配置
- CentOS minimal 网络配置
- CentOS minimal 网络配置
- WordPress中Hooks入门——action使用案例
- 微信实验十六 ThinkPHP5.0用户查询分页
- STM32串口接收发送子程序
- Message一般设置
- path.resolve([from ...], to)
- proxmox VE minimal 配置openbox自启动
- Unity3D系统学习文章集合
- mongodb 数据库操作增删改查---半天学会!
- crm
- Python封装成可带参数的EXE安装包
- Navicat Premium for Mac 11.1.8 中文破解版
- 同步页面切换按钮组的实现
- Qt中用 QRegularExpression 代替QRegExp
- SpringIOC