Article 5QP5P twm does not start in ubuntu 20.04 on vbox

twm does not start in ubuntu 20.04 on vbox

by
MALDATA
from LinuxQuestions.org on (#5QP5P)
I'm trying to set up a minimal VM in virtualbox, so I installed from the server image and then just installed twm and xorg-server (along with their dependencies).

It's been a while since I did this (on Arch, not on Ubuntu), but as I recall, I basically just had to copy the default xinitrc file, then add twm in there. So, the resulting ~/.xinitrc is

Code:#!/bin/sh
. /etc/X11/Xsession
twm &
exec xterm -geometry 80x60+0+0Afterward, if I run startx as my normal user, X starts and terminates (successfully!) immediately. It doesn't look like there are any errors in the log. However, it returns immediately, and twm never seems to actually run.

If I then install openbox and remove my custom ~/.xinitrc, startx correctly starts X and enters an openbox session. I then put my xinitrc back in place, which should have just returned immediately as it did before, but now it still runs openbox (not twm). It almost seems like my ~/.xinitrc file isn't being used at all. If that's true, how do I start twm?

Can anyone help me get to a working twm configuration? Thanks!latest?d=yIl2AUoC8zA latest?i=Nw0ikSYUHJw:k6iVLJE4OUI:F7zBnMy latest?i=Nw0ikSYUHJw:k6iVLJE4OUI:V_sGLiP latest?d=qj6IDK7rITs latest?i=Nw0ikSYUHJw:k6iVLJE4OUI:gIN9vFwNw0ikSYUHJw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments