I only store.records.that connect.
I ań.xdiving

On Jun 23, 2013 12:22 PM, "poma" <pomidorabelisima@gmail.com> 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

Ref.
tigervnc-server,
/usr/lib/systemd/system/vncserver@.service
https://bugzilla.redhat.com/show_bug.cgi?id=896648#c15


poma

--
users mailing list
users@lists.fedoraproject.org
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