Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot login KDE/Plasma
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Sat Mar 17, 2018 10:46 am    Post subject: Cannot login KDE/Plasma Reply with quote

Hi,
giving the right password to sddm i cannot login..always the first screen appears.
i can login to lxqt but not to kde/plasma or kde/openbox

these are the erros :
Code:

 startkde
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
startkde: Starting up...
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
kdeinit5: Aborting. bind() failed: Άρνηση πρόσβασης
Could not bind to socket '/kdeinit5__0'
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
kdeinit5_wrapper: Warning: connect(/kdeinit5__0) failed: : No such file or directory
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
ksmserver: "/KSMserver"
ksmserver: KSMServer: cannot open /KSMserver__0: Άρνηση πρόσβασης
ksmserver: KSMServer: Aborting.
startkde: Shutting down...
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
kdeinit5_wrapper: Warning: connect(/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
startkde: Done.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Sat Mar 24, 2018 3:28 pm    Post subject: Reply with quote

Any ideas? Any help?
i cannot imagine anything...

thank you
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 383

PostPosted: Thu Mar 29, 2018 8:01 am    Post subject: Reply with quote

Just create /run/user/<your PID> with 0700 permissions.
in my case I have KSMserver__0 file in /run/user/1000/ so its probably it.
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Fri Mar 30, 2018 2:58 pm    Post subject: Reply with quote

Code:
mkdir /var/run/user/1000
mkdir: cannot create directory  «/var/run/user/1000»: file exist


cdmod 0700 /var/run/user/1000 makes no difference...
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6315
Location: Austria

PostPosted: Fri Mar 30, 2018 3:25 pm    Post subject: Reply with quote

Not enough information.

Code:
$ emerge --info


If systemd, make sure consolekit is not installed.
If openrc, do you use consolekit or elogind? Make sure it is in boot runlevel. Make sure that dbus is in default runlevel.

Basically, make sure you meet the Prerequisites.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Fri Mar 30, 2018 9:45 pm    Post subject: Reply with quote

Code:
emerge --info
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
Portage 2.3.24 (python 3.6.3-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    16390368 total,  13370476 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 30 Mar 2018 13:15:01 +0000
Head commit of repository gentoo: 1368d6ae9995a7436b3c8705880cb32c01fa6274
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync8.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

bobwya
    location: /var/lib/layman/bobwya
    sync-type: laymansync
    sync-uri: https://github.com/bobwya/miscellaneous_ebuilds.git
    masters: gentoo
    priority: 50

c2p-overlay
    location: /var/lib/layman/c2p-overlay
    sync-type: laymansync
    sync-uri: https://github.com/karolgrudzinski/c2p-overlay.git
    masters: gentoo
    priority: 50

eroen
    location: /var/lib/layman/eroen
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/eroen.git
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: laymansync
    sync-uri: git://github.com/microcai/gentoo-zh.git
    masters: gentoo
    priority: 50

goris
    location: /var/lib/layman/goris
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/user/goris.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/kde.git
    masters: gentoo
    priority: 50

lua
    location: /var/lib/layman/lua
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/lua.git
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    sync-type: laymansync
    sync-uri: git://github.com/Sabayon/for-gentoo.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver1 -mprefer-avx128 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=bdver1 -mprefer-avx128 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/"
LANG="el_GR.utf8"
LC_ALL="el_GR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="el el_GR en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi activities alsa amd64 apng asf berkdb bluray branding bzip2 cairo cdda cddb cdds cdio cdparanoia cdr cgroups chm cli colord crypt cups custom-optimization cxx dbus declarative designer devices dri drm dts dvb dvd dvdnav dvdr dvdread editor elogind embedded emboss encode evdev exif faad fam fat fbdev ffmpeg firebird flac fontconfig fortran freetype freetype2 g3dvl gcj gdbm gif gimp glamor gles2 glib gpg gphoto2 gpm gtk gtk3 haptic headless iconv icu id3tag idn ivi jack jpeg kde kerberos kipi kwallet launch lcms ldap libass libkms libnotify lm_sensors mad matroska minizip mjpeg mmx mng modules mozilla mp3 mp4 mpeg mpg123 mpi msn multilib mysql ncp ncurses network networkmanager nls nptl ntfs nvidia ocr ogg ogm opengl openmp openssl openvg pam pango pcre pcre16 pdf phonon plasma playdar player plugin_stardict pm-utils png policykit postgres ppds python qml qt3support qt5 rar readline real realtime redeyes resize-optimization romio rtmp scanner script sdl seccomp semantic-desktop skins socks socks5 source spell sqlite srt sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 startup-notification stream streams subtitles svg svm sync-plugin-portage taglib tcpd telepathy threads tiff tordns truetype udev udisks unicode unwind upower usb utils uvm vaapi vdpau video vlc vnc vorbis vulkan wayland wayland-compositor webp widgets wma wxwidgets x264 xattr xcb xcomposite xml xorg xv xvid xvmc xwayland zip zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="snd-usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="el" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Fri Mar 30, 2018 9:49 pm    Post subject: Reply with quote

now i tried elogind with no result...also genkernel...i usually made manual kernel configuration..
i have no idea what is wrong...

kde apps give me
Code:
Unable to create io-slave.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Fri Mar 30, 2018 10:22 pm    Post subject: Reply with quote

Code:
xorg-session.log
dbus[9660]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/$UID" not available: Permission denied
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/$UID', please create it with 0700 permissions.
2018/03/31 01:15:07 socat[9704] E connect(5, AF=1 "/run/user/1000/kwallet5.socket", 32): Permission denied
Failed to create secure directory (/run/user/$UID/pulse):


Code:
wayland-session.log
[01:10:56.955] weston 3.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0
               Build: unknown (not built from git or tarball)
[01:10:56.955] Command line: weston
[01:10:56.955] OS: Linux, 4.9.76-gentoo-r1, #1 SMP Fri Mar 30 23:48:54 EEST 2018, x86_64
[01:10:56.955] fatal: environment variable XDG_RUNTIME_DIR
is set to "/run/user/$UID", which is not a directory.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 383

PostPosted: Fri Mar 30, 2018 10:56 pm    Post subject: Reply with quote

Just check if u can make do as normal user:
mkdir /run/user/1000/xxx

if you cannot create it as normal user then maye add yourself to some group ( maybe you are not in users group ? )
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Fri Mar 30, 2018 11:08 pm    Post subject: Reply with quote

Code:
mkdir /run/user/1000/xxx
mkdir: αδύνατη η δημιουργία καταλόγου(impossible create directory) «/run/user/1000/xxx»: Άρνηση πρόσβασης(denied access)


also i am in users group...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12472

PostPosted: Sat Mar 31, 2018 12:08 am    Post subject: Reply with quote

What is the output of ls -la /run/user/? This will show us permissions on /run (by way of ..), /run/user (by way of .), and permissions on the UID-directory.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Sat Mar 31, 2018 12:22 am    Post subject: Reply with quote

Code:
ls: cannot open directory '/run/user/': Άρνηση πρόσβασης access denied


as root
Code:
ls -la /run/user/
σύνολο 0
drwx------  4 root        root  80 Μάρ  31 02:48  .
drwxr-xr-x 24 root        root 740 Μάρ  31 02:54  ..
drwx------  2 charalampos root  40 Μάρ  31 02:48  1000
drwx------  3 root        root  60 Μάρ  31 02:46 '$UID'
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12472

PostPosted: Sat Mar 31, 2018 3:48 am    Post subject: Reply with quote

Unless you are using an ACL to augment the traditional DAC permissions, /run/user needs world-search permission. Without it, users cannot open anything in subdirectories.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Sat Mar 31, 2018 8:08 am    Post subject: Reply with quote

so is there any pathway to solve it?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12472

PostPosted: Sat Mar 31, 2018 3:05 pm    Post subject: Reply with quote

Yes. Fix the permissions. /run/user should be searchable by everyone. The interesting question then is how this directory exists for you, but has incorrect permissions. Changing the permissions is a temporary workaround. The real fix is to find how it was created and determine why it was created incorrectly, then fix that incorrect creation.
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Sat Mar 31, 2018 4:22 pm    Post subject: Reply with quote

i don know ....this is my question too...i did not remember to made a change in conf.d files of pam or xdg...
so how could i fix it at boot?in which way i will find the permanent solution?
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 383

PostPosted: Sat Mar 31, 2018 11:44 pm    Post subject: Reply with quote

Maybe try adding new user:
useradd -m -G users XX
passwd XX

log and check if this is specific to one user or to all users.

EDIT:
I noticed that my /run/user looks:
Code:
drwxr-xr-x  3 root  root  60 04-01 00:25 .
drwxr-xr-x 19 root  root 820 04-01 00:25 ..
drwx------  5 mirex root 160 04-01 01:56 1000


it seems my /run/user has drwxr-xr-x when yours has drwx------

( Maybe reemerge 'shadow')
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Mon Apr 02, 2018 4:29 pm    Post subject: Reply with quote

i reemerged shadow also now i am taking
Code:
dbus[9144]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/var/run/user/1000" not available: Permission denied
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/var/run/user/1000', please create it with 0700 permissions.
2018/04/02 19:22:10 socat[9177] E connect(5, AF=1 "/run/user/1000/kwallet5.socket", 32): Permission denied
Failed to create secure directory (/var/run/user/1000/pulse): Άρνηση πρόσβασης
Αποτυχία σύνδεσης: Άρνηση σύνδεσης
Αποτυχία pa_context_connect(): Άρνηση σύνδεσης
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/var/run/user/1000', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/var/run/user/1000', please create it with 0700 permissions.


why /var/run/user? and not /run/user?

and
Code:
sudo ls -la /run/user/
Password:
σύνολο 0
drwx------  4 root        root  80 Απρ   2 19:22  .
drwxr-xr-x 25 root        root 740 Απρ   2 19:23  ..
drwx------  2 charalampos root  40 Απρ   2 19:22  1000
drwx------  3 root        root  60 Απρ   2 19:21 '$UID'


Code:
sudo ls -la /var/run/user/       
σύνολο 0
drwx------  4 root        root  80 Απρ   2 19:22  .
drwxr-xr-x 25 root        root 740 Απρ   2 19:23  ..
drwx------  2 charalampos root  40 Απρ   2 19:22  1000
drwx------  3 root        root  60 Απρ   2 19:21 '$UID'
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Mon Apr 02, 2018 8:00 pm    Post subject: Reply with quote

also without xdm i tried to login through xinitrc and i am taking
Code:
dbus[7433]: Unable to set up transient service directory : XDG_RUNTIME_DIR "/var/run/user/1000" not available: Permission denied
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-TkPR5NsEJS,guid=2f932b20c290cdaf640265f95ac26181' ;
exportDBUS_SESSION_BUS_ADDRESS; DBUS_SESSION_BUS_PID=7435;
DBUS_SESSION_BUSWINDOWID=4194385;
xinit: connection to X server lost


also the same problem exists after adding a new user account
Back to top
View user's profile Send private message
Tyrus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2018
Posts: 99

PostPosted: Mon Apr 02, 2018 9:08 pm    Post subject: Reply with quote

Can you please check if /run is mounted. /var/run is a link on /run. And /run is a tmpfs which should get mounted.
Please post the output of:
Code:

mount


You should get an entry like this one:
Code:

[...]

tmpfs on /run type tmpfs (rw,nodev,relatime,size=809560k,mode=755)

[...]
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Mon Apr 02, 2018 9:33 pm    Post subject: Reply with quote

Code:
mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=2043558,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdb1 on / type ext4 (rw,noatime,discard,data=ordered)
tmpfs on /run type tmpfs (rw,nodev,relatime,size=1639040k,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
/dev/sdd1 on /home type ext4 (rw,nosuid,nodev,noatime,discard,stripe=32,data=ordered,user)
devtmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=12582912k)
devtmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,relatime,size=12582912k)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/sdg1 on /run/media/charalampos/LnXdAtA type ext4 (rw,nosuid,nodev,relatime,stripe=8191,data=ordered,uhelper=udisks2)
/dev/sde2 on /run/media/charalampos/D400C4F500C4DF9A type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,uhelper=udisks2)
/dev/sde1 on /run/media/charalampos/Δεσμευμένο από το σύστημα type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,uhelper=udisks2)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1639036k,mode=700,uid=1000,gid=1000)
none on /run/user/1000 type tmpfs (rw,relatime,mode=700,uid=1000)
Back to top
View user's profile Send private message
Tyrus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2018
Posts: 99

PostPosted: Mon Apr 02, 2018 10:24 pm    Post subject: Reply with quote

Code:
mount
[...]
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1639036k,mode=700,uid=1000,gid=1000)
none on /run/user/1000 type tmpfs (rw,relatime,mode=700,uid=1000)


That looks strange for me. It means your system mounts the user 1000 twice. The second mount is overlapping the first. I tested it on my system.
You can try it yourself:

Code:

umount /run/user/1000


Then check:
Code:

mount
ls -la /run/user


The user should be still mounted.
The second problem is that the directory 'user' is created with wrong permissions.
Both problems caused by the login try of user 1000 (my guess).
Back to top
View user's profile Send private message
gentoorockerfr
Apprentice
Apprentice


Joined: 25 May 2012
Posts: 186

PostPosted: Mon Apr 02, 2018 10:34 pm    Post subject: Reply with quote

Code:
mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=2043558,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdb1 on / type ext4 (rw,noatime,discard,data=ordered)
tmpfs on /run type tmpfs (rw,nodev,relatime,size=1639040k,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
/dev/sdd1 on /home type ext4 (rw,nosuid,nodev,noatime,discard,stripe=32,data=ordered,user)
devtmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=12582912k)
devtmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,relatime,size=12582912k)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/sdg1 on /run/media/charalampos/LnXdAtA type ext4 (rw,nosuid,nodev,relatime,stripe=8191,data=ordered,uhelper=udisks2)
/dev/sde2 on /run/media/charalampos/D400C4F500C4DF9A type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,uhelper=udisks2)
/dev/sde1 on /run/media/charalampos/Δεσμευμένο από το σύστημα type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,uhelper=udisks2)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1639036k,mode=700,uid=1000,gid=1000)


Code:
ls -la /run/user
σύνολο 0
drwx------  5 root        root        100 Απρ   2 23:30  .
drwxr-xr-x 25 root        root        740 Απρ   2 23:29  ..
drwx------  3 root        root         60 Απρ   2 20:02  0
drwx------  4 charalampos charalampos 100 Απρ   2 23:29  1000
drwx------  4 charalampos charalampos  80 Απρ   2 19:57 '$UID'
Back to top
View user's profile Send private message
Tyrus
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2018
Posts: 99

PostPosted: Mon Apr 02, 2018 11:45 pm    Post subject: Reply with quote

gentoorockerfr wrote:

Code:
wayland-session.log
[...]
[01:10:56.955] fatal: environment variable XDG_RUNTIME_DIR
is set to "/run/user/$UID", which is not a directory.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.


The variable is set to a wrong directory. Read also here: https://forums.gentoo.org/viewtopic-t-1035018-start-0.html
I haven't found the right file that sets the variable so far. But you can look in you /etc/env.d directory and search there for it.
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 383

PostPosted: Tue Apr 03, 2018 5:42 pm    Post subject: Reply with quote

gentoorockerfr
Don't you have by mistake that tmpfs mounted in /etc/fstab ? Remove it.

And where is /var/run/$UID created everytime ... it should be cleared after restart, so where u made that change, so it recreates every reboot ?
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum