View Full Version : XWayland Victory!
OMG! This just happened...
I downloaded Manjaro ARM rootfs from here (http://manjaro-arm.org/downloads/rootfs/current/Manjaro-Arm_rootfs-armv7h_16.08.tar.gz) and extracted the contents into /home/nemo/Manjaro .
I mounted some stuff and chrooted in.
devel-su
cd Manjaro
mount --bind /dev dev
mount --bind /sys sys
mount --bind /proc proc
mount --bind /dev/pts dev/pts
mount --bind /run run
chroot ./
Then, I updated and installed some packages.
pacman -Syu
pacman -S plasma chromium plasma-wayland-session weston onboard
Note, I don't know which of these are actually necessary. You might not need weston.
Then, I created a directory in /run/user and exported some environment variables.
mkdir /run/user/1001
export $(dbus-launch)
export XDG_RUNTIME_DIR=/run/user/1001
Then, I did this:
kwin_wayland --xwayland &
... and an XWayland window opened!
export DISPLAY=:0
chromium --no-sandbox &
and Chromium browswer launched in the window, with full multitouch input! Touch-scrolling, pinch to zoom, and all that jazz. No onscreen keyboard though, when I try to type a URL.
Hmm
onboard &
And now I have Text input! I can install uMatrix in Chromium! Yaaaaaay!
One caveat, it looks like it's trying to draw a 1024x768 window on the 768x1280 screen (Nexus 4, portrait mode). It's cropped on the right side, and doesn't fill the whole vertical space.
Anybody know how to set the screen resolution for XWayland?
BluesLee
2017-02-07, 22:25
Damn, this comes late, I needed this two hours ago before installing aliendalvik on a Nexus5 :D
Great news, really great!
Can you take a video or some screenshots please? Very curious on how it looks!
mrsellout
2017-02-07, 23:49
Anybody know how to set the screen resolution for XWayland?
There appears to be a --width and --height option for the kwin_wayland command (and they default to the dimensions you mention):
kwin_wayland --help
Usage: kwin_wayland [options] [/path/to/application...]
KDE window manager
Options:
-v, --version Displays version information.
-h, --help Displays this help.
--lock Disable configuration options
--crashes <n> Indicate that KWin has recently
crashed n times
--author Show author information.
--license Show licence information.
--desktopfile <file name> The base file name of the desktop
entry for this application.
--xwayland Start a rootless Xwayland server.
-s, --socket <socket> Name of the Wayland socket to listen
on. If not set "wayland-0" is used.
--windowed Use a nested compositor in windowed
mode.
--x11-display <display> The X11 Display to use in windowed
mode on platform X11.
--wayland-display <display> The Wayland Display to use in
windowed mode on platform Wayland.
--framebuffer Render to framebuffer.
--fb-device <fbdev> The framebuffer device to render to.
--virtual Render to a virtual framebuffer.
--width <width> The width for windowed mode. Default
width is 1024.
--height <height> The height for windowed mode. Default
height is 768.
--output-count <height> The number of windows to open as
outputs in windowed mode. Default
value is 1
--libinput Enable libinput support for input
events processing. Note: never use in
a nested session.
--drm Render through drm node.
--inputmethod <path/to/imserver> Input method that KWin starts.
--list-backends List all available backends and quit.
--lockscreen Starts the session in locked mode.
--exit-with-session </path/to/session> Exit after the session application,
which is started by KWin, closed.
--no-kactivities Disable KActivities integration.
Arguments:
applications Applications to start once Wayland
and Xwayland server are started
YOU ROCK!
"xwin_wayland --width 768 --height 1280 --xwayland" did the trick!
Can you take a video or some screenshots please? Very curious on how it looks!
I hope these attached properly.
BluesLee
2017-02-08, 06:17
The next step would be to package everything so that the non techies can also profit from it.
Do things like sound, video work?
A reminder for who wants to try, be careful with the BIND mounts, deleting stuff from folders (for example /proc/) by mistake, can mess up your 'normal' SFOS installation ;)
karan5chaos
2017-02-08, 08:42
Really interesting !
Would it work on SFOS Ports aswell ? :)
Also I'm a noob in linux and it's commands so can someone explain me what kind of apps we would be able to run with this ? :)
Thank you.
It runs on a Nexus 4, so it works on Sailfish ports!
karan5chaos
2017-02-08, 08:49
It runs on a Nexus 4, so it works on Sailfish ports!
Thank you for the quick reply :)
Works, looks interesting.
Then, I updated and installed some packages.
pacman -Syu
pacman -S plasma chromium plasma-wayland-session weston onboard
Mmm, pacman...
http://static1.gamespot.com/uploads/original/43/434805/3048375-screen+shot+2016-04-14+at+16.12.27.png
mrsellout
2017-02-08, 10:53
Really interesting !
Would it work on SFOS Ports aswell ? :)
Also I'm a noob in linux and it's commands so can someone explain me what kind of apps we would be able to run with this ? :)
Thank you.
While Sailfish is a linux operating system, it differs from most distributions in that it uses the newer Wayland protocol instead of the X windowing system (or X11) that the majority of distributions use.
This is important for any piece of software that has a window. Most of them are built to use X11. In order to allow them to run on a system that uses Wayland, XWayland has been developed, but until now, I think I'm right in saying it hasn't been possible to run it on Sailfish.
So this removes that constraint, and will make it possible for applications that needed an X server to run, to run on Sailfish. Examples are Libreoffice, Gimp, Thunderbird, etc.
Read about
a) Wayland: https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)
(https://en.wikipedia.org/wiki/Wayland_(display_server_protocol))
b) X Window System: https://en.wikipedia.org/wiki/X_Window_System
c) XWayland: https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)#Compatibility_wi th_X
Mmm, pacman...
That's ms. pacman for you... mzzz!
(Always had a soft spot for the baby one though, maybe due to the pinball part) /OT
Can't wait what a working XWayland on Sailfish brings!
The next step would be to package everything so that the non techies can also profit from it.
Do things like sound, video work?
Video seems to work. I went to Youtube and played a video. It doesn't seem accellerated. FPS was watchable but not great.
I haven't set up audio yet. It's probably just a matter of setting PULSE_SERVER environment variable in the chroot. Maybe also some command inside SFOS to get pulseaudio to accept the connection.
This is great news! Anyone try it on Jolla tablet? Would something like wxmaxima work? Presumably I would have to download the code and compile it on device. If that is the case, from which repositories should I try downloading code that is a best match for Jolla? Thanks!
This is great news! Anyone try it on Jolla tablet? Would something like wxmaxima work? Presumably I would have to download the code and compile it on device. If that is the case, from which repositories should I try downloading code that is a best match for Jolla? Thanks!
wxmaxima is in Manjaro's extra repo. You should be able to install it with "pacman -S wxmaxima". You don't need to do anything fancy. All the xwayland business is handled by kwin in the guest OS. No porting/recompilation required. Just download the rootfs, extract it somewhere, set up the mounts, chroot, set some environment variables, and install whatever packages you need and want. You could also install lxpanel so you can easily launch programs within the gui. (Plasma itself doesn't work properly because it tries to run natively in wayland)
Note: You don't have to use Manjaro. I just picked it because I like Arch, but I'm too lazy for real Arch. Any distro with recent plasma/kwin should work (5.7 or later, i think. Maybe older. Debian Jessie is too old). Here (http://cdimage.ubuntu.com/ubuntu-base/releases/16.10/release/ubuntu-base-16.10-base-armhf.tar.gz) is an Ubuntu rootfs you could use if you prefer debian-style package management. You should be able to apt-get install kwin, xwayland, onboard, and whatever other packages you need. The packages I installed in the first post are certainly overkill.
Fantastic! This is what I had always hoped for in a Jolla device. Probably could even make a Jolla pc with btkb now!
If you're having trouble with the lockscreen popping up,
kcmshell5 screenlocker
un-check the option to lock the screen.
I tried to run plasma(KDE) but it's slow and unstable.
Hello,
Very nice idea. Congratulations for this progress.
Anybody know another rootfs? Work with SFOS.
How to run them in chroot like this one?
Thank you
I tried to run plasma(KDE) but it's slow and unstable.
Yes. Plasmashell tries to use the wayland server instead of xwayland. Lipstick and Sailfish UI stuff gets in the way. If you want a panel and task manager in the xwayland window, you should use something that does not have wayland support. LXPanel works, and the packages are small. "pacman -S lxde" is overkill, but it also provides some useful extra goodies.
Now just run this on a Jolla Tablet, run Xournal.
There. I ported Xournal again.
Now just run this on a Jolla Tablet, run Xournal.
There. I ported Xournal again.
It's good to see SailfishOS is finally catching up in functionality to where Maemo was nearly 10 years ago.
If i want to install and run transmission how to do it?
My resolution is not good :(
xwin_wayland --width 768 --height 1280 --xwayland
Doesn't work once chromium run why?
How to make it work?
mrsellout
2017-02-09, 10:53
If i want to install and run transmission how to do it?
My resolution is not good :(
xwin_wayland --width 768 --height 1280 --xwayland
Doesn't work once chromium run why?
How to make it work?
That's a typo it should be
kwin_wayland --width 768 --height 1280 --xwayland &You might have to adjust those dimensions though, Preflex is using a Nexus 5.
Jolla: 540 x 960
JollaC: 720 x 1280
KylliOrvokki
2017-02-09, 11:00
UUH!
Would Firefox and Spotify client work?
(now I dont have time to try but I will later on...)
UUH!
Would Firefox and Spotify client work?
(now I dont have time to try but I will later on...)
Android apps work as they work before the update
Edit: Ugh, I mixed this thread for the new Sailfish OS firmware update..
It's good to see SailfishOS is finally catching up in functionality to where Maemo was nearly 10 years ago.
It too Maemo more than the life of Sailfish OS to reach where it was 10 years ago.
Sailfish OS is not exactly the same OS as Maemo was albeit it has been built upon similar foundations.
Also Nokia was way bigger and more resourceful than Jolla is today.
UUH!
Would Firefox and Spotify client work?
(now I dont have time to try but I will later on...)
If you mean the desktop apps - Firefox should; but Spotify won't, because their client is only built for x86, not ARM. (That said, it might run on Jolla Tablet.) (And now I'm wondering if it would run on the phone if emulated through QEMU...)
How to move virtual keyboard down?
i have just minimized a little but move how?
How to move virtual keyboard down?
i have just minimized a little but move how?
drag and hold on cross [+] button
How to creat bashrc to run manjaro directly?
without run all commands one by one.
How to run trojita/transmission-qt?
If i run them like chromium command it doesn't work.
Some errors with firefox when i try to go on youtube or gmail why? "your connection is not secure"
How to access manjaro desktop? with icon
chromium is very nice :)... even if virtual keyboard is a little slow.
Anybody can know how to activate audio?
Hi. I'm trying to get this to run on my Jolla Tablet. But when I get to the command
chroot ./
I get the error
chroot: cannot run command "/bin/sh" no such file or directory
Any ideas? Thanks!
Ok. Still not sure about why I have the problem with the Jolla tablet but the chroot command worked when I tried this on my Jolla 1 phone. However, when I try to update system using pacman -Syu command I get a conflict. It wants to replace libdbus with core/dbus as libdbus and dbus are in conflict. While I'm good at following directions, understanding this is a bit above my pay grade. Should I allow it to replace libdbus with dbus? Thanks
Ok. Still not sure about why I have the problem with the Jolla tablet but the chroot command worked when I tried this on my Jolla 1 phone. However, when I try to update system using pacman -Syu command I get a conflict. It wants to replace libdbus with core/dbus as libdbus and dbus are in conflict. While I'm good at following directions, understanding this is a bit above my pay grade. Should I allow it to replace libdbus with dbus? Thanks
Replacing libdbus with core/dbus is fine. As far as the issue with your tablet, make sure you've got an i386 rootfs. The one I linked to was ARM only.
Replacing libdbus with core/dbus is fine. As far as the issue with your tablet, make sure you've got an i386 rootfs. The one I linked to was ARM only.
Yes. Thanks. I hunted around and realized it was probably OK. Just want to look before I leap! Sorry about the noob questions but, where do I find an i386 rootfs? (Arch or Debian is good. Just don't know my way around to find proper versions of such.) Thanks again!
EDIT: Worked on my Jolla 1 phone! Need to make some scripts here. Too hard to type all the time!
Arch Linux (http://mirror.rackspace.com/archlinux/iso/2017.02.01/archlinux-bootstrap-2017.02.01-i686.tar.gz) i686
Ubuntu (http://cdimage.ubuntu.com/ubuntu-base/releases/16.10/release/ubuntu-base-16.10-base-i386.tar.gz) i386
I tried to use "DB browser fo Sqlite" (package sqlitebrowser) but it's unusable because of bad touch control.
Fuzzillogic
2017-02-10, 19:07
Can mouse pointer support be enabled somehow? I.e. if a (bluetooth) pointing device is connected, do you then get a pointer?
Arch Linux (http://mirror.rackspace.com/archlinux/iso/2017.02.01/archlinux-bootstrap-2017.02.01-i686.tar.gz) i686
Ubuntu (http://cdimage.ubuntu.com/ubuntu-base/releases/16.10/release/ubuntu-base-16.10-base-i386.tar.gz) i386
Well, I decided to look before I leap again (sorry about that!). I read that I686 is downward compatible with i386. Ok, but then I read yes that is true except for ARCH linux i686! Later I see others disagree with that. Oh dang, I'm going to go ahead and leap!
Well, Oh dang, I'm going to go ahead and leap!
That's the maemo spirit ;)
andd now a tablet is worth getting
Hi. I'm trying to get this to run on my Jolla Tablet. But when I get to the command
chroot ./
I get the error
chroot: cannot run command "/bin/sh" no such file or directory
Any ideas? Thanks!
I have the same issue on jollaC. Does anyone else have the problem with jollaC?
Edit: the problem seems to be that I extracted manjaro to the SD card which is mounted with "noexec".
Remounted ala "mount -o remount,exec /media/sdcard/XYZ" solved the problem.
I have the same issue on jollaC. Does anyone else have the problem with jollaC?
Which rootfs did you use?
EDIT: @bomo Excellent! You solved it!
Using firefox/chromium from Manjaro is really nice. But in my opinion there are three things that need to be solved before e.g. ARM firefox can substitute android firefox:
- The SSL/TLS issue (http://talk.maemo.org/showpost.php?p=1523223&postcount=35) (mentioned by n950) => seems to be solved (http://talk.maemo.org/showpost.php?p=1523332&postcount=50)
- The input (e.g. address) fields may be too small for some fingers ;-)
- A better (more sailfish like) input method that automatically hides and shows depending on which field is clicked on. Is this possible with onboard? I also stumbled upon Maliit (https://en.wikipedia.org/wiki/Maliit) which is (according to wikipedia) originating from MeeGo. It is also available in archlinux.
Maliit is the keyboard on Sailfish, too.
How to run trojita/transmission-qt?
If i run them like chromium command it doesn't work.
Some errors with firefox when i try to go on youtube or gmail why? "your connection is not secure"
How to access manjaro desktop? with icon
chromium is very nice :)... even if virtual keyboard is a little slow.
Anybody can know how to activate audio?
Try setting "network.http.spdy.enabled.http2 " to false in "about:config"
Hi,
How to run application like transmission-qt?
EDIT:
https://tlhp.cf/kde-plasma-on-wayland/
Is it possible to have a full desktop working if i follow the steps on this website?
Thank you
In Ubuntu,
[root@Sailfish ubuntu]# chroot ./
# apt-get update
Err:1 http://ports.ubuntu.com/ubuntu-ports yakkety InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:2 http://ports.ubuntu.com/ubuntu-ports yakkety-updates InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:3 http://ports.ubuntu.com/ubuntu-ports yakkety-backports InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:4 http://ports.ubuntu.com/ubuntu-ports yakkety-security InRelease
Temporary failure resolving 'ports.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety/InRelease
Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-updates/I
nRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-backports
/InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/yakkety-security/
InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones use
d instead.
I choose one dns server in this website http://public-dns.info/
echo nameserver 103.25.7.1 > /etc/resolv.conf
After that i try apt-get update and same thing same error why?
How to resolve this problem?
Impossible to edit resolv.conf file cause i don't have gedit or nano installed.
Anybody can creat script to run manjaro on jolla c? With desktop icon?
It will be usefull.
Every time i reboot my jolla i need to write all commands.
In Ubuntu,
echo nameserver 103.25.7.1 > /etc/resolv.conf
After that i try apt-get update and same thing same error why?
How to resolve this problem?
Impossible to edit resolv.conf file cause i don't have gedit or nano installed.
I faced the exact same issue :( but with Debian. I think its because of the way the distribution is built.
If it was built with multistrap (https://wiki.debian.org/Multistrap), you have to remember that multistrap depends on a Debian (which SFOS is not) on the top of it.
it uses apt and dpkg directly so can only work on a debian system
I am trying to avoid using multistrap and build a proper debian image using qemu and debootstrap.
On the ubuntu side the images must be readily available and usable ;)
I faced the exact same issue :( but with Debian. I think its because of the way the distribution is built.
If it was built with multistrap (https://wiki.debian.org/Multistrap), you have to remember that multistrap depends on a Debian (which SFOS is not) on the top of it.
I am trying to avoid using multistrap and build a proper debian image using qemu and debootstrap.
On the ubuntu side the images must be readily available and usable ;)
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'm just dropping an idea here:
Maybe "systemd-nspawn" could be used to provide a more user friendly alternative to chroot? systemd-nspawn is also available in SFOS. Does anyone have experience with that?
I'm just dropping an idea here:
Maybe "systemd-nspawn" could be used to provide a more user friendly alternative to chroot? systemd-nspawn is also available in SFOS. Does anyone have experience with that?
systemd-nspawn doesn't work for me. Seems to be missing some kernel goodies. No lxc either. If you know how I can get the needed features on a Nexus 4, let me know.
Also,
I'm working on some scripts to automate a lot of this. I should be able to share them soon. I've made a lot of progress getting a whole lxde session running as user nemo, without need to use "--no-sandbox" with chromium. However, I'm still unable to get pulseaudio working.
I have some configs for onboard and lxde that make them a little easier to use.
I'd like to get screen rotation working, but it seems like xrandr can't change the config. :(
I should be able to share an image, configs, and some scripts very soon.
Feathers McGraw
2017-02-14, 16:23
I've made a lot of progress getting a whole lxde session running as user nemo, without need to use "--no-sandbox" with chromium.
Do you know why that option is required? What is missing in the chroot that would usually be used to sandbox chromium? Seems like a bad idea not to sandbox a browser...or do you think the fact that it's running in a chroot is enough sandboxing in itself?
Do you know why that option is required? What is missing in the chroot that would usually be used to sandbox chromium? Seems like a bad idea not to sandbox a browser...or do you think the fact that it's running in a chroot is enough sandboxing in itself?
Chromium will refuse to run with sandboxing if run as root. Running as nemo instead of root allows the sandboxing to work.
Also, "chroot is not and has never been a security tool." (https://archive.fo/20130503055231/kerneltrap.org/Linux/Abusing_chroot) It's not difficult for a process running as root to break out of a chroot.
Setting things up to run an LXDE session as nemo will help to make using this a lot safer. However, kwin_wayland will probably still be running as root in the chroot, as I haven't been able to get it running as nemo yet. I am unsure of the security implications of this. In general, X11 is kinda, sorta, totally, completely unsafe anyway, so I don't expect that the security will be any worse than any regular desktop distro.
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,
export DISPLAY=:0
xhost +
Then it gets a little weird.
sudo -u \#100000 bash
to get a shell as "nemo".
Then,
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.
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,
export DISPLAY=:0
xhost +
Then it gets a little weird.
sudo -u \#100000 bash
to get a shell as "nemo".
Then,
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?
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:*.cs h=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=0 0;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
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
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?
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:*.cs h=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=0 0;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? (https://lmgtfy.com/?q=how+to+create+user+linux)
How to change UID and GID? (http://lmgtfy.com/?q=how+to+change+UID+and+GID+in+linux)
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"
Arch Linux (http://mirror.rackspace.com/archlinux/iso/2017.02.01/archlinux-bootstrap-2017.02.01-i686.tar.gz) i686
Ubuntu (http://cdimage.ubuntu.com/ubuntu-base/releases/16.10/release/ubuntu-base-16.10-base-i386.tar.gz) 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!
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.
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 (https://wiki.archlinux.org/index.php/mirrors#Sorting_mirrors)
This may also happen to manjaro users. If you're using Manjaro, you need to do "pacman-key --populate archlinux manjaro" instead.
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.
theonelaw
2017-02-16, 08:00
How to add a user? (https://lmgtfy.com/?q=how+to+create+user+linux)
How to change UID and GID? (http://lmgtfy.com/?q=how+to+change+UID+and+GID+in+linux)
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.
(http://www.dedoimedo.com/computers/fedora-25-wayland-vs-xorg.html)
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?
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?
[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 :(
[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?
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. :D
If you have aliendalvik or sfdroid, you can use Android's XServer-XSDL (https://sourceforge.net/projects/libsdl-android/files/apk/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.
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.
[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.Child Exited: 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..
[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.Child Exited: 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.
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?
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.
[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.
usermod -u 100000 nemo
If the nemo group doesn't exist, create it, and add nemo to the group.
groupadd nemo
usermod -aG nemo nemo
and set the new GID
groupmod -g 100000 nemo
Then make sure nemo owns his home directory.
chown -R nemo:nemo /home/nemo
Then, you can exit, mount ~/.config/pulse, and chroot back in.
"Mobile" browsers: BAD!
"Desktop" browsers: GOOD!
Hi,
about keyboard, how to have same as your last picture uploaded?
Hi,
Here is my user already created in /etc/passwd :
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:
[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?
It's a good start I have created with
mkdir /home/nemo and now:
[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 $(dbus-launch)
sh-4.4# export XDG_RUNTIME_DIR=/run/user/100000
sh-4.4# export DISPLAY=:0
sh-4.4# kwin_wayland --width 720 --height 1280 --xwayland &
[1] 6132
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
^
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
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:6478): 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
[W] unknown:0 - X11 implementation of KKeyServer accessed from non-X11 platform
! This is an application bug.
now i have pulseaudio work but impossible to go on a webpage with firefox why?
and chromium doesn't run too :(
how to fix both?
Seems i can't install some applications cause i am not in root but when i type
sudo -l
ask me a password i put nemo password like it was when i creat it but it say impossible why?
How to copy all my application configs from root to thus user nemo too?
cause i already configure my thunderbird app etc..
'useradd -m' creates the home directory.
'useradd -m' creates the home directory.
Hi,
If i put in chroot (inside lxde with terminal):
useradd -m nemo
What i will have after that?
It's for what exactly? can you explain me please
There is no folder nemo inside /home why?
useradd only adds the user, the -m options creates the users directory in /home.
Feathers McGraw
2017-02-17, 14:06
There's a script on ubuntu (and maybe debian?) called adduser, which basically calls useradd with the options you would expect when adding a new user (like creating a homedir at /home/user).
Confused me a few times before I realised they were different commands.
Ok now i can't run chromium like in root why?
see pictures on my last previous posts.
Firefox doesn't load any page why? and i am online with wifi on sfos.
impossible to install any news applications because i am not in root too how to resolve that?
About fedora arm:
https://arm.fedoraproject.org/
What file i need to download to try? on my Jolla C
Where can i download debian 8/8.5/8.7 arm last good version for jolla C too?
@n950
Have you added the user nemo to the wheel group or did you edit /etc/sudoers file to allow nemo to use sudo?
i don't edit /etc/sudoers file.
I just use command for group.
why?
Have you added nemo to the wheel group?
Please post the content of /etc/sudoers.
I tar Archlinux Arm version:
-
| SailfishOS 2.1.0.9 (Iijoki) (armv7hl)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# cd /media/sdcard/fc0ff9d5-6fa1-49b2-8b2d-31ce48893a9e/
[root@Sailfish fc0ff9d5-6fa1-49b2-8b2d-31ce48893a9e]# ls
ArchLinux lost+found
[root@Sailfish fc0ff9d5-6fa1-49b2-8b2d-31ce48893a9e]# cd ArchLinux/
[root@Sailfish ArchLinux]# mount --bind /dev dev
[root@Sailfish ArchLinux]# mount --bind /sys sys
[root@Sailfish ArchLinux]# mount --bind /proc proc
[root@Sailfish ArchLinux]# mount --bind /dev/pts dev/pts
[root@Sailfish ArchLinux]# mount --bind /run run
[root@Sailfish ArchLinux]# chroot ./
chroot: cannot run command «*/bin/sh*»: Permission non accordée
[root@Sailfish ArchLinux]#
I want to chroot in my sd card 128 GB there is an error. How to resolve it?
Hi,
There is no folder nemo inside /home why?
Because the adduser command doesn't create it for you. Just create it inside the chroot
mkdir /home/nemo
mkdir /home/nemo/.config/pulse
chown -R nemo:nemo /home/nemo
I tar Archlinux Arm version:
...
I want to chroot in my sd card 128 GB there is an error. How to resolve it?
What is the format of your sdcard? You should use ext4. If its windows ntfs, it's probably mounted noexec.
Firefox doesn't load any page why? and i am online with wifi on sfos.
There's some issue with SSL affecting some programs, such as Firefox, curl, and yaourt. Firefox can load pages, but no https. Some problem with ca-certificicates, i think. I don't really know why. I've been looking into it, but haven't figured anything out yet.
Is anyone having this problem with debian-style distros? Ubuntu, etc? I suspect (without really having any good reason) that this may be an Archlinux bug.
What is the format of your sdcard? You should use ext4. If its windows ntfs, it's probably mounted noexec.
It's Ext4 format. I format my card with sfos gui in settings -> Storage.
How to chroot?
There's some issue with SSL affecting some programs, such as Firefox, curl, and yaourt. Some problem with ca-certificicates, i think. I don't really know why. I've been looking into it, but haven't figured anything out yet.
Firefox work with root.
with nemo user doesn't load page.
in Nemo user why i can't run chromium even with no sandbox?
Because the adduser command doesn't create it for you. Just create it inside the chroot
mkdir /home/nemo
mkdir /home/nemo/.config/pulse
chown -R nemo:nemo /home/nemo
already done!
Hi,
I have installed all my applications in root mode.
Try to run apps like in root without success.
Now with nemo user here is my problem:
when i run firefox in LXterminal here are the errors.
Seems locale settings like with chromium.
And graphics errors...
how can i resolve it?
Have you added nemo to the wheel group?
Please post the content of /etc/sudoers.
## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##
##
## Host alias specification
##
## Groups of machines. These may include host names (optionally with wildcards$
## IP addresses, network numbers or netgroups.
# Host_Alias WEBSERVERS = www1, www2, www3
##
## User alias specification
##
## Groups of users. These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias ADMINS = millert, dowdy, mikef
##
## Cmnd alias specification
##
## Groups of commands. Often used to group related commands together.
# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# /usr/bin/pkill, /usr/bin/top
# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
##
## Defaults specification
##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use HOME to find
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
##
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
##
## Uncomment to enable special input methods. Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
##
## Uncomment to use a hard-coded PATH instead of the user's to find commands
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbi$
##
## Uncomment to send mail if the user does not enter the correct password.
# Defaults mail_badpass
##
...
##
## User privilege specification
##
root ALL=(ALL) ALL
## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
## Uncomment to allow members of group sudo to execute any command
# %sudo ALL=(ALL) ALL
## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw # Ask for the password of the target user
# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
Is it good for nemo user?
I add my user with same line as root user and it works now in etc/sudoers
I have another problem now.
When i play youtube music i don't hear it.
when i play music with audacious sound work.
why?
Your package sigs are out of date.
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 (https://wiki.archlinux.org/index.php/mirrors#Sorting_mirrors)
This may also happen to manjaro users. If you're using Manjaro, you need to do "pacman-key --populate archlinux manjaro" instead.
(Note this is all with respect to Jolla Tablet.)
I tried this and some commands, including pacman, became broke. For example if I try to "more" a file I get an error associated with different libarchive files
"wrong elfclass64"
I've hunted around but can't find a satisfactory solution. Anybody experience this?
Then if I get out of the chroot (via ctrl c) I can't chroot back. Get error /bin/sh: no such file or directory (a clue?). Also, there must be a more graceful way of exiting the chroot.
Finally I tried the ubuntu version and get errors about x11-common not being configured when running pacman -S to install, say onboard (although I was able to get gcc to install).
Tried commands like dpkg --config -a but didn't work.
Sorry about being such a noob about this.
(Note this is all with respect to Jolla Tablet.)
I tried this and some commands, including pacman, became broke. For example if I try to "more" a file I get an error associated with different libarchive files
"wrong elfclass64"
I've hunted around but can't find a satisfactory solution. Anybody experience this?
Probably you installed i686 Arch Linux chroot, but when upgrading, it started to download x86_64 packages due to Jolla Tablet having 64-bit kernel. Reinstall and change "Architecture = auto" to "Architecture = i686" in /etc/pacman.conf.
justmemory
2017-02-20, 07:27
I add my user with same line as root user and it works now in etc/sudoers
I have another problem now.
When i play youtube music i don't hear it.
when i play music with audacious sound work.
why?
Hi,
I do not know whether it may be the problem or related to this but years ago when I played with easy ubuntu on my n900 I experienced something similar: the system (videos played with mplayer for example) had sound but videos opened with any browser didn't have sound.
My solution was to remove pulseaudio completely and installed alsa; then with alsamixergui the youtube videos had sound.
Be aware of that when I did this somehow I lost some of my configs (appearence of LXDE for example) so I had to set everything again...
jm
Hi,
I do not know whether it may be the problem or related to this but years ago when I played with easy ubuntu on my n900 I experienced something similar: the system (videos played with mplayer for example) had sound but videos opened with any browser didn't have sound.
My solution was to remove pulseaudio completely and installed alsa; then with alsamixergui the youtube videos had sound.
Be aware of that when I did this somehow I lost some of my configs (appearence of LXDE for example) so I had to set everything again...
jm
Hi,
If i keep pulseaudio and i install alsa too it will work?
justmemory
2017-02-20, 08:38
Hi,
If i keep pulseaudio and i install alsa too it will work?
I don't know, never tried that...
mrsellout
2017-02-20, 09:18
@n950 did you try installing pavucontrol? You can select different output devices with it.
insanelysexy
2017-02-20, 09:39
There's some issue with SSL affecting some programs, such as Firefox, curl, and yaourt. Firefox can load pages, but no https. Some problem with ca-certificicates, i think. I don't really know why. I've been looking into it, but haven't figured anything out yet.
Is anyone having this problem with debian-style distros? Ubuntu, etc? I suspect (without really having any good reason) that this may be an Archlinux bug.
Had faced some ssl errors in Jessie Easy-Debian chroot in n900. I think installing ca-ceritifcates (apt-get install ca-certificates), solved it.
insanelysexy
2017-02-20, 09:42
Offtopic :
I am having debian sid on chroot on Intex Aqua Fish. (NO Xwayland here). I have tried various things but am not able to connect to internet from inside the chroot.
http://thpmaemo.blogspot.in/2015/01/running-debian-sid-on-sailfish-os.html
copied the resolv.conf too, butit still does not work.
@n950 did you try installing pavucontrol? You can select different output devices with it.
i try to select all options one by one without success what is your idea?
Probably you installed i686 Arch Linux chroot, but when upgrading, it started to download x86_64 packages due to Jolla Tablet having 64-bit kernel. Reinstall and change "Architecture = auto" to "Architecture = i686" in /etc/pacman.conf.
Thanks! That got things to the point where I installed everything. Unfortunately the command
kwin_wayland --width 1536 height 2048 --xwayland &
did not make a window. Nothing appears in the grid of running applications. Anyways, getting closer! Attached a gzipped screen shot with error output. Thanks for everyones assistance!
EDIT: Added the screen shots. Note the scripts seen in the screen shot are just the commands that are given in this thread
archstartup
mount --bind /dev dev
mount --bind /sys sys
mount --bind /proc proc
mount --bind /dev/pts dev/pts
mount --bind /run run
chroot ./
and start2 is
mkdir /run/user/1001
export $(dbus-launch)
export XDG_RUNTIME_DIR=/run/user/1001
kwin_wayland --width 1536 --height 2048 --xwayland &
EDIT: Ha! I just noticed I get the same output whether I use Jolla 1 or Tablet. But in case of Jolla 1 I get the xwayland screen. On Jolla tablet no screen...
mrsellout
2017-02-20, 17:14
You said earlier that the audio works with Audacious. If you play some audio with Audacious again, the 'right' output option should should show some movement.
I've not tried it in the chroot, but a few years ago, Pavucontrol was the only sane way to get audio playing through the HDMI on my desktop.
With audacious yes but not in YouTube why?
Had faced some ssl errors in Jessie Easy-Debian chroot in n900. I think installing ca-ceritifcates (apt-get install ca-certificates), solved it.
I find a nice solution to run firefox without any errors.
Just need to run Manjaro in chroot with user nemo
Enter in terminal and in root run firefox it will solve all problems.
With audacious yes but not in YouTube why?
Is chromium muted? Check in pavucontrol. It is muted by default, and auto-mutes after a brief period of silence.
Is chromium muted? Check in pavucontrol. It is muted by default, and auto-mutes after a brief period of silence.
when i run chromium and pavucontrol i don't see any muted options why?
when i run audacious i go in playback tab (from pavucontrol)
in chromium i can't go in this tab only in output i also post a screenshot.
How to do it?
"Mobile" browsers: BAD!
"Desktop" browsers: GOOD!
Hello,
I would like to install same Virtual Keyboard as you.
Is it Maliit?
I have installed plasma-maliit-plugins
Now how can i activate it?
Another question:
About KDE how can i install and run it instead of LXDE please?
Thank you
Hello,
I would like to install same Virtual Keyboard as you.
Is it Maliit?
I have installed plasma-maliit-plugins
Now how can i activate it?
Another question:
About KDE how can i install and run it instead of LXDE please?
Thank you
It's onboard. It has many layouts and themes. Check the settings.
Hello,
When i push speed same button on onboard keyboard i have this error:
o@Sailfish /]$ export $(dbus-launch)
[nemo@Sailfish /]$ export XDG_RUNTIME_DIR=/run/user/100000
[nemo@Sailfish /]$ export DISPLAY=:0
[nemo@Sailfish /]$ startlxde
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:6296): 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
[W] unknown:0 - X11 implementation of KKeyServer accessed from non-X11 platform
! This is an application bug.
(EE)
(EE) Backtrace:
(EE)
(EE) Segmentation fault at address 0x10
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
[W] unknown:0 - The X11 connection broke (error 1). Did the X11 server die?
[nemo@Sailfish /]$
Why? is it possible to never have this problem?
Is it possible to restart lxde? how to? cause now it's freezed.
another question:
when i close lxde windows on sfos when i can come back to lxde? without restart jolla.
when terminal and lxde are closed how to restart manjaro lxde too?
Seems like I can't get this to run on my Jolla 1 phone any more. Anybody update Manjaro? Wondering if an update I did broke something...
Manjaro ARM Linux Distro Is Shutting Down, Lack Of Contributors Is The Reason (https://fossbytes.com/manjaro-arm-linux-shut-down/)
Manjaro ARM Linux Distro Is Shutting Down, Lack Of Contributors Is The Reason (https://fossbytes.com/manjaro-arm-linux-shut-down/)
lol...!
unbelievable....
Feathers McGraw
2017-02-27, 16:13
Has anyone had any luck with any other distros that are up to date enough to work?
Has anyone had any luck with any other distros that are up to date enough to work?
allmost anything goes, but most will require VNC for GUI I bootstrapped Kali in chroot. Terminal works, but VNC for X (noVNC works on-device with browser)
allmost anything goes, but most will require VNC for GUI I bootstrapped Kali in chroot. Terminal works, but VNC for X (noVNC works on-device with browser)
How does sound work using VNC?
Manjaro ARM Linux Distro Is Shutting Down, Lack Of Contributors Is The Reason (https://fossbytes.com/manjaro-arm-linux-shut-down/)
Booooo! I had just finished making a custom rootfs to share with everyone. I was just waiting until later this evening when I'd have a reasonably fast connection in order to upload it. I was hoping to release it along with some management scripts this evening.
Oh well, I guess I'll just use Arch instead. I wasn't really taking advantage of Manjaroishness anyway. For this use, Arch should be mostly indistinguishable. It will take a day or two for me to migrate, and then I'll share a preconfigured Arch rootfs instead.
I've also been working on some Sailfish GUI utilities for installation, configuration, and 1-click launch of chroot with xfce desktop as nemo user. I'm new to QT Quick, so this may take a little while, but it's coming along nicely.
How does sound work using VNC?
It shouldn't matter as long as you can get the chroot to interact directly with the pulse server. The display is independent from audio. Whether you're using xwayland, xserver-xsdl, or vnc shouldn't make any difference for sound.
Also, you should be able to use the xwayland window from manjaro when chrooting other distros that dont have fresh kwin-wayland. Just chroot into manjaro, start kwin-wayland --xwayland, and run "xhost +". Then chroot into the other distro, export DISPLAY=:0, and you're ready to rock.
It shouldn't matter as long as you can get the chroot to interact directly with the pulse server. The display is independent from audio. Whether you're using xwayland, xserver-xsdl, or vnc shouldn't make any difference for sound.
Thanks for the info. I still can't get the the Archlinux (i686 version) to work on Jolla tablet. I'm trying a few more things before I report. One thing I just noticed (perhaps a "my bad" is needed here!) is that there is a README file with the archlinux. Should the instructions found there be used in lieu of what is posted in this thread. They seem quite a bit different.
I've also been working on some Sailfish GUI utilities for installation, configuration, and 1-click launch of chroot with xfce desktop as nemo user. I'm new to QT Quick, so this may take a little while, but it's coming along nicely.
Wow, nice!
Really looking forward to that. If you have got no icon for this… I've just mashed something together using the xfce colour scheme, feel free to use or ignore (the eyes are a bit ugly, but I didn't want to change the logo too much): http://imgur.com/a/Y28aM (I can send you the svg as well, if you'd like it.)
edit: PM me for svg or if you want something changed, I don't want to derail this thread. ;)
Thanks for the info. I still can't get the the Archlinux (i686 version) to work on Jolla tablet. I'm trying a few more things before I report. One thing I just noticed (perhaps a "my bad" is needed here!) is that there is a README file with the archlinux. Should the instructions found there be used in lieu of what is posted in this thread. They seem quite a bit different.
I'm not sure. I had a similar problem when I tried this on my friend's nexus 5 (running 2.0.1.11, I think). The teminal output looked good, but no xwayland window. I'm running running 2.0.5.6. Maybe it's an issue with the wayland version?
I don't really know anything about the jolla tablet. What version of SFOS are you running? If you have 64 bit kernel, you might want to try amd64 rootfs.
Where can I find the README file you mentioned?
The README file is in the archlinux rootfs version here
http://talk.maemo.org/showpost.php?p=1523283&postcount=40
Jolla tablet does not use arm. Most specs are here.
http://www.gsmarena.com/jolla_tablet-6816.php
It is x86_64 i486
Similar to what you say everything looks fine until I get to the kwin_wayland command. No window appears.
I will play some more but suggestions are welcome!
Booooo! I had just finished making a custom rootfs to share with everyone. I was just waiting until later this evening when I'd have a reasonably fast connection in order to upload it. I was hoping to release it along with some management scripts this evening.
Oh well, I guess I'll just use Arch instead. I wasn't really taking advantage of Manjaroishness anyway. For this use, Arch should be mostly indistinguishable. It will take a day or two for me to migrate, and then I'll share a preconfigured Arch rootfs instead.
I've also been working on some Sailfish GUI utilities for installation, configuration, and 1-click launch of chroot with xfce desktop as nemo user. I'm new to QT Quick, so this may take a little while, but it's coming along nicely.
Just wondering if you don't mind sharing the work you did on the Manjoro version. Would be fun to try until the Archlinux version is ready. Regardless, thanks for your efforts as having this capability really makes Sailfish unique. It's clearly a much better user experience than trying to chroot an Android phone.
I don't really know anything about the jolla tablet. What version of SFOS are you running? If you have 64 bit kernel, you might want to try amd64 rootfs.
amd64? really? on arm processor? what a story :)
mrsellout
2017-02-28, 14:57
The tablet uses an Intel Atom CPU.
Just wondering if you don't mind sharing the work you did on the Manjoro version. Would be fun to try until the Archlinux version is ready. Regardless, thanks for your efforts as having this capability really makes Sailfish unique. It's clearly a much better user experience than trying to chroot an Android phone.
I would, but my net access is very limited. The next time I have a fast connection, I might, if I don't have Archlinux ready yet. The file is about 800MB, and I only get about 80kbps upload right now, so it would take too long (about 20 hours) and therefore likely be interrupted.
I might have a chance later today. Any suggestions on where to share the file? I'd prefer not to use Mega, or something like that, because it would be nice to be able to download it with curl in an install script.
The tablet uses an Intel Atom CPU.
Oh, i thought it was about Nexus 5.
I might have a chance later today. Any suggestions on where to share the file? I'd prefer not to use Mega, or something like that, because it would be nice to be able to download it with curl in an install script.
Since this seems to be all open source, you could check if you can get away with creating a github repository containing scripts to create the file and hosting the resulting file as a release: https://help.github.com/articles/distributing-large-binaries/
Good luck!
You can find some helper scripts here:
https://github.com/Preflex/easy-chroot
ManChroot.sh will give you a root shell inside the chroot.
DeskChroot.sh will launch a XFCE4 session.
You may notice errors about mount points in /home/nemo not being found. If you would like to share these directories with the chroot, create those directories inside the chroot.
You can find the preconfigured Manjaro rootfs here: https://github.com/Preflex/easy-chroot/releases
To use with the helper scripts, unpack it in /opt/easychroot/Manjaro
This rootfs contains helper scripts in /usr/share/easychroot/scripts/
The start_xwayland.sh contains hardcoded values for my Nexus 4's screen. If you are using a different device, you will need to edit the last line of this script, substituting the height and width values for your device.
You can find some helper scripts here:
https://github.com/Preflex/easy-chroot
ManChroot.sh will give you a root shell inside the chroot.
DeskChroot.sh will launch a XFCE4 session.
You may notice errors about mount points in /home/nemo not being found. If you would like to share these directories with the chroot, create those directories inside the chroot.
You can find the preconfigured Manjaro rootfs here: https://github.com/Preflex/easy-chroot/releases
To use with the helper scripts, unpack it in /opt/easychroot/Manjaro
This rootfs contains helper scripts in /usr/share/easychroot/scripts/
The start_xwayland.sh contains hardcoded values for my Nexus 4's screen. If you are using a different device, you will need to edit the last line of this script, substituting the height and width values for your device.
Hi. Just wanted to say that it started up on my Jolla 1! XFCE4 is an especially good choice for my screen size (540x960). While lots of warnings quite glad to get it up and running for now. Thanks again!
@preflex thanks a lot!
Is there a way to close all the stuff gracefully? Meaning, I ran DeskChroot.sh and now want to close all XFCE etc sessions and restore the pre-start_xwayland status?
Does anyone else have the issue that the airplane mode is "shown" after running manjaro? I guess its not really going into airplane mode, as mobile internet is still working, but the symbol is shown.
Edit: i also noticed that the phone doesn't reboot properly (get's stuck and needs 10-sec power-off button press) to start normally after running DeskChroot.sh
@preflex thanks a lot!
Is there a way to close all the stuff gracefully? Meaning, I ran DeskChroot.sh and now want to close all XFCE etc sessions and restore the pre-start_xwayland status?
Does anyone else have the issue that the airplane mode is "shown" after running manjaro? I guess its not really going into airplane mode, as mobile internet is still working, but the symbol is shown.
Edit: i also noticed that the phone doesn't reboot properly (get's stuck and needs 10-sec power-off button press) to start normally after running DeskChroot.sh
Before you exit out of the chroot, from terminal do a ps to see what is running. Kill all the processes related to wayland and such. I just did that and turned phone off and on with no problem. Also everything was unmounted. Would be nice to have scripts to automate this and unmount file system to make it a nice clean process. Can try later when I have some time.
EDIT: Actually, if you do a shutdown from the desktop everything is unmounted. Then just kill kwin/wayland related processes from terminal.
After testing your rootfs more thoroughly, I noticed that neither firefox nor chromium can access the internet. Chromium gives the error "err_internet_disconnected".
However, pacman and others can access the internet.
Is it possible that chromium/firefox rely e.g on networkmanager/connman do detect the availability of internet?
P.S.: I'm using the rootfs from a sdcard and already noticed that some problems that I encountered are related to that. However, I guess that I solved most of them by remounting the sdcard using "mount -o remount,suid,exec,dev .... " before calling DeskChroot.
After testing your rootfs more thoroughly, I noticed that neither firefox nor chromium can access the internet. Chromium gives the error "err_internet_disconnected".
However, pacman and others can access the internet.
Is it possible that chromium/firefox rely e.g on networkmanager/connman do detect the availability of internet?
P.S.: I'm using the rootfs from a sdcard and already noticed that some problems that I encountered are related to that. However, I guess that I solved most of them by remounting the sdcard using "mount -o remount,suid,exec,dev .... " before calling DeskChroot.
Hi. Chromium seems to work fine on my Jolla 1 phone. I think the main problems using Jolla phone is that the screen is a bit small for this (indeed, I've been pecking away on the keyboard with a stylus...) and the ram (only 1 GB) makes it a bit slow and possibly unstable (freezes at times).
Been playing with the tablet a bit. Still can't get kwin to work. It is possible there is an error with the wayland software. This is the error I get.
[destroyed object] error 0; invalid format 0x34325258
Disabling glamor and dri3, EGL set up failed
I found this recent bug report
https://bugs.freedesktop.org/show_bug.cgi?id=99791
Perhaps the same as problem I'm having. I'm not sure cause all this is above my pay grade...
Not sure what to try at this point. Maybe earlier version of software or VNC. Anyone have success using VNC? If so perhaps some instructions would be helpful. Thanks!
Been playing with the tablet a bit. Still can't get kwin to work. It is possible there is an error with the wayland software. This is the error I get.
[destroyed object] error 0; invalid format 0x34325258
Disabling glamor and dri3, EGL set up failed
I found this recent bug report
https://bugs.freedesktop.org/show_bug.cgi?id=99791
Perhaps the same as problem I'm having. I'm not sure cause all this is above my pay grade...
.
.
.
Yippee! There was an update that fixed this bug! Xwayland now working for Archlinux on the Jolla Tablet. Amazing! I now have Sailfish, Android apps and Archlinux at my immediate disposal on a tablet that Jolla couldn't deliver, that a Chinese friend bought from Taobao and delivered to me for $200! Unbelievable! I've gotten half the refund. There is still a chance for the remaining half! The story goes on... Sorry about rambling on and on... One more thing. I love Jolla!
matemana
2017-03-06, 16:11
i want to give a try to it. what base image do you suggest? i prefer debian based but i do not have problem with others. i want it to be fast and without problems. can you suggest me any base system.
i have nexus 5. oh and is there a way to cast screen to tv/ monitor without slimport cable?
i tried vnc but did not get it to work. i'll try to get it to work as soon as i get home.
i want to give a try to it. what base image do you suggest? i prefer debian based but i do not have problem with others. i want it to be fast and without problems. can you suggest me any base system.
i have nexus 5. oh and is there a way to cast screen to tv/ monitor without slimport cable?
i tried vnc but did not get it to work. i'll try to get it to work as soon as i get home.
Since you are using Nexus 5, I would suggest you try the Manjaro version just to get started and see it work. Then move on as Manjaro will not have support in the near future.
http://talk.maemo.org/showpost.php?p=1524427&postcount=139
matemana
2017-03-06, 20:07
You can find some helper scripts here:
https://github.com/Preflex/easy-chroot
ManChroot.sh will give you a root shell inside the chroot.
DeskChroot.sh will launch a XFCE4 session.
You may notice errors about mount points in /home/nemo not being found. If you would like to share these directories with the chroot, create those directories inside the chroot.
You can find the preconfigured Manjaro rootfs here: https://github.com/Preflex/easy-chroot/releases
To use with the helper scripts, unpack it in /opt/easychroot/Manjaro
This rootfs contains helper scripts in /usr/share/easychroot/scripts/
The start_xwayland.sh contains hardcoded values for my Nexus 4's screen. If you are using a different device, you will need to edit the last line of this script, substituting the height and width values for your device.
Great work there. Tested now and it worked on my Nexus 5 too. Running 2.0.4.13 SFOS. But i get an errors when starting some apps inside manjaro. Chromium does not start too.
UPDATE.
nevermind got it fixed.
if anyone needs you must run this command to fix permissions and run chromium
sudo chmod 1777 /dev/shm
You had little error in usr/share/easychroot/scripts/start_desktop.sh
was !#/bin/bash must be #!/bin/bash
Great work there. Tested now and it worked on my Nexus 5 too. Running 2.0.4.13 SFOS. But i get an errors when starting some apps inside manjaro. Chromium does not start too.
Excellent! Is there a release image of 2.0.4.13, or do you have to OTA from 2.0.1.11? Asking for a friend.
Also, for users with high dpi screens, you may want to bump up the DPI if UI elements are too small.
The easiest way do this, open "KDE System Settings" (command: systemsettings5), open the "Fonts" panel, and enter a higher value for the DPI. It might help to do this as root as well, since kwin runs as root. I already bumped it up to 128 from the default of 96 in my preconfigured image, but on your 1080x1920 screen you might want more.
if anyone needs you must run this command to fix permissions and run chromium
sudo chmod 1777 /dev/shm
You had little error in usr/share/easychroot/scripts/start_desktop.sh
was !#/bin/bash must be #!/bin/bash
Whoops! I'll be sure to fix those in the near future, once I have Archlinux working (kwin is just crashing on me). Thanks for the feedback! I should have the necessary bandwidth and time to work on it tonight or tomorrow. For now, you can just add "chmod 1777 /dev/shm" to one of the scripts. start_xwayland.sh seems like a good choice for that.
Whoops! I'll be sure to fix those in the near future, once I have Archlinux working (kwin is just crashing on me). Thanks for the feedback!
.
.
.
Hi, If you haven't updated lately you might try to (-Syu option as you know of course!). There were some programs that began with mesa that had a bug. The update fixed my problem with kwin not working.
Btw, I had never used Archlinux before. pacman is pretty nice.
Hi, If you haven't updated lately you might try to (-Syu option as you know of course!). There were some programs that began with mesa that had a bug. The update fixed my problem with kwin not working.
Btw, I had never used Archlinux before. pacman is pretty nice.
Yes, I suspect it was just some silly bug that would get fixed by an update. I hope it works out.
Also, pacman is pretty awesome. "pacman -Syu chromium" is like doing "apt-get update", "apt-get dist-upgrade", and "apt-get install chromium" all in one step. It is astonishingly powerful. See https://wiki.archlinux.org/index.php/pacman for all the options. (Note: documentation on Archwiki is excellent. It's so good, I frequently consult it when dealing with other distros just because it tends to get into all the gritty details.)
Hopefully I can get yaourt working, because the AUR is where Archlinux really shines. It's like having all of Ubuntu's PPAs rolled into one and injected with steroids. The ease of installing unofficial or non-redistributable packages (like ffmpeg-full-nvenc) was the reason I switched from debianish distros.
off-topic:
On the desktop, Manjaro is really nice as well. It's kind of like the LinuxMint of Archlinux. All the power of Arch, but easy to install and set up. They have a really polished KDE build with a few extra kcm modules for managing kernel, video drivers, and systemd. It's really a shame Manjaro-ARM is shutting down. It's my favorite distro for raspberrypi.
Archlinux update fixes xwayland crash, but caused new and interesting problems which I don't yet understand well enough to ask good questions about. I suppose that's the downside of targeting rolling releases,
In the "good news" dept, I've made my scripts more generic. deskchroot.sh now requires some arguments: height, width, and session_start_command (startxfce4, startlxde, plasmashell, etc). This is a prerequisite for my upcoming convenient management app (not even pre-alpha yet. ETA 2 weeks, maybe more. Maybe lots more. ).
There will be a substantial update to my git repo tomorrow, hopefully including a new Arch-based release image, as well as scripts to generate your own (so you don't have to trust me, and so i can actually be in compliance with github's rules. :) ). I also plan to include a filesystem overlay which includes the comtents of /home/nemo, /root, and /usr/share/easychroot, so you can easily adapt my hacks to whatever distro you please.
One I release my preconfigured arch-based rootfs, I will cease answering questions about manjaro-arm and ask that you migrate. Due to the limited storage space on my Nexus 4, I can only quasi-officially support one guest distro at a time (unless y'all want to send me more hardware). I may need to switch distros again in the future, if library drift breaks things.
I ain't seen qole around in a while. I used the "easychroot" name because I was obviously attempting to re-implement his fantastic work on a broader scale, and wanted to give tribute. Since I'm not qole, and I'm targeting a much broader set of guest distros and host devices, I propose the name "VersaChroot". Your thoughts?
How about NotSoEasyChroot. lol Just kidding...
Transition to ArchLinux complete!
New rootfs is here: https://github.com/Preflex/easy-chroot/releases/tag/0.0.2
New launch scripts are here: https://github.com/Preflex/easy-chroot
DeskChroot.sh now requires arguments, height, width, and command.
Example: "# sh DeskChroot.sh 1280 768 startxfce4"
LXDE and Plasma are also installed. To use them instead, use "startlxde" or "plasmashell" as command.
Filesystem overlay and scripts to build your own rootfs later, due to low battery (5%). Maybe later tonight. Probably tomorrow.
Have fun!
matemana
2017-03-08, 12:03
Transition to ArchLinux complete!
New rootfs is here: https://github.com/Preflex/easy-chroot/releases/tag/0.0.2
New launch scripts are here: https://github.com/Preflex/easy-chroot
DeskChroot.sh now requires arguments, height, width, and command.
Example: "# sh DeskChroot.sh 1280 768 startxfce4"
LXDE and Plasma are also installed. To use them instead, use "startlxde" or "plasmashell" as command.
Filesystem overlay and scripts to build your own rootfs later, due to low battery (5%). Maybe later tonight. Probably tomorrow.
Have fun!
Great. Deleted Manjaro and put Arch in it's place. No problems at all. Nice to see minor fixes and lxde bundle :) Thank you for your hard work. I have questions:
1 Can we have terminal inside the arch linux?
2 Can we rotate the screen? (I could not)
3 Can we turn of arch linux gracefully?
I turn of arch with killing process. I find process pid with command 'ps -ef | grep xw' and kill it with "kill -9 'PID'"
This does something to SFOS it goes on airplane mode even if button is not acitated. I just restart to fix this.
DeskChroot.sh now requires arguments, height, width, and command.
Example: "# sh DeskChroot.sh 1280 768 startxfce4"
LXDE and Plasma are also installed. To use them instead, use "startlxde" or "plasmashell" as command.
Would it be possible to automatically determine the device screen resolution? (I know that this can be done in QML, but don't know if there's a command-line method that works with Wayland.)
1 Can we have terminal inside the arch linux?
2 Can we rotate the screen? (I could not)
3 Can we turn of arch linux gracefully?
I turn of arch with killing process. I find process pid with command 'ps -ef | grep xw' and kill it with "kill -9 'PID'"
This does something to SFOS it goes on airplane mode even if button is not acitated. I just restart to fix this.
1. Yes. It usually works for me. Sometimes it doesn't. When it doesn't, I don't know why.
2. No. In the research I've done, it seems the inability to rotate is a feature, not a bug. This was seemingly done to prevent applications from changing the screen resolution, and any bugs related to it are marked WONTFIX. :( xRandR has read-only access to the xwayland server. It can get display info, but can't actually Resize-and-Rotate.
3. I dunno. Your suggestion looks good to me. Usually, I just reboot or just close the window and terminal session, but leave everything mounted. I'll be looking into this, but it's pretty far down on my to-do list.
The airplane mode stuff is weird. It claims to be in airplane mode, but networking still works for me. This is likely a side-effect of impersonating the nemo user and setting XDG_RUNTIME_DIR=/run/user/100000, which seems to be needed to make pulseaudio work.
You could create /run/user/100010 and use that instead. It should interfere with SFOS less, but probably no audio.
Would it be possible to automatically determine the device screen resolution? (I know that this can be done in QML, but don't know if there's a command-line method that works with Wayland.)
"cat /sys/class/graphics/fb0/modes" seems to give useful output, but may be problematic on other devices if multiple modes are available. On my system /sys/class/graphics/fb0/mode was just an empty file.
matemana
2017-03-08, 22:34
"cat /sys/class/graphics/fb0/modes" seems to give useful output, but may be problematic on other devices if multiple modes are available. On my system /sys/class/graphics/fb0/mode was just an empty file.
could you check again there are two files. one named 'mode' and second 'modes' first file is empty for me but second has resolution in it. i was looking for this info thanks for help. i'll make changes to script to select resolution automatically.
could you check again there are two files. one named 'mode' and second 'modes' first file is empty for me but second has resolution in it. i was looking for this info thanks for help. i'll make changes to script to select resolution automatically.
Sounds like we're the same. On my system "mode" was empty and "modes" had the screen res.
matemana
2017-03-09, 05:37
Sounds like we're the same. On my system "mode" was empty and "modes" had the screen res.
All right then, i'll make script.
One thing, I do not understand how this works? is this some kind of emulation? Or does this arch linux use sailfish os kernel?
It's not emulated. It's just a chroot. The kernel (and some other resources, hence the bind mounts) are shared.
See: https://en.wikipedia.org/wiki/Chroot
matemana
2017-03-09, 10:32
Here is script to automatically get resolution.
This only needs one argument. for example: startlxde.
This can be change to search that file and if it's not available or if it could not find resolution to ask user to enter by hand, but i'm on work now and do not have time. When i get home i'll add that.
If you change $y $x places you will see half of your screen. Because Arch itself will open in landscape mode, but the whole window is in portrait mode. So if we somehow manage to rotate whole window itself it will work in landscape mode :)
resolution=`cat /sys/class/graphics/fb0/modes | grep -o -P '(?<=U:).*(?=p)'`
x=${resolution%%x*}
y=${resolution##*x}
chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1
matemana
2017-03-09, 21:10
It's not emulated. It's just a chroot. The kernel (and some other resources, hence the bind mounts) are shared.
See: https://en.wikipedia.org/wiki/Chroot
Your script had typo and there were many outputs in terminal. correct it.
/usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 12: dbus-lsunch: command not found
it should be dbus-launch :)
Best way to kill arch linux processes
just run this command
pid=`ps -ef | grep -v grep | grep xw | awk '{print $2}'` && kill -9 $pid
Can you tell me what terminal output do you have when running DeskChroot.sh?
Here is what i am having everytime i run it on Nexus 5
No backend specified through command line argument, trying auto resolution
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.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[W] unknown:0 - Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/root/.local/share", "/usr/local/share", "/usr/share")
[D] unknown:0 - Session path: "/org/freedesktop/login1/session/c2"
Service started, version: 7.0.0
access control disabled, clients can connect from any host
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
** Message: main.vala:102: Session is LXDE
** Message: main.vala:103: DE is LXDE
** Message: main.vala:134: log directory: /home/nemo/.cache/lxsession/LXDE
** Message: main.vala:135: log path: /home/nemo/.cache/lxsession/LXDE/run.log
[W] unknown:0 - X11 implementation of KKeyServer accessed from non-X11 platform! This is an application bug.
Hi. In regards to several of the warnings you are getting, there seems to be an inconsistency in the file naming convention. If you go to
/usr/share/kservicetypes5
you will see that the file (or services) do not have a dash in the name.
That is
kwin-effect.desktop
is called
kwineffect.desktop
in the directory. Although probably not the best solution, I just made a symbolic link to the correct file in the same directory.
Great work. Thanks for it. I run it on a oneplus one.
I tried to use plasmashell but everything is too small. (1920x1080 display) and eventhough I change dpi and 'scale desktop' a new start shows everything still too small (except the 'scale desktop' preview which seem to be the only widget that knows about this setting).
Great work. Thanks for it. I run it on a oneplus one.
I tried to use plasmashell but everything is too small. (1920x1080 display) and eventhough I change dpi and 'scale desktop' a new start shows everything still too small (except the 'scale desktop' preview which seem to be the only widget that knows about this setting).
If you're using xfce, you might try changing the setting in the "Fonts" tab in xfce's Appearance settings.
Hi. In regards to several of the warnings you are getting, there seems to be an inconsistency in the file naming convention. If you go to
/usr/local/share/kservicetypes5
you will see that the file (or services) do not have a dash in the name.
That is
kwin-effect.desktop
is called
kwineffect.desktop
in the directory. Although probably not the best solution, I just made a symbolic link to the correct file in the same directory.
Thanks!
For me the files were in /usr/share/kservicetypes5, and not in /usr/local/share/kservicetypes5.
Also there is a similar issue with the kwin-scripts.desktop file, which can be fixed the same way.
Thanks!
For me the files were in /usr/share/kservicetypes5, and not in /usr/local/share/kservicetypes5.
Also there is a similar issue with the kwin-scripts.desktop file, which can be fixed the same way.
Oops! You are right. I had cut and pasted the wrong part of the error message when writing the post. The path begins with /usr/share... Regardless, the warning was due to the file name. I'll edit my post. Thanks!
matemana
2017-03-10, 05:36
Oops! You are right. I had cut and pasted the wrong part of the error message when writing the post. The path begins with /usr/share... Regardless, the warning was due to the file name. I'll edit my post. Thanks!
I searched that file on places error gave me but did not find, i found that file on github i even wanted to create it but i did not. It was working and i left it.
preflex
i used xfce on my nexus and that setting in fonts does not change anything. now i tried this on my nexus 4 and everything is so much better.
1 everything is much bigger and easy to use.
2 terminal in arc linux works
Nexus 4 is amazing device for SFOS and this too. Aliendalvik works on it without issues, google play, video playback, camera everything works. I even think to have nexus 4 as my daily driver not nexus 5 haha
matemana
2017-03-10, 21:12
It's not emulated. It's just a chroot. The kernel (and some other resources, hence the bind mounts) are shared.
See: https://en.wikipedia.org/wiki/Chroot
You can use this script, it needs only one argument and it's either 'terminal' or 'startlxde'
You do not need two separate scripts.
#!/bin/bash
if [[ "$1" != "terminal" ]] && [[ "$1" != "startlxde" ]]; then
echo "No known args, please pass correct argument."
echo "for terminal only 'terminal'"
echo "for GUI 'startlxde'"
exit
fi
mount --bind /dev /opt/easychroot/Arch/dev
mount --bind /dev/pts /opt/easychroot/Arch/dev/pts
mount --bind /proc /opt/easychroot/Arch/proc
mount --bind /run /opt/easychroot/Arch/run
mount --bind /sys /opt/easychroot/Arch/sys
mount --bind /var/lib/dbus /opt/easychroot/Arch/var/lib/dbus
mount --bind /var/run/dbus /opt/easychroot/Arch/var/run/dbus
mount --bind /tmp /opt/easychroot/Arch/tmp
mount --bind /dev/shm /opt/easychroot/Arch/dev/shm
#mount --bind /etc/ssl/certs /opt/easychroot/Arch/etc/ssl/certs
mount --bind /home/nemo/.config/pulse /opt/easychroot/Arch/home/nemo/.config/pulse
mount --bind /home/nemo /opt/easychroot/Arch/home/nemo/real_home
mount --bind /home/nemo/Downloads /opt/easychroot/Arch/home/nemo/Downloads
mount --bind /home/nemo/android_storage /opt/easychroot/Arch/home/nemo/android_storage
mount --bind /home/nemo/Music /opt/easychroot/Arch/home/nemo/Music
mount --bind /home/nemo/Videos /opt/easychroot/Arch/home/nemo/Videos
mount --bind /home/nemo/Pictures /opt/easychroot/Arch/home/nemo/Pictures
mount --bind /home/nemo/Documents /opt/easychroot/Arch/home/nemo/Documents
if [ $1 == 'terminal' ]; then
chroot /opt/easychroot/Arch /bin/bash
fi
if [ $1 == 'startlxde' ]; then
chmod 1777 /dev/shm
resolution=`cat /sys/class/graphics/fb0/modes | grep -o -P '(?<=U:).*(?=p)'`
x=${resolution%%x*}
y=${resolution##*x}
echo "selected screen resolution"
echo $y $x
sleep 3
chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1
fi
DPI FIX!
QT_WAYLAND_FORCE_DPI="160" kwin_wayland --xwayland ...
This will make your title bars nice and big. Use whatever value you'd prefer
If you use xfce4, you should also set it in settings->appearance->fonts.
Also, my manager app is coming along well, and should see an alpha release shortly.
Bonus round:
I messed around with Ubuntu Zesty Beta 2 rootfs from http://cdimage.ubuntu.com/ubuntu-base/releases/zesty/beta-2/
It works ... mostly.
Unlike Archlinux, chromium does not work.
However, also unlike Archlinux, firefox does work!
Sneak preview screenshot of manager app:
To set XFCE dpi from command line:
xfconf-query -c xsettings -p /Xft/DPI -s 160
I have compiled glibc 2.23 (https://1drv.ms/u/s!AuDqiTFly4jxgwNy3HlShywCP0fE) using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.
Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
moodroid
2017-04-04, 15:56
I have compiled glibc 2.23 (https://1drv.ms/u/s!AuDqiTFly4jxgwNy3HlShywCP0fE) using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.
Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
Excellent, thanks. If you get time, could we have a quick Ubuntu setup guide, or would I be better waiting for preflex's installer?
Basically steps are the same like on arch. You have to unpack ubuntu rootfs (http://cdimage.ubuntu.com/ubuntu-base/releases/zesty/beta-2/ubuntu-base-17.04-beta2-base-armhf.tar.gz) to directory and install bunch of packages.
The best would be to work together (in github or here) to create well working build and chroot scripts.
I have attached my scripts but they need improving before execute.
I have compiled glibc 2.23 (https://1drv.ms/u/s!AuDqiTFly4jxgwNy3HlShywCP0fE) using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
For which devices is this an issue?
For few ancient devices like photon q.
https://wiki.merproject.org/wiki/adaptations/libhybris
Btw Weston works in landscape mode but is slow and without touch support.
moodroid
2017-04-05, 09:33
Basically steps are the same like on arch. You have to unpack ubuntu rootfs (http://cdimage.ubuntu.com/ubuntu-base/releases/zesty/beta-2/ubuntu-base-17.04-beta2-base-armhf.tar.gz) to directory and install bunch of packages.
The best would be to work together (in github or here) to create well working build and chroot scripts.
I have attached my scripts but they need improving before execute.
Hi,
Sorry to bother you again.
When I do the chroot, I get 'FATAL: kernel too old', so presumably, this is where the glibc 2.23 comes in? What do I need to do with that?
Also, 'cp /usr/bin/qemu-arm-static $UBU_DIR/usr/bin/' failed, as I don't have that file. Do I need it?
Thanks
You need to unpack glibc.tar.gz and copy content to ubuntu. As I said there is something wrong so you need to create symlinks (ugly workaround):
ln -s $UBU_DIR/lib/arm-linux-gnueabihf/*.so* $UBU_DIR/lib/
If you do it on device you don't have to copy qemu, otherwise install qemu-user-static.
I have the weird problem that any program that runs as normal user doesn't have internet access (such as chromium).
As root in the chroot, I can update and if I start Firefox as root I also have there access.
But ping as nemo says e.g. 'permission denied'
Does anyone have an idea why that's the case?
Mystery solved:
the nemo in chroot is not in group `inet`. I solved it via:
groupadd -g 3003 inet
usermod -a -G 3003 nemo
I tried again to get Maemo UI running in ArchLinux chroot (built from https://github.com/fremantle-gtk2) with XWayland. It's still too hacky, but UI itself is pretty smooth. What I tried is modifying Cogl Xlib winsys to connect both to X server and Wayland, but initializing EGL with Wayland instead, so libhybris Wayland platform can be used.
http://i.imgur.com/JyloVey.jpg
(http://imgur.com/a/ClgaX)
Some LXDE apps look surprisingly nice with Sapwood theme engine, by the way. I wonder if anyone would be interested to get this working with chenliangchen's keyboard device.
Wow! That is awesome!
How to build this, or can you share the rootfs?
I've had some stuff chewing up my free time lately, but I was hoping to finish up my utility this weekend or next week. I'd love to be able to build in support for launching this.
How to build this, or can you share the rootfs?
I plan to upload PKGBUILDs once it becomes more usable, but need to do some more packaging/testing/fixing first.
Sneak preview screenshot of manager app:
Hey, any progress on that? This looks great. I'm sad to see that this thread has not been active since months.
[Edit] Just sent a PM to Preflex to check directly with him, since it seems he has been away from TMO for some time now. It's time to cross fingers.
Playing around with this, I have a few noob questions. What would be the best way to use Arch chroot from the SD card (ext4) on a Jolla C instead of /opt/easychroot/Arch? The latest release on Preflex's github repository says that one should unpack the .tar.gz file to /opt/easychroot/Arch/, but that eats way too much space on the Jolla C's root partition.
I see two solutions but I'm not sure which one is the worst (I'm sure none can be considered good, but waiting some feedback):
# A
- tar -xvf ArchRootfsFile.tar.gz /media/sdcard/XXX/easychroot/Arch/ (as nemo or as root by the way?)
- Alter ArchChroot.sh and DeskChroot.sh to use this path in all mount points instead of /opt/easychroot/Arch/
- mount -o remount,exec /media/sdcard/XXX
- pkexec chown root /usr/lib/sudo/sudoers.so and pkexec chown root /etc/sudoers (I don't know why but I got errors with these files, telling me that they must be owned by uid 0; maybe because I unpacked the .tar.gz file as nemo?)
- sh DeskChroot.sh 1268 720 startxfce4
This is what I tried. It worked (at least it launched a Xfce4 window but I did not try many things there), except from the above technicalities.
# B (not tested and I don't know what I'm talking about, don't try if you don't know more than me!)
- tar -xvf ArchRootfsFile.tar.gz /media/sdcard/XXX/easychroot/Arch/ (as nemo or as root by the way?)
- mount /media/sdcard/XXX/easychroot/ /opt/easychroot/
- sh DeskChroot.sh 1268 720 startxfce4 (without altering the mounting points in Preflex's original DeskChroot.sh)
- Not sure if needed: mount -o remount,exec /media/sdcard/XXX
- Not sure if needed: pkexec chown root /usr/lib/sudo/sudoers.so and pkexec chown root /etc/sudoers
Would # B work, or would it eat my brain (and Jolla C's brain)? I have not tried it. I'm not even sure it would provide any benefit except from no need to alter the bash scripts from Preflex's github repository, I would probably still have the exec and uid 0 issues I had in # A I suppose?
Also, when I close the Xfce4 window and kill the xwayland processes with "pid=`ps -ef | grep -v grep | grep xw | awk '{print $2}'` && kill -9 $pid", I suppose everything is still mounted, and turns out I cannot launch any Sailfish application (the cover will show the loading animation, and eventually close) nor reboot. The phone can be turned off, but maybe not completely since I have to remove the battery to reboot it. Any ideas? I'm a bit lost and I may very well be playing with fire here, trying to do things I am not mastering.
I tried it yesterday evening on the Jolla tablet again. I have an Arch i686 chroot (tablet is Intel x86_64). The image linked to by Preflex (http://talk.maemo.org/showpost.php?p=1523283&postcount=40) had a lot of stuff missing from the Arch base system (had to install a lot to make it work).
For your questions, I would untar the image as root. Only /home/nemo should be owned by nemo user. I kept my image in /home/nemo/ on the tablet (too little space elsewhere). I don't really see the point in choosing either #A or #B in your example. Whatever works for you.
There is a typo in the start_xwayland_user_shell.sh script: s/dbus-lsunch/dbus-launch/
For your last problem, it sounds like you have bind mounted directories several times, creating loops. This happened to me and I had to hard reboot the device.
Also, starting the session as user at some point would make sense, there were some errors with regards to this. I'm toying with this.
Btw, the usability of the normal desktop environments is questionable at this point, at least on the tablet. Even though I tried to do changes as recommended for HIDPI, most things are incredibly small on a 1536 x 2048 display. So far I've only toyed with XFCE.
What would be the best way to use Arch chroot from the SD card (ext4) on a Jolla C instead of /opt/easychroot/Arch?
My past job was around deploying chroots (for scientific software on a clusters)
- tar -xvf ArchRootfsFile.tar.gz /media/sdcard/XXX/easychroot/Arch/ (as nemo or as root by the way?)
As root (unless the chroot doc specifies otherwise).
I don't know the specific details of *that* chroot, but most of the time it requires some specific access rights (e.g.: a different owner user:group) and you need root rights to set those, otherwise tar will complain that it cannot change the rights to the untarred files .
Alter ArchChroot.sh and DeskChroot.sh to use this path in all mount points instead of /opt/easychroot/Arch/
Good idea, but won't necessarily work :
- some will just call "chroot" to start the environment inside a new path name space (i.e.: the will see the content of the tar as "/usr/lib64" instead of "/opt/easychroot/Arch/usr/lib64")
that is simply a change as you mention.
- some chroot might entirely rely on environment variables, like "LD_LIBRARY_PATH" to indicate where to fetch the .so dynamic libraries (e.g.: "/opt/easychroot/Arch/lib64" instead of "/usr/lib64")
- but other my use Rpaths : search patch directly set inside an elf executable. (i.e.: the files in "/opt/easychroot/Arch/bin" are designed to search first in "/opt/easychroot/Arch/lib64". If the libraries are instead in "/media/sdcard/XXX/easychroot/Arch/lib64", the executable will miss them and default to the next search path which will lead to the Phone's own /usr/lib64, which won't contain what you need).
I'll have to check exactly how the archive work.
Usually debian works like the first case above. (it's basically a regular "/ust" debian tree, put into a different path that you "chroot" into).
Gentoo works using a mix of the other 2 solution (it's basically gentoo, but recompiled to work out of a sub-directory instead of /usr).
The best would be to head for your solution B :
mount /media/sdcard/XXX/easychroot/ /opt/easychroot/
Bind mounting could work.
But you could as well put a symlink :
ln -s /media/sdcard/XXX/easychroot /opt/
Both should work equally well.
And both work regardless of how the Arch chroot is organised.
mount -o remount,exec /media/sdcard/XXX[/I]
Yes, it is needed.
By default, the mount script ( /usr/sbin/sd-mount ) uses noexec.
Thanks to both of you for your detailed answers. I was concerned about # B because there was some kind of mount loop and I was afraid it would end up in http://forum-images.hardware.fr/images/perso/oh%20shi-.gif. The symlink seems like a good alternative. I thought about it but never remember in which order to put the source and destination arguments. :D
Can I put the following line at the beginning of DeskChroot.sh?
mount -o remount,exec /media/sdcard/XXX
Are there any side effects to expect, for the other files stored on my SD card (all my android_storage for instance, the rest is mostly just documents)?
Also, I suppose my issues with /etc/sudoers and sudoers.so was related to the fact that I unpacked the .tar.gz as nemo. I'll do it again as root.
So I fixed the typo Jukk reported, and then tried # B. Unfortunately, I can't get xfce running using solution # B, either with a symlink or a mount point to /opt/, while it did work yesterday when I tried with # A. However, several things were different, as I also had unpacked the .tar.gz as nemo, and had to solve several things manually after that, so I'm not exactly sure how to replicate and identify the exact source of the problem now. I did not try it extensively either yesterday so I don't know if it was fully working with # A, probably not, but at least a window was launched, as opposed to now. Maybe the issue I'm having now is not even related to # A or # B, but to the rootfs being unpacked as nemo?
This is the output of what I tried (with a symlink):
[root@Sailfish nemo]# ln -s /media/sdcard/2d4ffa5e-6ead-48da-bdd6-ce1c5a775849/easychroot /opt/
[root@Sailfish nemo]# mount -o remount,exec /media/sdcard/2d4ffa5e-6ead-48da-bdd6-ce1c5a775849
[root@Sailfish nemo]# sh /media/sdcard/2d4ffa5e-6ead-48da-bdd6-ce1c5a775849/easychroot/DeskChrootOrig.sh 1268 720 startxfce4
mount: mount point /opt/easychroot/Arch/home/nemo/real_home does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/Downloads does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/android_storage does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/Music does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/Videos does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/Pictures does not exist
mount: mount point /opt/easychroot/Arch/home/nemo/Documents does not exist
rm: cannot remove '/run/user/100000/wayland-0.lock': No such file or directory
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/100000/dbus/user_bus_socket"
declare -x EGL_DRIVER="egl_gallium"
declare -x EGL_PLATFORM="wayland"
declare -x FF_MEMLESS_SETTINGS="/usr/lib/qt5/plugins/feedback/qtfeedback-l500d.ini"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME=""
declare -x LOGNAME="nemo"
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;4 1:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=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:*.b z2=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 OLDPWD
declare -x PATH="/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin"
declare -x PWD="/"
declare -x QMLSCENE_DEVICE="customcontext"
declare -x QML_FIXED_ANIMATION_STEP="no"
declare -x QSG_FIXED_ANIMATION_STEP="no"
declare -x QT_DF_BASE="0.5"
declare -x QT_DF_BASEDEVIATION="0.025"
declare -x QT_DF_RANGE="0.08"
declare -x QT_DF_SCALEFORMAXDEV="0.37"
declare -x QT_DF_SCALEFORNODEV="0.6"
declare -x QT_GSTREAMER_CAMERABIN_FLAGS="15"
declare -x QT_GSTREAMER_CAMERABIN_SRC="droidcamsrc"
declare -x QT_GSTREAMER_PLAYBIN_FLAGS="0"
declare -x QT_IM_MODULE="Maliit"
declare -x QT_MESSAGE_PATTERN="[%{if-debug}D%{endif}%{if-info}I%{endif}%{if-warning}W%{endif}%{if-critical}C%{endif}%{if-fatal}F%{endif}] %{function}:%{line} - %{message}"
declare -x QT_QPA_PLATFORM="wayland"
declare -x QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
declare -x QT_WAYLAND_FORCE_DPI="96"
declare -x QT_WAYLAND_RESIZE_AFTER_SWAP="1"
declare -x SHELL="/bin/bash"
declare -x SHLVL="4"
declare -x SSH_CLIENT="10.0.0.8 50672 22"
declare -x SSH_CONNECTION="10.0.0.8 50672 10.0.0.114 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WAYLAND_DISPLAY="../../display/wayland-0"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 15: 7141 Segmentation fault kwin_wayland --xwayland --height "$Height" --width "$Width"
xhost: unable to open display ":0"
declare -x DISPLAY=":0"
declare -x HOME="/home/nemo"
declare -x HOSTNAME=""
declare -x LOGNAME="nemo"
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;4 1:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=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:*.b z2=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/nemo"
declare -x OLDPWD
declare -x PATH="/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin"
declare -x PWD="/"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/sbin/bash /usr/share/easychroot/scripts/start_de.sh startxfce4"
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="nemo"
declare -x USERNAME="nemo"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/sbin/startxfce4: X server already running on display :0
xrdb: Bad file descriptor
xrdb: Can't open display ':0'
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh: line 3: 7201 Segmentation fault systemctl --user import-environment DISPLAY XAUTHORITY
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh: line 7: 7204 Segmentation fault dbus-update-activation-environment DISPLAY XAUTHORITY
/etc/xdg/xfce4/xinitrc: line 121: 7206 Segmentation fault xfce4-session
[root@Sailfish nemo]#
DeskChrootOrig.sh is the original script from Preflex's github repository with the unaltered paths.
Any ideas?
You need to check that the directories exist before mounting. And after chrooting, check that it looks like you are inside the correct environment (should look like normal arch linux filesystem in this case). I recommend ssh:ing to the device and configure mounting and chrooting everything that way (much more easy to handle terminal from a PC). Of course starting xwayland and xfce must be done on the device itself, so you need to also to chroot on the device before doing that (mounting is only required once).
The easiest thing to do is to put the image where you want and then correct the paths in the script. There is no reason in this case to keep the exact paths as written in the original script. The only reason I see for that in some other case, is if you have some external software managing chroots, which at least I don't have on the Jolla device. Or if the images are specially built (not like copies of a normal linux system).
DrYak's instructions may apply when you have custom chroot images (maybe built from the host system), but in this case we have a normal Arch filesystem inside a tar. It would be the same as when you have a linux system on a hard disk that is currently unbootable and you use a rescue image (USB/CD) to boot and then mount the hard disk in a temporary directory, bind mount proc, sys, dev, etc. and then chroot into it and do the resuce operations. I've done this many, many times. Once in a chroot in such an image, it works just like a normal linux environment and no need to mess around with any libraries etc.
I don't think the missing directories in /home/nemo are not the real issue, they were already missing when I got xfce4 to start the other day.
Alright for the paths, then if there is no need to keep them as in Preflex's original file, I'll just use my altered script with the sd card path. However the same problem persists: I get these segmentation faults at the end and xrdb errors. I have no idea what they mean unfortunately, I'm not familiar with that. The only things that changed is that I untared the rootfs as root instead of nemo this time (and eventually did not have to fix uid 0 issues), and I fixed the typo in start_xwayland_user_shell.sh. Since you all said the .tar.gz should not be unpacked as nemo, I'm guessing you did it as root and got it working.
I am sshing no worries! You can see it in the terminal output I pasted above. Are you sure that starting xwayland and xfce cannot be started from ssh as well? I don't understand why it would be different, and in fact I'm almost sure I did it from ssh when I managed to get Arch and Xfce running correctly.
I confirm having the same issue after creating the missing /home/nemo folders with nemo:nemo ownership and running a DeskChroot.sh with /path/to/sdcard/easychroot instead of /opt/easychroot in the mount commands:
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# mount -o remount,exec /media/sdcard/2d4ffa5e-6ead-48da-bdd6-ce1c5a775849
[root@Sailfish nemo]# sh /media/sdcard/2d4ffa5e-6ead-48da-bdd6-ce1c5a775849/easychroot/DeskChroot.sh 1268 720 startxfce4
rm: cannot remove '/run/user/100000/wayland-0.lock': No such file or directory
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/100000/dbus/user_bus_socket"
declare -x EGL_DRIVER="egl_gallium"
declare -x EGL_PLATFORM="wayland"
declare -x FF_MEMLESS_SETTINGS="/usr/lib/qt5/plugins/feedback/qtfeedback-l500d.ini"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME=""
declare -x LOGNAME="nemo"
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;4 1:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=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:*.b z2=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 OLDPWD
declare -x PATH="/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin"
declare -x PWD="/"
declare -x QMLSCENE_DEVICE="customcontext"
declare -x QML_FIXED_ANIMATION_STEP="no"
declare -x QSG_FIXED_ANIMATION_STEP="no"
declare -x QT_DF_BASE="0.5"
declare -x QT_DF_BASEDEVIATION="0.025"
declare -x QT_DF_RANGE="0.08"
declare -x QT_DF_SCALEFORMAXDEV="0.37"
declare -x QT_DF_SCALEFORNODEV="0.6"
declare -x QT_GSTREAMER_CAMERABIN_FLAGS="15"
declare -x QT_GSTREAMER_CAMERABIN_SRC="droidcamsrc"
declare -x QT_GSTREAMER_PLAYBIN_FLAGS="0"
declare -x QT_IM_MODULE="Maliit"
declare -x QT_MESSAGE_PATTERN="[%{if-debug}D%{endif}%{if-info}I%{endif}%{if-warning}W%{endif}%{if-critical}C%{endif}%{if-fatal}F%{endif}] %{function}:%{line} - %{message}"
declare -x QT_QPA_PLATFORM="wayland"
declare -x QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
declare -x QT_WAYLAND_FORCE_DPI="96"
declare -x QT_WAYLAND_RESIZE_AFTER_SWAP="1"
declare -x SHELL="/bin/bash"
declare -x SHLVL="4"
declare -x SSH_CLIENT="10.0.0.8 50734 22"
declare -x SSH_CONNECTION="10.0.0.8 50734 10.0.0.114 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WAYLAND_DISPLAY="../../display/wayland-0"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 15: 7220 Segmentation fault kwin_wayland --xwayland --height "$Height" --width "$Width"
xhost: unable to open display ":0"
declare -x DISPLAY=":0"
declare -x HOME="/home/nemo"
declare -x HOSTNAME=""
declare -x LOGNAME="nemo"
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;4 1:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=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:*.b z2=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/nemo"
declare -x OLDPWD
declare -x PATH="/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin"
declare -x PWD="/"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/sbin/bash /usr/share/easychroot/scripts/start_de.sh startxfce4"
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="nemo"
declare -x USERNAME="nemo"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/sbin/startxfce4: X server already running on display :0
xrdb: Bad file descriptor
xrdb: Can't open display ':0'
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh: line 3: 7351 Segmentation fault systemctl --user import-environment DISPLAY XAUTHORITY
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh: line 7: 7353 Segmentation fault dbus-update-activation-environment DISPLAY XAUTHORITY
/etc/xdg/xfce4/xinitrc: line 121: 7355 Segmentation fault xfce4-session
[root@Sailfish nemo]#
Whenever shell scripts are failing and you don't know why, run all of the commands step by step in terminal. Now it looks like it is crashing when launching kwin_wayland, but you will see it better if doing it manually. Maybe some packages are missing from the image?
Thanks Jukk. In fact I did, sorry if I did not tear it down from the beginning, but I still get the same error without much more details than what you already understood from the full output above:
Mounting is not the issue, chrooting in Arch is no issue either, but issues appear when start_xwayland_user_shell.sh is started:
[root@Sailfish scripts]# rm /run/user/100000/wayland-0.lock
rm: cannot remove '/run/user/100000/wayland-0.lock': No such file or directory
But I suppose it's nothing, probably just due to the fact that it never worked before in this rootfs (remember that I deleted the one I unpacked as nemo and unpacked a new one as root) so there is no .lock file to delete in Arch's system.
[root@Sailfish scripts]# kwin_wayland --xwayland --height 1268 --width 720 &
[1] 11469
Kinda works I guess since there's an output (not sure this is the expected output though?), but regardless of the next command to be executed (could be something as simple as ls or pwd), a segmentation fault will appear. In fact, the segmentation fault comes with this kwin_wayland command, but only appears in the next command due to the & at the end. Without the &, I just get the segmentation fault without the 11469 output.
From there, and until this issue is solved, I'm not sure it makes much sense to further investigate the next commands in the script (export DISPLAY=:0, then xhost +, then sudo -u nemo bash /usr/share/easychroot/scripts/start_de.sh "$Start_DE") as they are probably influenced by this error.
Is kwin_wayland causing a segmentation fault for you too guys? Maybe someone using a Jolla C as well, or at least an ARM device?
Bump! Any ideas? I'd like to make it work, I have a use for some desktop applications, and I think functional chroot will be very convenient when Chen's phone becomes a real thing (if we manage to rotate the chroot display into landscape).
one_with_linux
2017-08-09, 22:27
When you run kwin_wayland --xwayland... do you see a window?
Perhaps it would help to use a different OS base for the chroot. Debian has lots of ARM packages..
You could also use the android runtime and use xserver xsdl as a workaround.
Nope, no window opening. It did work well when I untared the rootfs as nemo and then fixed the uid 0 issues, but that certainly caused a lot of other issues that maybe did not prevent opening xwayland, but surely would have caused a lot of other permission issues. I just did not play much with it when it worked so I had no chances to see any bugs. That time, the rootfs was unpacked in /opt according to Preflex's instructions and not on the SD, and I have not tried this again because apparently unpacking as nemo is not the way to go, and the untar process is very long so I could not do many experiments.
I would love to try with Debian or the Android runtime, or anything that could work really, but I have no idea where to start with and I have no skills to tweak things around to make it work. My only experience with chroot are EasyDebian on N900 or Preflex's instructions here, and there is no way I could do it myself without some pre-configured scripts and instructions. :/
It's sad that Preflex suddenly disappeared while his app was almost ready according to his posts. He has not replied to my PM a few days ago, hope nothing bad happened to him and that it's just a loss of interest in this project.
one_with_linux
2017-08-09, 23:07
I plan on making/helping create the GUI once my Sony Xperia X stops sharing all my personal data and becomes more sailfish. ;)
If you have sfdroid (community port) or an official Jolla device you should be able to install xserver xsdl (Android app)
That would take the place of the command "kwin_wayland --xwayland"
(Simply open the android app instead)
Then you can continue exporting the display var and run a X11 app.
I have updated scripts for create/use ubuntu. There are also basic configurations for kwin, weston and qxcompositor.
Use it with caution!
https://github.com/elros34/sailfish_ubu_chroot
Would be nice to have touch friendly configurations for lxde, xfce or other desktop environments.
Thanks go to preflex and TheKit.
Thanks a lot for that, can't try at the moment but I'll surely spend some time trying to make it work on my Jolla C during my days off soon. Would you have any link to the rootfs we should use with the scripts?
[Edit] And for reference, a link to your related tweak to allow landscape mode: https://openrepos.net/content/elros34/qxcompositor
jakibaki
2017-08-23, 06:33
Would you have any link to the rootfs we should use with the scripts?
The rootfs gets prepered by the ubu_create.sh script.
one_with_linux
2017-08-23, 21:41
I have updated scripts for create/use ubuntu. There are also basic configurations for kwin, weston and qxcompositor.
Use it with caution!
https://github.com/elros34/sailfish_ubu_chroot
Would be nice to have touch friendly configurations for lxde, xfce or other desktop environments.
Thanks go to preflex and TheKit.
I'm trying to port this to openSuse TW. The issue I'm running into is that Xwayland does not have touch input. Also, I think it would be ideal to install Xwayland on SFOS instead of in the chroot.
https://talk.maemo.org/showthread.php?t=93828
It looks like it mostly works... once again touch is the issue with the native install.
Yes, it would be better to have Xwayland working in sailfish instead recompile it for every distro. Maybe it's enough to build latest Xwayland together with wl_seat.patch (like I did for ubuntu) in sfos sdk but I never managed to finish it.
By the way I got a reply from Preflex, who confirmed his application project is not abandoned, but he's busy with a Sailfish porting task at the moment and some hardware/internet issues, and then he plans on resuming his work on the application.
Hi I have download ArchLinuxChrootFS-armv7.tar.gz
I would like to install it on my micro sd card on my Jolla 1.
I have copy the gz file to media/sdcard/
tar -xzvf ArchLinuxChrootFS-armv7.tar.gz
(inside sdcard dir)
Do i need to exctract files on /media/sdcard/ dir or
/media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a dir?
Now about these files:
DeskChroot.sh
ArchChroot.sh
ManChroot.sh
If i want to run the desktop what i need to change inside file DeskChroot.sh? what lines?
If somebody can help me to run ArchLinux from my sdcard please.
On my Jolla C
I had kept Manjaro installed.
Now the dir is about 8 GB why?
how to reduced it? Cause my storage now is full.
I don't want to remove it.
Since i have Manjaro installed i can't enter in mass storage mode when i plug usb on my pc why? hiw to resolve that? i can only with developer mode.
Thanks
I would like to install it on my micro sd card on my Jolla 1.
I have copy the gz file to media/sdcard/
tar -xzvf ArchLinuxChrootFS-armv7.tar.gz
(inside sdcard dir)
Do i need to exctract files on /media/sdcard/ dir or
/media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a dir?
I'm pretty sure /media/sdcard/ is your rootfs and /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a is your sd card. You can confirm it using:
df -h /media/sdcard/
df -h /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a
Now the dir is about 8 GB why?
how to reduced it? Cause my storage now is full.
I know nothing about arch but maybe clean some package manager cache.
Since i have Manjaro installed i can't enter in mass storage mode when i plug usb on my pc why? hiw to resolve that? i can only with developer mode.
You can't use sdcard and mass storage simultanuesly. First you must unmount Manjaro or reboot phone. Better use mtp or sftp (filezilla).
Hi,
is it possible to run Archlinux on Xperia X with SFOS 2.1.3.5?
https://github.com/Preflex/easy-chroot/releases/tag/0.0.2
Anybody try?
I put extract files tar.gz archlinux in
/home/nemo/Arch/
Here is my error:
o@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# sh DeskChroot.sh 1920 1080 startxfce4
: command not found 2:
does not existint /home/nemo/Arch/dev
does not existint /home/nemo/dev/pts
does not existint /home/nemo/Arch/proc
does not existint /home/nemo/Arch/run
does not existint /home/nemo/Arch/sys
does not existint /home/nemo/var/lib/dbus
does not existint /home/nemo/var/run/dbus
does not existint /home/nemo/Arch/tmp
does not existint /home/nemo/Arch/dev/shm
does not existint /home/nemo/Arch/home/nemo/.config/pulse
does not existint /home/nemo/Arch/home/nemo/real_home
does not existint /home/nemo/Arch/home/nemo/Downloads
does not existint /home/nemo/Arch/home/nemo/android_storage
does not existint /home/nemo/Arch/home/nemo/Music
does not existint /home/nemo/Arch/home/nemo/Videos
does not existint /home/nemo/Arch/home/nemo/Pictures
does not existint /home/nemo/Arch/home/nemo/Documents
: command not found 21:
chmod: cannot access `/dev/shm\r': Aucun fichier ou dossier de ce type
rm: cannot remove '/run/user/100000/wayland-0.lock': No such file or directory
chown: cannot access '/dev/shm': No such file or directory
/usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 12: dbus-lsunch: command not found
declare -x AG_PROVIDERS="/usr/share/accounts/providers"
declare -x AG_SERVICES="/usr/share/accounts/services"
declare -x AG_SERVICE_TYPES="/usr/share/accounts/service-types"
declare -x BOOTSTATE="USER"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/100000/dbus/user_bus_socket"
declare -x EGL_DRIVER="egl_gallium"
declare -x EGL_PLATFORM="wayland"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME=""
declare -x HYBRIS_LD_LIBRARY_PATH="/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib"
declare -x LANG="fr_FR.utf8"
declare -x LIPSTICK_OPTIONS="-plugin evdevtouch:/dev/touchscreen -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/
droid.qmap"
declare -x LOGNAME="nemo"
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;3
7;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:*.t ar=00;31:*.tgz=00;3
1:*.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:*.rp
m=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp =00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=0 0;35:"
declare -x MANAGERPID="4607"
declare -x NOTIFY_SOCKET="/run/user/100000/systemd/notify"
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 QMLSCENE_DEVICE="customcontext"
declare -x QML_FIXED_ANIMATION_STEP="no"
declare -x QSG_FIXED_ANIMATION_STEP="no"
declare -x QTCONTACTS_MANAGER_OVERRIDE="org.nemomobile.contacts.sqlite"
declare -x QT_DF_BASE="0.5"
declare -x QT_DF_BASEDEVIATION="0.025"
declare -x QT_DF_RANGE="0.08"
declare -x QT_DF_SCALEFORMAXDEV="0.37"
declare -x QT_DF_SCALEFORNODEV="0.6"
declare -x QT_GSTREAMER_CAMERABIN_FLAGS="15"
declare -x QT_GSTREAMER_CAMERABIN_SRC="droidcamsrc"
declare -x QT_GSTREAMER_PLAYBIN_FLAGS="0"
declare -x QT_IM_MODULE="Maliit"
declare -x QT_MESSAGE_PATTERN="[%{if-debug}D%{endif}%{if-info}I%{endif}%{if-warning}W%{endif}%{if-critical}C%{endif}%{i
f-fatal}F%{endif}] %{function}:%{line} - %{message}"
declare -x QT_OPENGL_NO_BGRA="1"
declare -x QT_QPA_PLATFORM="wayland"
declare -x QT_WAYLAND_COMPOSITOR_NO_THROTTLE="1"
declare -x QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
declare -x QT_WAYLAND_FORCE_DPI="96"
declare -x QT_WAYLAND_RESIZE_AFTER_SWAP="1"
declare -x SESSION_TARGET="default.target"
declare -x SHELL="/bin/bash"
declare -x SHLVL="4"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WAYLAND_DISPLAY="../../display/wayland-0"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 13: cannot redirect standard input from /dev/null: No
such file or directory
No backend specified through command line argument, trying auto resolution
unable to open lockfile /run/user/100000/wayland-0.lock check permissions
FATAL ERROR: could not create Wayland server
xhost: unable to open display ":0"
dbus-launch: fatal error setting up standard fds: Failed to open /dev/null: No such file or directory
declare -x DISPLAY=":0"
declare -x HOME="/home/nemo"
declare -x HOSTNAME=""
declare -x LANG="fr_FR.utf8"
declare -x LOGNAME="nemo"
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;3
7;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:*.t ar=00;31:*.tgz=00;3
1:*.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:*.rp
m=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp =00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=0 0;35:"
declare -x MAIL="/var/mail/nemo"
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/bash"
declare -x SHLVL="1"
"eclare -x SUDO_COMMAND="/usr/sbin/bash /usr/share/easychroot/scripts/start_de.sh startxfce4
declare -x SUDO_GID="0"
declare -x SUDO_UID="0"
declare -x SUDO_USER="root"
declare -x TERM="xterm"
declare -x USER="nemo"
declare -x USERNAME="nemo"
declare -x XDG_RUNTIME_DIR="/run/user/100000"
/usr/share/easychroot/scripts/start_de.sh: line 8: cannot redirect standard input from /dev/null: No such file or direc
tory
/usr/share/easychroot/scripts/start_de.sh: line 8: $'startxfce4\r': command not found
: command not found 24:
: command not found 25:
[root@Sailfish nemo]
How to resolve this problem?
[root@Sailfish nemo]# cd Arch
[root@Sailfish Arch]# ls
ArchChroot.sh bin DeskChroot.sh etc lib mnt proc run srv tmp var
ArchLinuxChrootFS-armv7.tar.gz boot dev home ManChroot.sh opt root sbin sys usr
[root@Sailfish Arch]#
Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# sh ArchChroot.sh
: command not found 2:
does not existint /home/nemo/Arch/dev
does not existint /home/nemo/Arch/dev/pts
does not existint /home/nemo/Arch/proc
does not existint /home/nemo/Arch/run
does not existint /home/nemo/Arch/sys
does not existint /home/nemo/Arch/var/lib/dbus
does not existint /home/nemo/Arch/tmp
does not existint /home/nemo/shm
does not existint /home/nemo/Arch/home/nemo/.config/pulse
does not existint /home/nemo/Arch/home/nemo/real_home
does not existint /home/nemo/Arch/home/nemo/Downloads
does not existint /home/nemo/Arch/home/nemo/android_storage
does not existint /home/nemo/Arch/home/nemo/Music
does not existint /home/nemo/Arch/home/nemo/Videos
does not existint /home/nemo/Arch/home/nemo/Pictures
does not existint /home/nemo/Arch/home/nemo/Documents
: command not found 20:
chroot: cannot run command «*/bin/bash\r*»: Aucun fichier ou dossier de ce type
: command not found 22:
: command not found 23:
[root@Sailfish nemo]#
This sh file doesn't work :(
matemana
2017-11-20, 19:20
Sneak preview screenshot of manager app:
How is that project now? Is the app finished?
matemana
2017-11-20, 19:36
I tried again to get Maemo UI running in ArchLinux chroot (built from https://github.com/fremantle-gtk2) with XWayland. It's still too hacky, but UI itself is pretty smooth. What I tried is modifying Cogl Xlib winsys to connect both to X server and Wayland, but initializing EGL with Wayland instead, so libhybris Wayland platform can be used.
http://i.imgur.com/JyloVey.jpg (http://imgur.com/a/ClgaX)
Some LXDE apps look surprisingly nice with Sapwood theme engine, by the way. I wonder if anyone would be interested to get this working with chenliangchen's keyboard device.
How did you rotate screen?
I installed arch chroot againg and i am going to buy slimport cable i want to attach this to a monitor to have some PC like experience on my Nexus 5 :)
matemana
2017-11-20, 20:20
I have updated scripts for create/use ubuntu. There are also basic configurations for kwin, weston and qxcompositor.
Use it with caution!
https://github.com/elros34/sailfish_ubu_chroot
Would be nice to have touch friendly configurations for lxde, xfce or other desktop environments.
Thanks go to preflex and TheKit.
I run ubu_chroot.sh but it says this
/.ubuntu already mounted
chrooting
Failed to open /sfos/usr/libexec/droid-hybris/system/: No such file or directory. Aborting!
groups: cannot find name for group ID 990
groups: cannot find name for group ID 992
groups: cannot find name for group ID 994
groups: cannot find name for group ID 997
groups: cannot find name for group ID 1000
groups: cannot find name for group ID 1002
groups: cannot find name for group ID 1003
groups: cannot find name for group ID 1005
groups: cannot find name for group ID 1006
groups: cannot find name for group ID 1013
groups: cannot find name for group ID 1023
groups: cannot find name for group ID 1024
Oh it chrooted but in console mode. How can i start GUI in landscape mode?
I want landscape mode for arch linux but i wanted to try if it works so i chose qxcompositor.
I also have installed this package on my sfos device https://openrepos.net/content/elros34/qxcompositor
You must be more verbose. Does ubu_create.sh finished without errors? Try ubu_close.sh and then ubu_chroot.sh once again. You can also uncomment set -x from ubu_* scripts and in image /usr/share/ubu_chroot/
For gui try ubu_install.sh (qxcompositor, lxde) and read instruction about qxcompositor on openrepos.
BTW slimport support (https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/tree/slimport-wip)is not in master branch and is untouched since eons.
matemana
2017-11-20, 21:34
You must be more verbose. Does ubu_create.sh finished without errors? Try ubu_close.sh and then ubu_chroot.sh once again. You can also uncomment set -x from ubu_* scripts and in image /usr/share/ubu_chroot/
For gui try ubu_install.sh (qxcompositor, lxde) and read instruction about qxcompositor on openrepos.
BTW slimport support (https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/tree/slimport-wip)is not in master branch and is untouched since eons.
I can't edit those files in /usr/share/ubu_chroot/ Ubuntu does not have vi, vim, nano, nothing! and i can't install anything. I removed whole sailfish_ubu_chroot folder and git cloned and ran ubu_create but it did not take that much time as in first run. How to remove completely everything?
I read instruction but do not understand. I have arch linux chroot working with GUI is it easy to modify for landscape mode?
First it runs this
chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1
rm /run/user/100000/wayland-0.lock
chmod 1777 /dev/shm
export XDG_RUNTIME_DIR=/run/user/100000
export $(dbus-lsunch)
QT_WAYLAND_FORCE_DPI="160" kwin_wayland --xwayland --height "$Height" --width "$Width" &
##listen for $DISPLAY and pass it
sleep 10
export DISPLAY=:0
xhost +
sudo -u nemo bash /usr/share/easychroot/scripts/start_de.sh "$Start_DE"
and here is start_de.sh
Start_DE="$1"
export XDG_RUNTIME_DIR=/run/user/100000
export $(dbus-launch)
export DISPLAY=:0
$Start_DE &
sleep 10
As mentioned earlier for arch you would need to build xwayland with wl_seat.patch otherwise touch will not work.
I can't help if you don't provide me logs from your ubuntu installation (set -x or manual installation). i can't install anything is not useful at all. Removing sailfish_ubu_chroot is enough to clear everything provided you unmount image without errors.
For landscape mode:
host:
qxcompositor --wayland-socket-name ../../display/wayland-1
chroot:
WAYLAND_DISPLAY=../../run/display/wayland-1 # for arch it can be different path
Xwayland &
Join to #sailfishos, it will be faster.
saulhidalgoaular
2018-01-07, 19:31
I downloaded the roofs, and it runs AMAZING!! GREAT JOB man. :)
I had to start the desktop as root, but it is ok.
Only thing that would be awesome is to have a mouse on screen like onboard, similar to a laptop.
I've been working on my manager again.
Also, I managed to get firefox-wayland to compile on archlinux x86_64. Need to cross-compile for archlinux-arm. This might get interesting.
Sorry I've been away for so long. Good stuff on the way soon.
Sorry I've been away for so long. Good stuff on the way soon.
Sailfish has taught us the lesson of patience!
jakibaki
2018-05-04, 07:36
The nix package manager (https://nixos.org/nix/) works out of the box on arm64 and probably x86 sailfish devices (I tried it on my Xperia X) with xwayland and pulseaudio working :)
Even chromium works quite nicely if paired with kwin and onboard!
Before you install nix please make sure that you have enough space on your rootfs or do as I did and mount your sd-card to /nix.
Also run
devel-su touch /nix/.nomedia
to prevent sailfish from trying to find media-files in your /nix-folder which eats up a lot of cpu-power.
Here (https://www.dropbox.com/s/11zw4a4ck1dbuea/Xwayland?dl=1)'s a link to a patched arm64 xwayland with working touch-input (I applied this (https://github.com/elros34/sailfish_ubu_chroot/blob/master/xwayland/wl_seat.patch) patch).
"sh: sorry, there is no binary distribution of Nix for your platform"
No armv7 support? Just 64-bit? Bummer ...
Maybe guix (https://www.gnu.org/software/guix/) for 32-bit fun?
jakibaki
2018-05-04, 22:32
"sh: sorry, there is no binary distribution of Nix for your platform"
No armv7 support? Just 64-bit? Bummer ...
Someone made a blog-post about nix on armv7-sailfish (http://fgaz.me/posts/2018-01-25-nix-on-jolla1/) which is how I got the idea to try it on my xperia x in the first place.
However a lot of packages won't have a prebuild version on armv7 so building chromium/firefox will take a 'while'.
Someone made a blog-post about nix on armv7-sailfish (http://fgaz.me/posts/2018-01-25-nix-on-jolla1/) which is how I got the idea to try it on my xperia x in the first place.
However a lot of packages won't have a prebuild version on armv7 so building chromium/firefox will take a 'while'.
firefox-wayland took all day to compile and chewed up many GB of disk space on my laptop. Not really doable on my 16GB Nexus 4 with no goddamned sdcard (gee, thanks, Google).
Thankfully guix has icecat 52, (but no chromium) precompiled, as well as prebuilt xwayland packages. However, it doesn't seem like the official guix repo doesn't precompile for aarch64.
Note: i had to add the --disable-chroot option when starting the daemon, to use guix on my trusty mako, which sadly doesn't have all the cgroups stuff enabled in the kernel for the old 2.0.5.6 build.
It looks like nix for aarch64 users, and guix for the 32-bit crowd, at least, for now.
guix is weird, but I think I like it. It builds from source by default, and only takes binaries if you ask it to do so.
It doesn't look like guix has onboard in it, whether source or binary. Bummer. I guess I'll have to figure out how to build and package it. Sounds like fun.
Guix seems a lot like nix, but the official repo has less stuff, and it is very Stallmanite (can't blame 'em, guix is an official GNU project, after all)..
I wonder how much work it would be to write a local service to match Qt and GTK color schemes to the ambiance theme.
Much to think about over the coming days, including whether to replace my ailing mako with another mako, jump the shark to hammerhead (which has reasonably-good halium support), wait until next month to get a xperia, or hold out for the librem5.
firefox-wayland took all day to compile and chewed up many GB of disk space on my laptop. Not really doable on my 16GB Nexus 4 with no goddamned sdcard (gee, thanks, Google).
What I do for large compilations, when I need a lot of scratch space is I mount a NFS share over usb ethernet to the device.
Additional bonus is I don't kill my battery while crunching it :)
When on the road you could probably mount something over air interface but I guess the latencies pretty much kill any usability... :D
geez guys just set up the cross compilation toolkit, compiling on device is fine for small things...
geez guys just set up the cross compilation toolkit, compiling on device is fine for small things...
Yeah. Sadly my laptop only has a small ssd. I barely had enough space to build firefox. Chromium is even worse in that regard, and i doubt anything i have available can get it done. Someone else will have to package it.
Yeah. Sadly my laptop only has a small ssd. I barely had enough space to build firefox. Chromium is even worse in that regard, and i doubt anything i have available can get it done. Someone else will have to package it.
Did you build an rpm for firefox-wayland? I've started collecting dependencies for it on Mer-OBS
I was building for archlinux,x86_64 and it had problems packaging. Building for arm will take a while.
Building for mer would be a good idea, but there's likely to be issues with keyboard support.
I'm expecting some replacements for my Nexus 4 later today. I'll be busy tomorrow, but I should have plenty of time to hack around with stuff on Thursday.
matemana
2018-05-29, 08:26
I was building for archlinux,x86_64 and it had problems packaging. Building for arm will take a while.
Building for mer would be a good idea, but there's likely to be issues with keyboard support.
I'm expecting some replacements for my Nexus 4 later today. I'll be busy tomorrow, but I should have plenty of time to hack around with stuff on Thursday.
Do you have any new build of arch chroot for nexus 5? Maybe with fixed rotation? I repaired my nexus 5 and also bought nexus 4 to play again with Sailfish. I want to somehow transfer my nexus screen to display like ubuntu touch can so i have all in phone PC :D
matemana
2018-05-29, 18:08
I installed archchroot on my nexus 5 and i can't use internet in arch chroot. It does not resolve hostnames too. Although it does work great on nexus 4 using 2.0.5.6 but on nexus 5 i have 2.1.3.7 SFOS
badpixel
2018-05-29, 22:03
I installed archchroot on my nexus 5 and i can't use internet in arch chroot. It does not resolve hostnames too.
Have you checked /etc/resolv.conf?
you can try this command(run as root[sudo, etc]:
echo nameserver 8.8.8.8 > /etc/resolv.conf
I installed archchroot on my nexus 5 and i can't use internet in arch chroot. It does not resolve hostnames too. Although it does work great on nexus 4 using 2.0.5.6 but on nexus 5 i have 2.1.3.7 SFOS
Off topic: have you tried to install Alien Dalvik on the new SF on the Nexus 5 with the latest rpms?
Fuzzillogic
2018-05-31, 22:36
Have you checked /etc/resolv.conf?
you can try this command(run as root[sudo, etc]:
echo nameserver 8.8.8.8 > /etc/resolv.conf
That's Google's DNS server. You could use CloudFlare's server, at 1.1.1.1. At least they claim to be much more privacy friendly. They also claim to be faster.
That's Google's DNS server. You could use CloudFlare's server, at 1.1.1.1. At least they claim to be much more privacy friendly. They also claim to be faster.
They might claim to, but they have other issues it seems
https://bgpstream.com/event/138295
0312birdzhang
2018-06-08, 08:47
Great Job! :)
hi,
404 not found
anybody had saved all files?
https://github.com/Preflex/easy-chroot
thank you
I noticed that tonight too before checking this thread. Sad news, I hope Preflex is still on it, this all looked beautiful and I was eagerly looking forward to running it on my Jolla.
With Elros34 Help here is Ubuntu 17.04 xfce4 desktop running on Xperia X device (sfos 3.0.0.8):
Thanks to him for his good work :)
With Elros34 Help here is Ubuntu 17.04 xfce4 desktop running on Xperia X device (sfos 3.0.0.8):
Thanks to him for his good work :)
Nice! Would you please post files and some instructions. Thanks!
I try to have audio on with pulseaudio (pavucontrol)
I have an error: connection to pulseaudio failed...
how to resolve this error?
it will be very nice to have sound out.
moodroid
2018-11-14, 18:47
Nice! Would you please post files and some instructions. Thanks!
Hi @Elros34
If you get a mo, is this all still working on the Photon Q?
Thanks
Its been so long since I tried this but many of the commands are in the first post of this thread. I remember it worked for Manjaro distribution. Kind of a slug on my Jolla 1 but usable. Those on Xperia probably will have a better experience. Will have to try again.
EDIT: A link to the Ubuntu distribution used would be nice :)
Its been so long since I tried this but many of the commands are in the first post of this thread. I remember it worked for Manjaro distribution. Kind of a slug on my Jolla 1 but usable. Those on Xperia probably will have a better experience. Will have to try again.
EDIT: A link to the Ubuntu distribution used would be nice :)
Here is the link :
https://github.com/elros34/sailfish_ubu_chroot?files=1
Hi @Elros34
If you get a mo, is this all still working on the Photon Q?
Thanks
Yes like on Xperia X.
running on my Xperia XA2 plus 6GB RAM dual SIM...
impossible to run Firefox why? any help with this error
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.