![]() (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. Thanks for all the suggestions so far guys.Once 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. Any use in removing both then starting with just XMing? (Since it had an option to install a special version of PuTTY with it.) I first installed PuTTY, then downloaded XMing. My 'X Display Location is set to Localhost:0, so I'll retry it tonight using your settings. This is what I've been trying, and I get the cannot open display error. Make sure Xming is running on the PC, then type the X program followed by "&" this runs the program in a background process, returning control to the command line so you can launch more programs. Before connecting, select the Connection / SSH / X11 options on the left menu, tick the "Enable X11 forwarding" box and set the "X display location" to localhost:0.0 - now connect and login. You cannot run startx to get the desktop for that you need VNC, RDP or another connection. In fact, if you are running multiple monitors on your PC you can put Pi windows across the monitors. SimonSmall wrote:You can run X programs using X11 forwarding over SSH, not a problem to set up at all, and it works very well.
0 Comments
Leave a Reply. |