Active Topics

 


Reply
Thread Tools
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#61
Originally Posted by preflex View Post
I got pulseaudio working.
It was kind of tricky, and was muted by default.
I'll have to figure out what exactly I did, but here's an overview.

I created a user "nemo" inside the chroot, and changed his UID and GID each to 100000. I may have also added nemo to some groups. I'm not sure what actually stuck. systemd is weird.

you'll need the "xorg-xhost" package. "pavucontrol" may also be handy for looking at pulseaudio stuff, if you're unfamiliar with pacmd or pactl.


There was some extra stuff to mount:
/run
/var/lib/dbus
/tmp
/home/nemo/.config/pulse

then chroot in, set environment vars, and start kwin_wayland.

after that,
Code:
export DISPLAY=:0
xhost +
Then it gets a little weird.
Code:
sudo -u \#100000 bash
to get a shell as "nemo".

Then,
Code:
export $(dbus-launch)
export XDG_RUNTIME_DIR=/run/user/100000
export DISPLAY=:0
startlxde
Then, I unmuted the device in pavucontrol.

I was also able to get a full plasma session running in the xwayland window, but it was slow, and I couldn't disable desktop effects which were making everything even slower (using xrender, I imagine).

Still no luck running kwin_wayland --xwayland as anyone other than root.
Hi,

How to created a user "nemo" inside the chroot, and changed his UID and GID each to 100000 please? in command line please

I have installed "xorg-xhost" and "pavucontrol" packages. It's OK for that.
What is the package name for pulseaudio?
Or what you install from your part? to enable audio and how to do it?

Stuff to mount like that?

mount --bind /run run
mount --bind /var/lib/dbus var/lib/dbus
mount --bind /tmp tmp
mount --bind /home/nemo/.config/pulse home/nemo/.config/pulse


How to set environment vars?

Can you help me in these error please?

I would like to have full command line please?

Code:
SailfishOS 2.1.0.9 (Iijoki) (armv7hl)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# cd Manjaro/
[root@Sailfish Manjaro]# mount --bind /dev dev
[root@Sailfish Manjaro]# mount --bind /sys sys
[root@Sailfish Manjaro]# mount --bind /proc proc
[root@Sailfish Manjaro]# mount --bind /dev/pts dev/pts
[root@Sailfish Manjaro]# mount --bind /run run
[root@Sailfish Manjaro]# mount --bind /var/lib/dbus/ var/lib/dbus
[root@Sailfish Manjaro]# mount --bind /tmp tmp
[root@Sailfish Manjaro]# mount --bind /home/nemo/.config/pulse/ /home/nemo/.con
fig/pulse/
[root@Sailfish Manjaro]# chroot ./
sh-4.4# export DISPLAY=:0
sh-4.4# xhost +
xhost:  unable to open display ":0"
sh-4.4# sudo -u \#100000 bash
[I have no name!@Sailfish /]$ export $(dbus-launch)
Could not get password database information for UID of current process: User "?
??" unknown or no memory to allocate password entry

Failed to start message bus: Memory allocation failure in message bus
EOF in dbus-launch reading address from bus daemon
declare -x DISPLAY=":0"
declare -x HOME="/"
declare -x HOSTNAME=""
declare -x LANG="fr_FR.utf8"
declare -x LOGNAME="#100000"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;
01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*
.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;
31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;
31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif
=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/mail/#100000"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
home/nemo/bin"
declare -x PWD="/"
declare -x SHELL="/bin/sh"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/usr/sbin/bash"
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="#100000"
declare -x USERNAME="#100000"
[I have no name!@Sailfish /]$ export XDG_RUNTIME_DIR=/run/user/100000
[I have no name!@Sailfish /]$ export DISPLAY=:0
[I have no name!@Sailfish /]$ startlxde
bash: startlxde: command not found
Thank you for your help

Last edited by n950; 2017-02-15 at 11:02.
 

The Following 7 Users Say Thank You to n950 For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#62
Originally Posted by n950 View Post
Where can i find debian or ubuntu usable image for jolla?
armhf
and some others distributions?
some links please

Try to post here your image please and how to run it?
I am interested by Debian too.
I'd guess that Fedora images should work too. As it uses Wayland by default in its Gnome & some apps, you might even be able to run some apps directly in wayland too (e.g. transmission (GTK3)). (Arch might work too).

I've not tried it though :P
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following User Says Thank You to hedayat For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#63
Originally Posted by n950 View Post
Hi,

How to created a user "nemo" inside the chroot, and changed his UID and GID each to 100000 please? in command line please

I have installed "xorg-xhost" and "pavucontrol" packages. It's OK for that.
What is the package name for pulseaudio?
Or what you install from your part? to enable audio and how to do it?

Stuff to mount like that?

mount --bind /run run
mount --bind /var/lib/dbus var/lib/dbus
mount --bind /tmp tmp
mount --bind /home/nemo/.config/pulse home/nemo/.config/pulse


How to set environment vars?

Can you help me in these error please?

I would like to have full command line please?

Code:
SailfishOS 2.1.0.9 (Iijoki) (armv7hl)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# cd Manjaro/
[root@Sailfish Manjaro]# mount --bind /dev dev
[root@Sailfish Manjaro]# mount --bind /sys sys
[root@Sailfish Manjaro]# mount --bind /proc proc
[root@Sailfish Manjaro]# mount --bind /dev/pts dev/pts
[root@Sailfish Manjaro]# mount --bind /run run
[root@Sailfish Manjaro]# mount --bind /var/lib/dbus/ var/lib/dbus
[root@Sailfish Manjaro]# mount --bind /tmp tmp
[root@Sailfish Manjaro]# mount --bind /home/nemo/.config/pulse/ /home/nemo/.con
fig/pulse/
[root@Sailfish Manjaro]# chroot ./
sh-4.4# export DISPLAY=:0
sh-4.4# xhost +
xhost:  unable to open display ":0"
sh-4.4# sudo -u \#100000 bash
[I have no name!@Sailfish /]$ export $(dbus-launch)
Could not get password database information for UID of current process: User "?
??" unknown or no memory to allocate password entry

Failed to start message bus: Memory allocation failure in message bus
EOF in dbus-launch reading address from bus daemon
declare -x DISPLAY=":0"
declare -x HOME="/"
declare -x HOSTNAME=""
declare -x LANG="fr_FR.utf8"
declare -x LOGNAME="#100000"
declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;
01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*
.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;
31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;
31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif
=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/mail/#100000"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
home/nemo/bin"
declare -x PWD="/"
declare -x SHELL="/bin/sh"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/usr/sbin/bash"
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="#100000"
declare -x USERNAME="#100000"
[I have no name!@Sailfish /]$ export XDG_RUNTIME_DIR=/run/user/100000
[I have no name!@Sailfish /]$ export DISPLAY=:0
[I have no name!@Sailfish /]$ startlxde
bash: startlxde: command not found
Thank you for your help
How to add a user?

How to change UID and GID?



mount --bind /home/nemo/.config/pulse home/nemo/.config/pulse
You might need to create that directory if it doesn't already exist.

also, you still need to start the X server with "kwin_wayland --xwayland --height (your screen's height) --width (your screen's width)" before you run "xhost +"

furthermore, it looks like you don't have lxde installed. "pacman -S lxde"
__________________
Leap before you look.

Last edited by preflex; 2017-02-15 at 21:51.
 

The Following 3 Users Say Thank You to preflex For This Useful Post:
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#64
Originally Posted by preflex View Post
Arch Linux i686

Ubuntu i386
Has anyone gotten archlinux or ubuntu to work on Jolla tablet? I get as far as the chroot. But when I try to use pacman it downloads files but then asks if want to delete them cause they are corrupt. Also which repositories did you select from mirrorlist file. Thanks!
 

The Following User Says Thank You to mscion For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#65
Originally Posted by mscion View Post
Has anyone gotten archlinux or ubuntu to work on Jolla tablet? I get as far as the chroot. But when I try to use pacman it downloads files but then asks if want to delete them cause they are corrupt. Also which repositories did you select from mirrorlist file. Thanks!
Your package sigs are out of date.
Code:
rm -R /etc/pacman.d/gnupg  
pacman-key --init  
pacman -Syy  
pacman-key --populate archlinux   
pacman -Syu
You should pick whatever mirror is fastest for you. See: Sorting Mirrors

This may also happen to manjaro users. If you're using Manjaro, you need to do "pacman-key --populate archlinux manjaro" instead.
__________________
Leap before you look.

Last edited by preflex; 2017-02-15 at 22:33.
 

The Following 5 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#66
More xwayland porn.
Attached Images
 
__________________
Leap before you look.
 

The Following 15 Users Say Thank You to preflex For This Useful Post:
Posts: 194 | Thanked: 1,167 times | Joined on May 2016
#67
Originally Posted by mscion View Post
Has anyone gotten archlinux or ubuntu to work on Jolla tablet? I get as far as the chroot. But when I try to use pacman it downloads files but then asks if want to delete them cause they are corrupt. Also which repositories did you select from mirrorlist file. Thanks!
I got it to work on ONDA v820W V3 with Arch Linux x86_64 chroot, which should be similar to Jolla Tablet. If you create nemo user with UID 100000, kwin_wayland can be started as nemo.

It's also possible to start kwin_wayland as sole compositor, not nested in lipstick, to get OpenGL in Wayland/Xorg with i915/MESA, but it often crashes on start, probably due to some differences in kernel DRM subsystem for Android's Intel UFO driver.
 

The Following 9 Users Say Thank You to TheKit For This Useful Post:
Posts: 671 | Thanked: 1,630 times | Joined on Aug 2010
#68
Originally Posted by preflex View Post
How to add a user?

How to change UID and GID?



mount --bind /home/nemo/.config/pulse home/nemo/.config/pulse
You might need to create that directory if it doesn't already exist.

also, you still need to start the X server with "kwin_wayland --xwayland --height (your screen's height) --width (your screen's width)" before you run "xhost +"

furthermore, it looks like you don't have lxde installed. "pacman -S lxde"
Pardon my exploding head,
but this all reads as if wayland (which I am seriously unfamiliar with)
is enabling something which lets pulseaudio work.
If that is the case then logical pigs are floating in the sky overhead.

I have been trying to unravel other audio issues
when I see this bit of news here
and begin to wonder if this is related.

From my understanding of wayland - it is replacing xorg -
but this I always regarded as graphic (visual)
and nothing whatsoever enabling/disabling sound-audio.
I have had a couple of wayland instances running
never considered to look into sound issues there.

It would be as silly as if you could not run your refrigerator
because you forgot to put the lid back on a rubbish bin outside.

Is it possible xorg has this problem also ?!

Except dbus being the culprit in the corner ?

How the heck does audio merit being interfered with
by the display driver ?

I am all for Wayland getting traction, but sensibility must prevail.


elsewhere, just for fun:
And the thing is, I do not really know what other applications do not work under Wayland, and I am not really keen to discover that in a moment of true reckoning. Searching online, I wasn't able to find a quick, easy list that details the current incompatibilities. Maybe it's me, and I suck at searching, but something as trivial as "Wayland + compatibility" should be obvious.

What I did find is a self-argument telling us why Wayland is good, a list of Gnome applications currently supported under this new thingie, several nerdy pages on ArchWiki, a super-nerdy slit-my-wrists topic on Nvidia devtalk, and a few other ambiguous discussions.
__________________
Three n900s: One for stable working platform,
One for development testing Chopping Onions
One for saltwater immersion power testing resurrected ! parts scavenging

My Mods for Wonko's Advanced Clock Plugin:
ISO8601 clock mod and Momental_IST clock mod

Printing your Email with the N900
 

The Following 2 Users Say Thank You to theonelaw For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#69
Code:
Packages (32) imlib2-1.4.9-1  libfm-1.2.5-1  libfm-extra-1.2.5-1
libfm-gtk2-1.2.5-1  libid3tag-0.15.1b-8  libkeybinder2-0.3.0-2
libnotify-0.7.7-1  libwnck-2.31.0-1  lxmenu-data-0.1.5-1
menu-cache-1.0.2-1  vte-0.28.2-8  vte-common-0.46.1-1
xf86-input-libinput-0.23.0-1.1  xmms2-0.8DrO_o.919.gece0baf0-7
xorg-server-1.19.1-1  xorg-xrandr-1.5.0-1  gpicview-0.2.5-2
lxappearance-0.6.3-1  lxappearance-obconf-0.2.3-1
lxde-common-0.99.2-1  lxde-icon-theme-0.5.1-3  lxdm-0.5.3-3
lxinput-0.3.5-1  lxlauncher-0.2.5-1  lxmusic-0.4.7-1
lxpanel-0.9.3-1  lxrandr-0.3.1-1  lxsession-1:0.5.3-1
lxtask-0.1.8-1  lxterminal-0.3.0-1  openbox-3.6.1-3
pcmanfm-1.2.5-1

Total Download Size:   11.88 MiB
Total Installed Size:  41.86 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
libid3tag-0.15.1b-8...    23.9 KiB  70.2K/s 00:00 [#####################] 100%
imlib2-1.4.9-1-armv7h    477.1 KiB  96.0K/s 00:05 [#####################] 100%
error: failed retrieving file 'xf86-input-libinput-0.23.0-1.1-armv7h.pkg.tar.xz
' from repo.manjaro-arm.org : The requested URL returned error: 404
error: failed retrieving file 'xf86-input-libinput-0.23.0-1.1-armv7h.pkg.tar.xz
' from ftp-osl.osuosl.org : The requested URL returned error: 404
error: failed retrieving file 'xf86-input-libinput-0.23.0-1.1-armv7h.pkg.tar.xz
' from mirror.strits.dk : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'xorg-server-1.19.1-1-armv7h.pkg.tar.xz' from rep
o.manjaro-arm.org : The requested URL returned error: 404
error: failed retrieving file 'xorg-server-1.19.1-1-armv7h.pkg.tar.xz' from ftp
-osl.osuosl.org : The requested URL returned error: 404
error: failed retrieving file 'xorg-server-1.19.1-1-armv7h.pkg.tar.xz' from mir
ror.strits.dk : The requested URL returned error: 404
warning: failed to retrieve some files
libnotify-0.7.7-1-a...    31.3 KiB   112K/s 00:00 [#####################] 100%
libwnck-2.31.0-1-armv7h  327.5 KiB  93.0K/s 00:04 [#####################] 100%
libkeybinder2-0.3.0...     5.4 KiB   134K/s 00:00 [#####################] 100%
xorg-xrandr-1.5.0-1...    28.9 KiB   111K/s 00:00 [#####################] 100%
vte-common-0.46.1-1...     2.2 KiB   218K/s 00:00 [#####################] 100%
vte-0.28.2-8-armv7h      283.9 KiB  83.3K/s 00:03 [#####################] 100%
gpicview-0.2.5-2-armv7h  104.2 KiB  87.5K/s 00:01 [#####################] 100%
lxappearance-0.6.3-...    76.6 KiB  82.4K/s 00:01 [#####################] 100%
openbox-3.6.1-3-armv7h   287.0 KiB  93.2K/s 00:03 [#####################] 100%
lxappearance-obconf...    48.4 KiB   107K/s 00:00 [#####################] 100%
lxde-common-0.99.2-...   792.2 KiB  76.2K/s 00:10 [#####################] 100%
lxde-icon-theme-0.5...     4.4 MiB  87.8K/s 00:52 [#####################] 100%
lxdm-0.5.3-3-armv7h       91.3 KiB  24.4K/s 00:04 [#####################] 100%
lxinput-0.3.5-1-armv7h    56.8 KiB  37.4K/s 00:02 [#####################] 100%
lxmenu-data-0.1.5-1-any   45.6 KiB  71.3K/s 00:01 [#####################] 100%
libfm-extra-1.2.5-1...    10.7 KiB   107K/s 00:00 [#####################] 100%
menu-cache-1.0.2-1-...    44.6 KiB  68.6K/s 00:01 [#####################] 100%
lxlauncher-0.2.5-1-...    44.0 KiB  73.3K/s 00:01 [#####################] 100%
xmms2-0.8DrO_o.919....  1280.8 KiB  71.3K/s 00:18 [#####################] 100%
lxmusic-0.4.7-1-armv7h   100.3 KiB  75.4K/s 00:01 [#####################] 100%
libfm-1.2.5-1-armv7h     469.7 KiB  79.5K/s 00:06 [#####################] 100%
libfm-gtk2-1.2.5-1-...   122.5 KiB  88.8K/s 00:01 [#####################] 100%
lxpanel-0.9.3-1-armv7h  1183.2 KiB  70.9K/s 00:17 [#####################] 100%
lxrandr-0.3.1-1-armv7h    49.8 KiB   111K/s 00:00 [#####################] 100%
lxsession-1:0.5.3-1...   216.1 KiB  74.5K/s 00:03 [#####################] 100%
lxtask-0.1.8-1-armv7h     58.6 KiB  67.3K/s 00:01 [#####################] 100%
lxterminal-0.3.0-1-...    94.9 KiB  57.8K/s 00:02 [#####################] 100%
pcmanfm-1.2.5-1-armv7h   248.5 KiB  60.5K/s 00:04 [#####################] 100%
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
sh-4.4#  i
Why i have this error at the end?

Code:
sh-4.4# useradd nemo
sh-4.4# passwd nemo
New password:
Retype new password:
passwd: password updated successfully
sh-4.4# usermod -u 100000 nemo
sh-4.4# groupmod -g 100000 nemo
Like that?

Code:
[root@Sailfish nemo]# cd Manjaro/
[root@Sailfish Manjaro]# mount --bind /dev dev
[root@Sailfish Manjaro]# mount --bind /sys sys
[root@Sailfish Manjaro]# mount --bind /proc proc
[root@Sailfish Manjaro]# mount --bind /dev/pts dev/pts
[root@Sailfish Manjaro]# mount --bind /run run
[root@Sailfish Manjaro]# mount --bind /var/lib/dbus/ var/lib/dbus
[root@Sailfish Manjaro]# mount --bind /tmp tmp
[root@Sailfish Manjaro]# mount --bind /home/nemo/.config/pulse/ /home/nemo/.con
fig/pulse/
[root@Sailfish Manjaro]# chroot ./
sh-4.4# mkdir /run/user/1001
sh-4.4# export $(dbus-launch)
sh-4.4# export XDG_RUNTIME_DIR=/run/user/1001
sh-4.4# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 6342
sh-4.4# No backend specified through command line argument, trying auto resolut
ion
OpenGL vendor string:                   VMware, Inc.
OpenGL renderer string:                 Gallium 0.4 on llvmpipe (LLVM 3.9, 128
bits)
OpenGL version string:                  OpenGL ES 3.0 Mesa 13.0.4
OpenGL shading language version string: OpenGL ES GLSL ES 3.00
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         3.0
GLSL version:                           3.0
Mesa version:                           13.0.4
Linux kernel version:                   3.10.49
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Disabling glamor and dri3, EGL setup failed
Failed to initialize glamor, falling back to sw
X-Server started on display :0
[D] unknown:0 - Configuring Lock Action
[W] unknown:0 - Could not create scene graph context for backend 'customcontext
' - check that plugins are installed correctly in /usr/lib/qt/plugins
[W] unknown:21 - file:///usr/share/kwin/virtualkeyboard/main.qml:21:1: module "
QtQuick.VirtualKeyboard" is not installed
import QtQuick.VirtualKeyboard 2.1
^
[W] unknown:21 - file:///usr/share/kwin/virtualkeyboard/main-enterprise.qml:21:
1: module "QtQuick.Enterprise.VirtualKeyboard" is not installed
import QtQuick.Enterprise.VirtualKeyboard 2.0
^
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[D] unknown:0 - The session is not registered:  "No such file or directory"
Service started, version: 7.0.0
sh-4.4# export DISPLAY=:0
sh-4.4# xhost +
access control disabled, clients can connect from any host
sh-4.4# sudo -u \#100000 bash
[nemo@Sailfish /]$ export $(dbus-launch)
[nemo@Sailfish /]$ export XDG_RUNTIME_DIR=/run/user/100000
[nemo@Sailfish /]$ export DISPLAY=:0
[nemo@Sailfish /]$ startlxde
bash: startlxde: command not found
Doesn't work

Last edited by n950; 2017-02-16 at 08:56.
 
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#70
Code:
[root@Sailfish Manjaro]# chroot ./
sh-4.4# mkdir /run/user/1001
sh-4.4# export $(dbus-launch)
sh-4.4# export XDG_RUNTIME_DIR=/run/user/1001
sh-4.4# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 6320
sh-4.4# No backend specified through command line argument, trying auto resolut
ion
OpenGL vendor string:                   VMware, Inc.
OpenGL renderer string:                 Gallium 0.4 on llvmpipe (LLVM 3.9, 128
bits)
OpenGL version string:                  OpenGL ES 3.0 Mesa 13.0.4
OpenGL shading language version string: OpenGL ES GLSL ES 3.00
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         3.0
GLSL version:                           3.0
Mesa version:                           13.0.4
Linux kernel version:                   3.10.49
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Disabling glamor and dri3, EGL setup failed
Failed to initialize glamor, falling back to sw
X-Server started on display :0
[D] unknown:0 - Configuring Lock Action
[W] unknown:0 - Could not create scene graph context for backend 'customcontext
' - check that plugins are installed correctly in /usr/lib/qt/plugins
[W] unknown:21 - file:///usr/share/kwin/virtualkeyboard/main.qml:21:1: module "
QtQuick.VirtualKeyboard" is not installed
import QtQuick.VirtualKeyboard 2.1
^
[W] unknown:21 - file:///usr/share/kwin/virtualkeyboard/main-enterprise.qml:21:
1: module "QtQuick.Enterprise.VirtualKeyboard" is not installed
import QtQuick.Enterprise.VirtualKeyboard 2.0
^
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.d
esktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Coul
...
Service started, version: 7.0.0
sh-4.4# export DISPLAY=:0
sh-4.4# xhost +
access control disabled, clients can connect from any host
sh-4.4# sudo -u \#100000 bash
[nemo@Sailfish /]$ export $(dbus-launch)
[nemo@Sailfish /]$ export XDG_RUNTIME_DIR=/run/user/100000
[nemo@Sailfish /]$ export DISPLAY=:0
[nemo@Sailfish /]$ startlxde
mkdir: cannot create directory '/home/nemo': Permission denied
cp: cannot create regular file '/home/nemo/.config/openbox/lxde-rc.xml': No suc
h file or directory
mkdir: cannot create directory '/home/nemo': Permission denied
mkdir: cannot create directory '/home/nemo': Permission denied
dbus-update-activation-environment: warning: error sending to systemd: org.free
desktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited w
ith status 1
** Message: main.vala:102: Session is LXDE
** Message: main.vala:103: DE is LXDE

(lxsession:6784): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
** Message: main.vala:134: log directory: /home/nemo/.cache/lxsession/LXDE
** Message: main.vala:135: log path: /home/nemo/.cache/lxsession/LXDE/run.log
** Message: main.vala:145: Error creating directory /home/nemo: Permission deni
ed
** Message: environement.vala:58: Exporting primary_variable
** Message: environement.vala:59: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:150: confir_dirs is null, export : /etc/xdg
** Message: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:191: data_dirs is null, export : /usr/local/share
:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXD
E/desktop.conf
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/desktop.co
nf
** Message: settings.vala:540: Key file does not have key 'iGtk/ColorScheme' in
group 'GTK'
** Message: settings.vala:540: Key file does not have key 'windows_manager/comm
and' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'panel/command' in gr
oup 'Session'
** Message: settings.vala:540: Key file does not have key 'dock/command' in gro
up 'Session'
** Message: settings.vala:540: Key file does not have key 'file_manager/command
' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'desktop_manager/comm
and' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'launcher_manager/com
mand' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'composite_manager/co
mmand' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im1/command' in grou
p 'Session'
** Message: settings.vala:540: Key file does not have key 'im2/command' in grou
p 'Session'
** Message: settings.vala:540: Key file does not
always have xhost + problem.

Impossible to enable AUDIO how to do it please?
Attached Images
   

Last edited by n950; 2017-02-16 at 10:29.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:03.