How do I remove desktop and use X and twm

Asked by tomdean on 2016-05-21

I have 14.04 using only X and twm. I prefer this method of interacting with the computer.

I installed 16.04 on another disk to try the desktop, etc. I do not like the desktop and prefer to use X and twm.

On 14.04, it was complicated to a configuration that started X with twm.

Are the steps to do this documented anywhere?

Tom Dean

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
tomdean
Solved:
2016-05-23
Last query:
2016-05-23
Last reply:
2016-05-22
tomdean (tomdean) said : #1

On my 14.04 system,
[code]
 init --> login
   login --> startx
     startx --> xinit
       xinit --> X
       xinit --> xterm (console)
         xterm(console) --> twm
         xterm(console) --> xterm and etc.
[\code]

What do you want to do on the remote system that needs the whole desktop? I bet there is a sleeker solution to what you are try to do.

tomdean (tomdean) said : #3

On 05/22/2016 12:58 AM, actionparsnip wrote:
> Your question #294021 on unity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/294021
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What do you want to do on the remote system that needs the whole
> desktop? I bet there is a sleeker solution to what you are try to do.
>

I do not like the desktop and all its bloat. I do very little where
point and click has any advantage.

I I prefer to operate my computer more console-like. As I said in my
post, I prefer to use X and twm, which I do on 14.04.

There must be some easy way to not start lightdm and get what I want
with startx.

Tom Dean

If you use the terminal very little, why not connect to the server via SSH.

What activities do you do on the remote system when you get connected?

tomdean (tomdean) said : #5

On 05/22/2016 11:02 AM, actionparsnip wrote:
> Your question #294021 on unity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/294021
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> If you use the terminal very little, why not connect to the server via
> SSH.
>
> What activities do you do on the remote system when you get connected?
>

A server is not involved. I am concerned with this one desktop system,
with Ubuntu 14.04 on sdb and a testing installation of Ubuntu 16.04 on
sda. The 16.04 on sda is for future upgrade. So far, 14.04 does all I
need, but, its EOL is less than 3 years away. Also, I have some minor
problems with Linux 3 and think there may be some possibility that Linux
4 is better.

More details on my use of the Linux system:
I use several xterms for development and math, pari, octave and maple.
When not in use, the xterms are iconized. I do some cross compiling for
robotics and other electronics. I currently have a couple active coding
projects and three active math problems.

I only use desktop applications for email and browsing.

Tom Dean

How do you compile your code? In a terminal?

If you want to Web browse using the other system then you can use an SSH tunnel from the client system to the remote PC then use the tunnel as a Web proxy.

tomdean (tomdean) said : #7

On 05/22/2016 12:46 PM, actionparsnip wrote:
> Your question #294021 on unity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/294021
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> How do you compile your code? In a terminal?

I use an xterm, make, gcc, etc.

>
> If you want to Web browse using the other system then you can use an SSH
> tunnel from the client system to the remote PC then use the tunnel as a
> Web proxy.
>

This discussion seems to be drifting away from the way I use this
computer. I have a desktop system, running X and twm.

The hardware for my desktop is:
   core i7, OC 4.2GHZ,
   16G RAM, 2x500G disk,
   usb kbd/mouse,
   AMD Radeon 6870.
   Networked with 7 other computers behind a firewall.

I use the keyboard, mouse, and, display attached to that system. I do
use SSH, but, for connecting to target systems, etc.

Since I use X and twm, I can run a web browser. I prefer seamonkey.

Here are the software details of my 14.04 system

   PID PPID STAT TIME COMMAND
  1566 1 Ss+ 00:00:00 /bin/login -f
  1658 1566 S+ 00:00:00 /bin/sh /usr/bin/startx
  1678 1658 S+ 00:00:00 xinit /home/tomdean/.xinitrc -- /usr/bin/X :0
  1679 1678 Rsl+ 00:04:37 /usr/bin/X :0 -auth /tmp/serverauth.VUh4xqgqnU
  1690 1678 S 00:00:00 /usr/bin/xterm -j -sk -sb -sl 1000 -fn 9x15
  1691 1690 S 00:00:00 twm
  1692 1690 S 00:00:05 xclock -digital -twentyfour -update 1
  1693 1690 R 00:00:00 /usr/bin/xterm -j -sk -sb -sl 1000 -fn 9x15
  1694 1690 S 00:00:04 /usr/bin/xterm -j -sk -sb -sl 1000 -fn 9x15
  1695 1690 S 00:00:00 /usr/bin/xterm -j -sk -sb -sl 1000 -fn 9x15
  1696 1690 Sl 00:01:16 /usr/lib/thunderbird/thunderbird -geometry
  1873 1690 Ss+ 00:00:00 bash
  1874 1695 Ss+ 00:00:00 bash
  1875 1694 Ss+ 00:00:00 bash
  1876 1693 Ss 00:00:00 bash
  2437 1875 Sl 00:01:18 /usr/local/seamonkey/seamonkey

With the out-of-the-box Ubuntu 16.04 installation, this involves 159
processes, from lightdm through xterms, thunderbird, and, firefox.

Hope this makes my situation clearer.

Tom Dean

tomdean (tomdean) said : #8

The answer is very simple.

sudo apt-get remove --purge lightdm