Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. Help & Troubleshooting
  3. Issue with users home on NFS with rootsquash option

Issue with users home on NFS with rootsquash option

Scheduled Pinned Locked Moved Help & Troubleshooting
12 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeltron80
    wrote on last edited by
    #3

    Hi again,

    Maybe another solution for me would be to launch veyon service through /etx/xdg/autostart
    To test that, I'd need the command which I need to launch (via Dbus, I guess ?)

    I looked in code, but couldn't find where it takes place...

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zeltron80
      wrote on last edited by
      #4

      Hi,

      Anybody could give me a lead to follow up ?
      I really need to make it work, and I think I'm not far from it, but I just need to understand a little more precisely how it works to find a fix.

      If a (the?) dev is passing by...

      Thanks
      ET

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Guenos
        wrote on last edited by
        #5

        Hello,

        I make a comment so that you do not feel alone, I come here regularly but I know nothing Linux so I can not help you and I start on this software.

        Good luck !

        Z 1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zeltron80
          replied to Guenos on last edited by zeltron80
          #6

          @Guenos
          Thanks for your support 😉

          In fact, I hope tobydox will find time soon to make a little visit on the forum.
          It seems he is a little bit alone in veyon development, and the veyon community is not developed enough yet to help him for support.
          I try to help sometimes, but like you, I'm not veyon-pro enough to help on most of the posts.

          Regards
          ET

          1 Reply Last reply
          1
          • T Offline
            T Offline
            tobydox
            wrote on last edited by
            #7

            Hi @zeltron80
            thanks for investigating this issue! Indeed there can be small problems if the home directory is not accessible by root, e.g. on network shares where access is managed through tokens or keyrings. So when veyon-services launches veyon-server as root the veyon-server process is not able to access the X session of the user as it needs to read the Xauthority file as you've figured out correctly 😉 So you can either adjust permissions such that root can read this file (you won't need world access for this) or launch veyon-server (no additional parameters required) manually through a desktop file in /etc/xdg/autostart. Hope that helps!
            Best regards

            Z 1 Reply Last reply
            0
            • Z Offline
              Z Offline
              zeltron80
              replied to tobydox on last edited by
              #8

              @tobydox
              Thanks for your answer...
              I already tried to launch veyon-server with a desktop file in /etc/xdg/autostart, but it asks for the root password, and I'm not about to give root passwords to my users 😉
              Anyway, even if I type it, the server doesn't launch, and it doesn't work better.
              I hoped there could be a way through dbus : As veyon-server and veyon-service are root processes, I thought the process at session's start were launched as user through dbus.
              Using a dbus command, it would then be (maybe) possible to make it work.
              I don't understand what is the start session's scheme : As I see a veyon-worker user process, I imagined, veyon-service and server were launch through it ?

              Regards
              ET

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobydox
                wrote on last edited by
                #9

                @zeltron80 I really wonder why it asks for the root password. veyon-server is a simple userspace program which does not require any special privileges - it's only run as root by veyon-service in order to prevent users from killing it . Have you disabled the veyon-service? I'm not familar with dbus when it comes to launch services so I can't help you on this specific topic. Are you using keyfile or logon authentication?

                Z 1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  zeltron80
                  replied to tobydox on last edited by
                  #10

                  @tobydox

                  Ok, I just tried again, and you're right : veyon-server starts well when launch through /etc/xdg/autostart.

                  I tried so many things, I forgot this 😞

                  Maybe because I red this was not a good idea that users may kill veyon-server process.
                  But it's not really a problem in my case.

                  Thank you for your work

                  Regards
                  ET

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobydox
                    wrote on last edited by
                    #11

                    Still it's great that it works now! Next time we'll find a solution more quickly 😉

                    Z 1 Reply Last reply
                    0
                    • Z Offline
                      Z Offline
                      zeltron80
                      replied to tobydox on last edited by
                      #12

                      @tobydox
                      No problem, you can't be on dev and forum at the same time 😉
                      Your job is really helpful for a lot of people, thanks for that.

                      I'd like to be more useful here on the forum, but not "good" enough yet with veyon to help much people.

                      Regards
                      ET

                      1 Reply Last reply
                      0

                      Powered by NodeBB | Contributors
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups