Re: polkit-gnome-authentication-agent-1 fails to start after F17->F18 update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jun 23 18:21, poma wrote:
> On 23.06.2013 17:01, Corinna Vinschen wrote:
>
> > Btw., just for the records, I had found an ugly workaround in the
> > meantime, but it did the trick:
> > 
> > I started startxfce4 from ~/.Xclients via `ssh localhost'.  This
> > enforced a valid session, which made polkit-gnome-authentication-agent-1
> > start up normally.
>
> 
> /etc/systemd/system/vncserver@\:<DISPLAY>.service
> [Unit]
> Description=Remote desktop service (VNC)
> After=syslog.target network.target
> 
> [Service]
> Type=simple
> ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
> ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -geometry
> <WIDTH>x<HEIGHT> -fg"
> 
> [Install]
> WantedBy=multi-user.target
> 
> - edit <DISPLAY> <USER> <WIDTH> <HEIGHT> and other vncserver parameters
>   appropriately
> - systemctl daemon-reload
> - systemctl enable/start vncserver@\:<DISPLAY>.service

Thanks, but... what are you trying to tell me?  I already started
vncserver as service along the lines of the above

-Type=simple
-ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -geometry <WIDTH>x<HEIGHT> -fg"
+Type=forking
+-ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -geometry <WIDTH>x<HEIGHT>"

for a long time, but it did not start a valid session and thus
polkit-gnome-authentication-agent-1 didn't start.  My .vnc/xstartup then
calls /etc/X11/xinit/xinitrc and my .Xclient calls startxfce4 (with
--with-ck-launch until yesterday).  I don't see anything in the above
which would change that behaviour.


Corinna
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux