[SOLVED] Installed Debian without Desktop, want to Install Window Manager
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed Debian without Desktop, want to Install Window Manager
I have been using one debian machine to run one program, without a desktop or windows, now I want to run two programs, and want to install Tabs Window Manager (TWM) to that end. I installed TWM in the usual way, successfully, as far as I can tell, but could use a hint on how to initiate it.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,501
Rep:
Likely need to run startx from your terminal - by the way, you don't need to use a GUI to run two programs, you can initiate a second terminal by using ctrl+alt+F2, or install screen or tmux multiplexers.
If you install a GUI (xfce4, or Gnome, for example) it will normally autoboot into the GUI. But, after the install, bring up a terminal, su to root, then you can issue one of the following one time commands.
systemctl get-default This will tell you what your default boot is. Probably graphical.target.
But, if you issue the following command...
systemctl set-default multi-user.target
...you will boot to a commandline only. From there you can issue startx (may need to install xorg) and bring up your windowing system. As fatmac said, to get to another commandline even while the GUI is running, use Ctrl-ALT F2, or F3, ... F6. To get back to your GUI, CTRL-ALT F1.
systemctl set-default graphical.target This will put you back to the default. i.e. boot into the GUI
I have not yet tried your suggestions but this is just to let you know that when I entered startx, I got nothing. I forget what the response message was exactly. More later..
First, I created .xinitrc in my user home directory.
Then startx worked, but only could open an xterm.
Then I installed xorg, and startx also executed twm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.