Reply
Thread Tools
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#71
Originally Posted by theonelaw View Post
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.
Don't freak out. Your head shouldn't be exploding.

Wayland doesn't mess with audio. I was just talking about connecting to PA from a chroot.

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.
Probably not.

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.
This is all correct.

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.
Yes. That would be very silly.

Is it possible xorg has this problem also ?!

Except dbus being the culprit in the corner ?
No. But dbus does make things difficult sometimes.

How the heck does audio merit being interfered with
by the display driver ?
It doesn't.

I am all for Wayland getting traction, but sensibility must prevail.
Sounds good to me.
__________________
Leap before you look.

Last edited by preflex; 2017-02-16 at 11:07.
 

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
#72
If you have aliendalvik or sfdroid, you can use Android's XServer-XSDL to run x11 applications as well, instead of using kwin.

With some configuring, it works roughly as well. On the plus side, It can do landscape mode and you can also use xrandr to rotate the display, but on the negative side, it doesn't pass through multitouch stuff, so chromium doesn't work quite as nicely.
__________________
Leap before you look.
 

The Following 2 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
#73
Originally Posted by TheKit View Post
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.
So ... Steam? This sounds like great news to anyone with Intel hardware.
__________________
Leap before you look.
 

The Following 5 Users Say Thank You to preflex For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#74
Code:
[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 /dev/pts dev/pts
[root@Sailfish Manjaro]# mount --bind /run run
[root@Sailfish Manjaro]# mount --bind /proc proc
[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# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 6962
sh-4.4# No backend specified through command line argument, trying auto resolut
ion
error: XDG_RUNTIME_DIR not set in the environment
FATAL ERROR: could not create Wayland server
sh-4.4# export XDG_RUNTIME_DIR=/run/user/1001
[1]+  Done(1)                 kwin_wayland --width 720 --height 1280 --xwayland
sh-4.4# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 7292
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
^
: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
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:7678): 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 have key 'widget1/command' in
group 'Session'
** Message: settings.vala:540: Key file does not have key 'notification/command
' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'keybindings/command'
in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im_manager/command'
in group 'Session'
** Message: settings.vala:540: Key file does not have key 'screensaver/command'
in group 'Session'
nelctl
** Message: environement.vala:79: Exporting variable
** Message: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:177: custom_config :
** Message: environement.vala:178: config_dirs :/etc/xdg
** Message: environement.vala:179: confir_dirs not null, export : /etc/xdg
** Message: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:218: custom_data :
** Message: environement.vala:219: data_dirs :/usr/local/share:/usr/share:/usr/
share/gdm:/var/lib/menu-xdg
** Message: environement.vala:220: data_dirs not null, export : /usr/local/shar
e:/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: environement.vala:254: No entry in [Environment_variable]. Key file
does not have group 'Environment_variable'
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXD
E/conffiles.conf
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.
conf
** Message: options.vala:164: Activate xsettings_manager build-in
** 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
openbox-lxde (null)
** Message: app.vala:721: polkit separate
** Message: app.vala:721: polkit separate
** Message: app.vala:76: Launching lxpolkit
lxpolkit (null)
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXD
E/autostart
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/autostart
** Message: autostart.vala:42: Autostart path : /etc/xdg/lxsession/LXDE/autosta
rt
** Message: app.vala:76: Launching lxpanel
lxpanel --profile LXDE (null)
** Message: app.vala:76: Launching pcmanfm
pcmanfm --desktop --profile LXDE (null)

(process:7697): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

** (lxsession:7678): WARNING **: app.vala:86: Failed to execute child process "
xscreensaver" (No such file or directory)

** (lxsession:7678): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:110: Create Option Clipboard
** Message: options.vala:44: Options - Launch command lxclipboard
** Message: main.vala:442: Check keymap_mode (null)
** Message: app.vala:76: Launching /usr/bin/ssh-agent
/usr/bin/ssh-agent -s (null)
Openbox-Message: Unable to make directory '/home/nemo/.cache/openbox': Permissi
on denied
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
Openbox-Message: Unable to change to home directory "/home/nemo": No such file
or directory
Openbox-Message: Unable to make directory "/home/nemo/.cache/openbox/sessions":
Permission denied
** (lxsession:7678): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:110: Create Option Clipboard
** Message: options.vala:44: Options - Launch command lxclipboard
** Message: main.vala:442: Check keymap_mode (null)
** Message: app.vala:76: Launching /usr/bin/ssh-agent
/usr/bin/ssh-agent -s (null)
Openbox-Message: Unable to make directory '/home/nemo/.cache/openbox': Permissi
on denied
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
Openbox-Message: Unable to change to home directory "/home/nemo": No such file
or directory
Openbox-Message: Unable to make directory "/home/nemo/.cache/openbox/sessions":
Permission denied
SSH_AUTH_SOCK=/tmp/ssh-w98hPVb5lWuE/agent.7706; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7710; export SSH_AGENT_PID;
echo Agent pid 7710;

(process:7700): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
** Message: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0

(process:7705): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

(process:7699): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

** (pcmanfm:7700): WARNING **: The directory '~/Templates' doesn't exist, ignor
ing it

** (lxpanel:7699): WARNING **: The directory '~/Templates' doesn't exist, ignor
ing it
shared memfd open() failed: Function not implemented
Failed to load cookie file from cookie: No such file or directory
Failure: Module initialization failed
Openbox-Message: A window manager is already running on screen 0
** Message: app.vala:347: openbox-lxde exit with this type of exit: 0

** Message: app.vala:363: Exit normal, don't reload

** (zeitgeist-datahub:7714): CRITICAL **: file log.c: line 981: unexpected erro
r: Error calling StartServiceByName for org.gnome.zeitgeist.Engine: GDBus.Error
:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.zeitgeist.Engi
ne exited with status 21 (g-dbus-error-quark, 25)

** (zeitgeist-datahub:7714): CRITICAL **: file data-source-registry.c: line 942
: unexpected error: Error calling StartServiceByName for org.gnome.zeitgeist.En
gine: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gno
me.zeitgeist.Engine exited with status 21 (g-dbus-error-quark, 25)
[W] unknown:0 - X11 implementation of KKeyServer accessed from non-X11 platform
! This is an application bug.

** (lxpanel:7699): WARNING **: lxpanel: can't load volume plugin

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist
without root:
any help i have nothing on desktop no app etc..
 
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#75
Originally Posted by n950 View Post
Code:
[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 /dev/pts dev/pts
[root@Sailfish Manjaro]# mount --bind /run run
[root@Sailfish Manjaro]# mount --bind /proc proc
[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# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 6962
sh-4.4# No backend specified through command line argument, trying auto resolut
ion
error: XDG_RUNTIME_DIR not set in the environment
FATAL ERROR: could not create Wayland server
sh-4.4# export XDG_RUNTIME_DIR=/run/user/1001
[1]+  Done(1)                 kwin_wayland --width 720 --height 1280 --xwayland
sh-4.4# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 7292
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
^
: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
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:7678): 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 have key 'widget1/command' in
group 'Session'
** Message: settings.vala:540: Key file does not have key 'notification/command
' in group 'Session'
** Message: settings.vala:540: Key file does not have key 'keybindings/command'
in group 'Session'
** Message: settings.vala:540: Key file does not have key 'im_manager/command'
in group 'Session'
** Message: settings.vala:540: Key file does not have key 'screensaver/command'
in group 'Session'
nelctl
** Message: environement.vala:79: Exporting variable
** Message: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: environement.vala:177: custom_config :
** Message: environement.vala:178: config_dirs :/etc/xdg
** Message: environement.vala:179: confir_dirs not null, export : /etc/xdg
** Message: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: environement.vala:218: custom_data :
** Message: environement.vala:219: data_dirs :/usr/local/share:/usr/share:/usr/
share/gdm:/var/lib/menu-xdg
** Message: environement.vala:220: data_dirs not null, export : /usr/local/shar
e:/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: environement.vala:254: No entry in [Environment_variable]. Key file
does not have group 'Environment_variable'
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXD
E/conffiles.conf
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.
conf
** Message: options.vala:164: Activate xsettings_manager build-in
** 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
openbox-lxde (null)
** Message: app.vala:721: polkit separate
** Message: app.vala:721: polkit separate
** Message: app.vala:76: Launching lxpolkit
lxpolkit (null)
** Message: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: utils.vala:85: System system path location : /etc/xdg/lxsession/LXD
E/autostart
** Message: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/autostart
** Message: autostart.vala:42: Autostart path : /etc/xdg/lxsession/LXDE/autosta
rt
** Message: app.vala:76: Launching lxpanel
lxpanel --profile LXDE (null)
** Message: app.vala:76: Launching pcmanfm
pcmanfm --desktop --profile LXDE (null)

(process:7697): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

** (lxsession:7678): WARNING **: app.vala:86: Failed to execute child process "
xscreensaver" (No such file or directory)

** (lxsession:7678): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:110: Create Option Clipboard
** Message: options.vala:44: Options - Launch command lxclipboard
** Message: main.vala:442: Check keymap_mode (null)
** Message: app.vala:76: Launching /usr/bin/ssh-agent
/usr/bin/ssh-agent -s (null)
Openbox-Message: Unable to make directory '/home/nemo/.cache/openbox': Permissi
on denied
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
Openbox-Message: Unable to change to home directory "/home/nemo": No such file
or directory
Openbox-Message: Unable to make directory "/home/nemo/.cache/openbox/sessions":
Permission denied
** (lxsession:7678): WARNING **: app.vala:87: Error when launching xscreensaver
** Message: options.vala:110: Create Option Clipboard
** Message: options.vala:44: Options - Launch command lxclipboard
** Message: main.vala:442: Check keymap_mode (null)
** Message: app.vala:76: Launching /usr/bin/ssh-agent
/usr/bin/ssh-agent -s (null)
Openbox-Message: Unable to make directory '/home/nemo/.cache/openbox': Permissi
on denied
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
Openbox-Message: Unable to change to home directory "/home/nemo": No such file
or directory
Openbox-Message: Unable to make directory "/home/nemo/.cache/openbox/sessions":
Permission denied
SSH_AUTH_SOCK=/tmp/ssh-w98hPVb5lWuE/agent.7706; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7710; export SSH_AGENT_PID;
echo Agent pid 7710;

(process:7700): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
** Message: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0

(process:7705): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

(process:7699): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

** (pcmanfm:7700): WARNING **: The directory '~/Templates' doesn't exist, ignor
ing it

** (lxpanel:7699): WARNING **: The directory '~/Templates' doesn't exist, ignor
ing it
shared memfd open() failed: Function not implemented
Failed to load cookie file from cookie: No such file or directory
Failure: Module initialization failed
Openbox-Message: A window manager is already running on screen 0
** Message: app.vala:347: openbox-lxde exit with this type of exit: 0

** Message: app.vala:363: Exit normal, don't reload

** (zeitgeist-datahub:7714): CRITICAL **: file log.c: line 981: unexpected erro
r: Error calling StartServiceByName for org.gnome.zeitgeist.Engine: GDBus.Error
:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.zeitgeist.Engi
ne exited with status 21 (g-dbus-error-quark, 25)

** (zeitgeist-datahub:7714): CRITICAL **: file data-source-registry.c: line 942
: unexpected error: Error calling StartServiceByName for org.gnome.zeitgeist.En
gine: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gno
me.zeitgeist.Engine exited with status 21 (g-dbus-error-quark, 25)
[W] unknown:0 - X11 implementation of KKeyServer accessed from non-X11 platform
! This is an application bug.

** (lxpanel:7699): WARNING **: lxpanel: can't load volume plugin

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist

** (lxpanel:7699): WARNING **: launchbar: desktop entry does not exist
without root:
any help i have nothing on desktop no app etc..
It looks like "nemo" is not the owner of /home/nemo inside the chroot, or maybe nemo doesn't have UID 100000.
__________________
Leap before you look.
 

The Following User Says Thank You to preflex For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#76
Originally Posted by preflex View Post
It looks like "nemo" is not the owner of /home/nemo inside the chroot, or maybe nemo doesn't have UID 100000.
How to put nemo owner of /home/nemo inside chroot?
How to know if nemo have uid 100000?
 
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#77
Originally Posted by n950 View Post
How to put nemo owner of /home/nemo inside chroot?
How to know if nemo have uid 100000?
Important: don't have anything mounted inside your home directory in the chroot (like /home/nemo/config./pulse)

All of these should be run after you've chrooted in. Don't mess with these commands outside of the chroot. You'll break stuff.

you can use the "id" command to view your UID, GID, and groups.

Code:
[root@Sailfish /]# sudo -u nemo id
uid=100000(nemo) gid=100000(nemo) groups=100000(nemo)
If it doesn't match that, you'll certainly need to fix it.

Code:
usermod -u 100000 nemo
If the nemo group doesn't exist, create it, and add nemo to the group.
Code:
groupadd nemo
usermod -aG nemo nemo
and set the new GID
Code:
groupmod -g 100000 nemo
Then make sure nemo owns his home directory.
Code:
chown -R nemo:nemo /home/nemo
Then, you can exit, mount ~/.config/pulse, and chroot back in.
__________________
Leap before you look.

Last edited by preflex; 2017-02-16 at 22:38.
 

The Following 3 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
#78
"Mobile" browsers: BAD!
"Desktop" browsers: GOOD!
Attached Images
  
__________________
Leap before you look.
 

The Following 9 Users Say Thank You to preflex For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#79
Hi,

about keyboard, how to have same as your last picture uploaded?
 

The Following 2 Users Say Thank You to n950 For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#80
Hi,

Here is my user already created in /etc/passwd :

Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/usr/bin/nologin
daemon:x:2:2:daemon:/:/usr/bin/nologin
mail:x:8:12:mail:/var/spool/mail:/usr/bin/nologin
ftp:x:14:11:ftp:/srv/ftp:/usr/bin/nologin
http:x:33:33:http:/srv/http:/usr/bin/nologin
uuidd:x:68:68:uuidd:/:/usr/bin/nologin
dbus:x:81:81:dbus:/:/usr/bin/nologin
nobody:x:99:99:nobody:/:/usr/bin/nologin
systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/usr/bin/nologin
systemd-timesync:x:192:192:systemd-timesync:/:/usr/bin/nologin
systemd-network:x:193:193:systemd-network:/:/usr/bin/nologin
systemd-bus-proxy:x:194:194:systemd-bus-proxy:/:/usr/bin/nologin
systemd-resolve:x:195:195:systemd-resolve:/:/usr/bin/nologin
manjaro:x:1000:100::/home/manjaro:/bin/bash
systemd-coredump:x:997:997:systemd Core Dumper:/:/sbin/nologin
systemd-journal-upload:x:999:999:systemd Journal Upload:/:/sbin/nologin
systemd-journal-remote:x:998:998:systemd Journal Remote:/:/sbin/nologin
avahi:x:84:84:avahi:/:/bin/nologin
usbmux:x:140:140:usbmux user:/:/sbin/nologin
polkitd:x:102:102:Policy Kit Daemon:/:/bin/nologin
rtkit:x:133:133:RealtimeKit:/proc:/bin/false
sddm:x:996:996:Simple Desktop Display Manager:/var/lib/sddm:/usr/bin/nologin
colord:x:124:124::/var/lib/colord:/bin/false
nemo:x:100000:100000::/home/nemo:/bin/bash
lxdm:x:995:995:Lightweight X11 Display Manager:/var/lib/lxdm:/sbin/nologin
xmms2:x:46:46::/var/lib/xmms2:/bin/false
deluge:x:125:125:Deluge user:/srv/deluge:/bin/false
chmod command doesn't work:

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]# chroot ./
sh-4.4# sudo -u nemo id
uid=100000(nemo) gid=100000(nemo) groups=100000(nemo)
sh-4.4# usermod -u 100000 nemo
usermod: no changes
sh-4.4# groupadd nemo
groupadd: group 'nemo' already exists
sh-4.4# usermod -aG nemo nemo
sh-4.4# groupmod -g 100000 nemo
sh-4.4# chown -R nemo:nemo /home/nemo
chown: cannot access '/home/nemo': No such file or directory
how to continue?
There is no folder nemo inside /home why?
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:30.