← 返回命令列表

Linux command

xephyr 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start nested X server

Xephyr :1

With resolution

Xephyr -screen [800x600] :1

Full screen

Xephyr -fullscreen :1

Multiple screens

Xephyr -screen [800x600] -screen [800x600] :1

Resizable

Xephyr -resizeable :1

说明

Xephyr is a kdrive-based X server that runs as a window inside an existing X session. It creates a fully functional, isolated X display that appears as a regular window on your desktop, allowing you to run a complete X environment within it. The primary use case for Xephyr is testing and developing window managers, desktop environments, and X11 applications in a sandboxed environment. Developers can start a new window manager inside Xephyr without disrupting their current desktop session, making it safe to experiment with configurations and test changes. Xephyr supports configurable screen resolutions, fullscreen mode, multiple virtual screens, and resizable windows. It provides complete display isolation from the host X server, so applications running inside Xephyr cannot interact with the host display.

参数

-screen _WxH_
Screen size.
-fullscreen
Full screen mode.
-resizeable
Allow resize.
-no-host-grab
No keyboard grab.

FAQ

What is the xephyr command used for?

Xephyr is a kdrive-based X server that runs as a window inside an existing X session. It creates a fully functional, isolated X display that appears as a regular window on your desktop, allowing you to run a complete X environment within it. The primary use case for Xephyr is testing and developing window managers, desktop environments, and X11 applications in a sandboxed environment. Developers can start a new window manager inside Xephyr without disrupting their current desktop session, making it safe to experiment with configurations and test changes. Xephyr supports configurable screen resolutions, fullscreen mode, multiple virtual screens, and resizable windows. It provides complete display isolation from the host X server, so applications running inside Xephyr cannot interact with the host display.

How do I run a basic xephyr example?

Run `Xephyr :1` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -screen _WxH_ do in xephyr?

Screen size.