command line to GUI

Ageing memory...mine. Can someone please remind me what is the command to enter to get from the command-line interface to a GUI display using standard Raspbian?

Philip.

--
Philip Draper 

    Philip@borehamh.demon.co.uk
Reply to
Philip Draper
Loading thread data ...

Not something I've done often, but startx rings a bell.

--
Cheers, 
David 
Web: http://www.satsignal.eu
Reply to
David Taylor

Mmm. not normally because the GUI is more than X, you need to launch a window manager as well, although it coould be that startx is script that does that.

In most Linices Ive played with its something like /etc/init.d/*dm where

*dm is something like gdm for gnome display manager, or mdm for mint display manager, or xdm for xfce display manager etc etc.

Andf of course it probably isn't linked into init.d if it doesn't start automatically anyway.

Oh here is a reasonable guide

formatting link

So yes, startx works, but you have to edit stuff to make sure it works the way God intended

--
the biggest threat to humanity comes from socialism, which has utterly  
diverted our attention away from what really matters to our existential  
survival, to indulging in navel gazing and faux moral investigations  
into what the world ought to be, whilst we fail utterly to deal with  
what it actually is.
Reply to
The Natural Philosopher

Once: startx Always: sudo raspi-config, edit "3. Boot Options", sudo reboot

Reply to
A. Dumas

Thanks, everyone. startx it is.

Philip.

--
Philip Draper 

    Philip@borehamh.demon.co.uk
Reply to
Philip Draper

And if you want to run a different window manager create (or edit an existing) ~/.xinitrc and add a line exec Good for trying out different WMs.

--
Stan Barr     plan.b@bluesomatic.org
Reply to
Stan Barr

In comp.sys.raspberry-pi, Stan Barr wrote: [startx]

You can do better than that. 'startx' is a front end to xinit, which starts the X11 client and the X11 server. The client script, sometimes ~/.xinitrc and sometimes a script run by that, eg ~/.Xclients, determines the lifetime of your set-up: when the script exits, xinit will kill the X11 server.

So if you make some program the final thing run and not backgrounded, that is the one that controls when X11 exits. I like to use an xterm or xclock for that. This way I can kill, restart, replace, whatever, my window manager without leaving the X11 environment.

X11 is the most over engineered software I have ever used regularly. It has options and controls for EVERYTHING. You can have multiple xinitrc scripts for example, and call them by naming them on the startx command line.

If I don't get my framebuffer image thing working, I'll be using that method to run system:

startx ~/bin/myimagescript -image -script -options -- \ -X11 -server -options

Elijah

------ also uses xset, xmodmap, and sets resources in ~/.Xdefaults

Reply to
Eli the Bearded

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.