TheRaspberryPiUser
Posts: 1
Joined: Sat Dec 26, 2015 1:31 pm

startx is not working

Sat Dec 26, 2015 1:34 pm

Hi I've been trying to type startx on LXTerminal and PuTTY and I've been getting a error message
X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
Current Operating System: Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0x76690fc0 smsc95xx.macaddr=B8:27:EB:69:0F:C0 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
Build Date: 11 February 2015 09:31:17PM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.33.1
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 13:33:58 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
FATAL: Module g2d_23 not found.

Any suggestions on how to stop this? Thanks

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: startx is not working

Sat Dec 26, 2015 5:25 pm

TheRaspberryPiUser wrote:Hi I've been trying to type startx on LXTerminal and PuTTY and I've been getting a error message
X.Org X Server 1.12.4
What are you trying to make occur when you do this? Putty doesn't support ssh -X , does it? So you aren't trying to make the pi display the X desktop on your local machine, right? You want to start X on the pi and display it on the pi's display, right? Once you get this going, how are you going to interact with it? If you don't have a keyboard and mouse on the pi, you'll just have X there with no way to do anything with it. Now there might be a way around that, but it makes sense to try to understand what you want to make happen.

In any case, running X remotely like that is blocked by default in Ubuntu and I suspect also in other Debian derivatives. This is a security policy that can be changed. There may be be other issues preventing this from working too, I don't know at the moment.

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: startx is not working

Sat Dec 26, 2015 9:33 pm

The ssh login is limited to command line control. If you want a GUI control you need to be running a VNC session (VNC server on the Pi and VNC client on the remote machine).

If you run a X-server program on the remote machine (e.g. Xming on Windows) you can run a command in the ssh terminal that produces a GUI window (but NOT startx) that will show up on that remote machine. You need the 'forwarding' option set in Putty

Please clarify what you are trying to do ;)

Return to “Troubleshooting”