![]() Run-level 1 Single-user mode - Mode for administrative tasks. Run-level 0 Halt - Shuts down the system. After you login, you can run the command startx and the xsession will start in tty7 if it is not already running and tty8 if tty7 is already running an xsession. Tty1 - tty6 are text sessions and you can login with your username and password on one of these screens. Tty2 is the user interface that exists at ctrl + alt + f2. Tty1 is the user interface that exists at ctrl + alt + f1. Tty7 is the user interface that exists at ctrl + alt + f7 (default xsession). You are receiving this error because the xsession is already started and you are trying to execute the command from inside the xsession on tty7. Startx starts the xsession or the graphical interface where you see a login screen and anything more than just an ascii console (text session). So I did most of my work (editing C, LaTeX and similar files) in console mode, and switched to the graphic environment only when really needed. It was painfully slow in the (B&W!) graphic interface, but snappy in the console. (2) For example, I had a laptop with 256k of RAM. So do not use gnome-shell or unity or modern things when doing this experiments, or you could mess up your configuration. Notice: modern desktop environments are not designed to run simultaneously, for the same user, in two different consoles. ![]() and if you feel really adventurous, you can start a native session on another virtual console (read the other answers) by going to one of them with Ctrl-Alt-F1, loggin in, and startx ~/test (You can have the menu by clicking on the "Xnest" desktop). and you have a 80ies workstation screen: Startx ~/test - /usr/bin/Xnest -ac :1 -geometry 800圆00 ![]() As I said, most new systems do not have sensible defaults for startx alone.). Sudo apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi-transcoded xfonts-75dpiī) write this file somewhere, for example in you home dir, and call it ~/test: #!/bin/bashĬ) Run (notice: startx is normally run with first the client command, then a double dash, and then a server command. Fvwm is a very simple window manager which was very popular back then. ![]() Xnest is a graphic server-within-a-server, a kind of server that will open as a window in your normal system. If you want to experiment and the feel the good old times, the best thing is doing the following:Ī) install Xnest and fvwm. Modern systems are thought from the bottom up to have a graphical system running all the time, so no one has probably checked the working of startx for ages - that explains a lot of strange behavior you can have. By default the commands that are run are in ~/.xinitrc file in your home directory, or some generic system file otherwise. Startx basically runs an Xserver (the graphical "driver") and a command which run on it, which is typically a window manager. So when you needed a graphical interface you just started it with startx (2). Most Unix computers were used for scientific computations and simulation in multi-user environments, and the graphic interface running on them would reduce the memory and CPU power available to them. GET /cookielogin/comment.php?c=If+ upon a time(1), when the memory of the computers was measured in kilobytes and the disks in megabytes, running the graphic interface all the time was considered harmful. GET /cookielogin/messageboard.php HTTP/1.0 131 requests/sec - 136.9 kB/second - 1.0 MB/request 3 requests currently being processed, 7 idle workers _W_.K_.K_. Generation: 119 Parent Server MPM Generation: 118 Server uptime: 118 days 13 hours 42 minutes 52 seconds Server load: 1.07 0.88 0.87 Total accesses: 1337549 - Total Traffic: 1337.2 GB CPU Usage: u415.56 s27 cu.01 cs.01. Apache Status Apache Server Status for ad. (via 198.199.94.12) Server Version: Apache/2.4.18 (Ubuntu) Server MPM: prefork Server Built: T12:32:26Ĭurrent Time: Wednesday, 1 02:45:19 PDT Restart Time: Wednesday, 1 12:02:26 PST Parent Server Config.
0 Comments
Leave a Reply. |