Problems with Xorg/Openbox - RasPi

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

Problems with Xorg/Openbox - RasPi

Postby Ali3n0id » Sun Aug 03, 2014 12:11 pm

Hi all I'm completely new to Arch but have been recommended it by several people who say it performs better than raspbian.

Basically I have installed Xorg and all the dependencies as well as openbox and SLim. However when I try to login through Slim I get 'Failed to execute logon command'

I can ssh to the device now but 'startx' produces:

$this->bbcode_second_pass_code('', '[pi@alarmpi ~]$ sudo startx
[sudo] password for pi:


X.Org X Server 1.16.0
Release Date: 2014-07-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.4.76-1-ARCH armv6l
Current Operating System: Linux alarmpi 3.12.25-1-ARCH #1 PREEMPT Tue Jul 29 21: 47:49 MDT 2014 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbhe ight=984 bcm2708.boardrev=0x10 bcm2708.serial=0xd3c43150 smsc95xx.macaddr=B8:27: EB:C4:31:50 bcm2708.disk_led_gpio=47 bcm2708.disk_led_active_low=0 sdhci-bcm2708 .emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 ipv6.disable=1 avoid_safe_mode=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mo de=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=t ty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait
Build Date: 31 July 2014 07:14:27AM

Current version of pixman: 0.32.6
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.1.log", Time: Sun Aug 3 05:54:45 2014
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: FATAL: Module g2d_23 not found.
modprobe: FATAL: Module mali not found.
modprobe: FATAL: Module mali_drm not found.
modprobe: FATAL: Module sunxi_cedar_mod not found.
SunxiMaliDRI2_Init: drmOpen failed!
/root/.xinitrc: line 1: exec: ck-launch-session: not found
xinit: connection to X server lost

waiting for X server to shut down (EE) Server terminated successfully (0). Closi ng log file.

')


Another thing that is not working properly is 'xrdp', I have to manually start xrdp with 'sudo xrdp' for the service to start but when I login through Xvnc nothing displays I am guessing that it's because X isn't set up properly yet.
Ali3n0id
 
Posts: 9
Joined: Sun Aug 03, 2014 12:03 pm

Re: Problems with Xorg/Openbox - RasPi

Postby pepedog » Sun Aug 03, 2014 12:29 pm

You don't have a mali graphics chip, remove packages that start xf86-video
Find them with pacman -Qs xf86-video
Install xf86-video-fbdev and xorg-xinit
Configure xinitrc first https://wiki.archlinux.org/index.php/Startx
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Problems with Xorg/Openbox - RasPi

Postby Ali3n0id » Sun Aug 03, 2014 2:53 pm

Okay thanks pepedog, just what I was looking for.

I 'sudo pacman -Rns xf86-video-fbturbo-git' and the other video packages I didn't need and uncommented openbox in ~/.xinitrc

Now I can run startx into openbox, now I'm guessing I need to install a desktop environment...

Also, incidently any reason why xrdp won't work when I try to remote desktop from a windows machine

It just sits at 'connecting to sesman ip 127.0.0.1 port 3350'
Ali3n0id
 
Posts: 9
Joined: Sun Aug 03, 2014 12:03 pm

Re: Problems with Xorg/Openbox - RasPi

Postby pepedog » Sun Aug 03, 2014 3:47 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Problems with Xorg/Openbox - RasPi

Postby Ali3n0id » Sun Aug 03, 2014 7:57 pm

No I have installed it already and run 'sudo xrdp' to start the service. When I connect however it still doesn't load X.
Ali3n0id
 
Posts: 9
Joined: Sun Aug 03, 2014 12:03 pm

Re: Problems with Xorg/Openbox - RasPi

Postby pepedog » Sun Aug 03, 2014 8:15 pm

Doesn't mention sudo xrdp in the wiki
systemctl start xrdp
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 3 guests