You are not logged in.

#1 2022-12-08 12:57:35

chancej715
Member
Registered: 2022-12-08
Posts: 1

Running Desktop GUI in Separate TTY

Sorry if this question has been asked before, I'm having trouble finding an answer. How can I run a virtual machine with a GUI from a headless OS, perhaps in a separate TTY? I only use 3 applications that require GUI.

Offline

#2 2022-12-08 18:11:48

xerxes_
Member
Registered: 2018-04-29
Posts: 1,067

Re: Running Desktop GUI in Separate TTY

Don't know if you are using X server or Wayland, but if X server then you may copy xinitrc and xserverrc from /etc/X11/xinit/xinitrc to your home dir, modify it according to your window manager, default start apps, etc., switch to tty2 by ctrl+alt+f2, login and start second instance of X server by command startx or xinit, for example like this:

startx -- :1
xinit  -- :1
xinit startxfce4 -- :1

This start X server on second screen (first is :0 ).

Last edited by xerxes_ (2022-12-08 18:14:51)

Offline

#3 2022-12-09 11:42:13

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,269

Re: Running Desktop GUI in Separate TTY

Xerxes advice is valid, but it may not be what OP needs.

chancej715 wrote:

]
I run a virtual machine with a GUI from a headless OS

I assume the headless OS doesn't have a (working) monitor attached ?

If so, xf86-video-dummy can be used.
see https://wiki.archlinux.org/title/Xorg#M … figuration for an example .

Welcome to archlinux forums


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB