You are not logged in.
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
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 -- :1This start X server on second screen (first is :0 ).
Last edited by xerxes_ (2022-12-08 18:14:51)
Offline
Xerxes advice is valid, but it may not be what OP needs.
]
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