Xephyr (简体中文)
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Xephyr 以一个 X 应用的方式运行一个嵌套的 X 服务器。
安装
xorg-server-xephyr 已收录于官方仓库中。可以用 pacman 安装。
运行
如果希望运行一个嵌套的 X 窗口,你需要指定一个 DISPLAY。
$ Xephyr -br -ac -noreset -screen 800x600 :1
这样将会启动一个新的 Xephyr 窗口,这个窗口的 DISPLAY 序号是“:1”。为了在这个窗口里运行一个应用,你需要明确指定这个 DISPLAY:
$ DISPLAY=:1 xterm
如果想启动其他窗口管理器(例如 spectrwm ),则输入:
$ DISPLAY=:1 spectrwm
也可以通过 startx 命令让 Xephyr 使用你的 xinitrc :
$ startx -- /usr/bin/Xephyr :1