[fedora-arm] Problems with tigervnc-server

Dennis Gilmore dennis at ausil.us
Tue Aug 19 14:12:06 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 19 Aug 2014 09:20:31 -0400
Robert Moskowitz <rgm at htt-consult.com> wrote:

> 
> On 08/19/2014 08:43 AM, Robert Moskowitz wrote:
> > First, I have gotten tigervnc-server working on the Fedora20 remix
> > for my cubieboard2, so I have the steps down. At least for F20.
> >
> > I am running Fedora-Minimal-armhfp-21-20140815-sda.raw.xz on my 
> > cubieboard2. I have done basic setup and have only moved ssh to a 
> > non-standard port (see my posts on selinux issues, but not germaine 
> > here).
> >
> > I installed Xfce: yum groupinstall "Xfce Desktop" --nogpgcheck
> >
> > This took 640 rpms?! And installed tigervnc-server.
> >
> > I logged in as me an created my .vnc/passwd file with vncpasswd.
> >
> > I then configured the start script with:
> >
> > cp /lib/systemd/system/vncserver at .service 
> > /etc/systemd/system/vncserver@:3.service
> > vi /etc/systemd/system/vncserver@:3.service
> > where I replaced <user> with my userid.
> >
> > I also opened tcp port 5903 with: firewall-cmd --permanent 
> > --add-port=5903/tcp
> >
> > Now wanting to be 'clean', I rebooted then:
> >
> > # systemctl enable vncserver@:3.service
> > Created symlink from 
> > /etc/systemd/system/multi-user.target.wants/vncserver@:3.service to 
> > /etc/systemd/system/vncserver@:3.service.
> >
> > # systemctl start vncserver@:3.service
> > Job for vncserver@:3.service failed. See 'systemctl status 
> > vncserver@:3.service' and 'journalctl -xn' for details.
> >
> > # systemctl -l status vncserver@:3.service
> > ● vncserver@:3.service - Remote desktop service (VNC)
> > Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
> > Active: failed (Result: exit-code) since Tue 2014-08-19 08:06:13
> > EDT; 1min 4s ago
> > Process: 980 ExecStart=/sbin/runuser -l rgm -c /usr/bin/vncserver
> > %i (code=exited, status=126)
> > Process: 976 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > 
> > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
> >
> > Aug 19 08:05:47 cb2.htt-consult.com systemd[1]: Starting Remote 
> > desktop service (VNC)...
> > Aug 19 08:06:13 cb2.htt-consult.com systemd[1]:
> > vncserver@:3.service: control process exited, code=exited status=126
> > Aug 19 08:06:13 cb2.htt-consult.com systemd[1]: Failed to start
> > Remote desktop service (VNC).
> > Aug 19 08:06:13 cb2.htt-consult.com systemd[1]: Unit 
> > vncserver@:3.service entered failed state.
> >
> > I rebooted and checked again:
> >
> > # systemctl -l status vncserver@:3.service
> > ● vncserver@:3.service - Remote desktop service (VNC)
> > Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
> > Active: activating (start) since Thu 1970-01-01 00:00:22 EST; 44
> > years 7 months ago
> > Process: 608 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > 
> > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
> > Control: 615 (runuser)
> > CGroup: /system.slice/system-vncserver.slice/vncserver@:3.service
> > ‣ 615 /sbin/runuser -l rgm -c /usr/bin/vncserver :3
> >
> > Looks like it is running! Great, so I check for the pid under my
> > userid:
> >
> > # ls /home/rgm/.vnc/
> > passwd
> >
> > What? Only passwd that I had earlier created? Where is the pid,
> > log, and the xstartup files?
> >
> > So I restarted vncserver:
> >
> > # systemctl restart vncserver@:3.service
> > Job for vncserver@:3.service failed. See 'systemctl status 
> > vncserver@:3.service' and 'journalctl -xn' for details.
> >
> > # systemctl -l status vncserver@:3.service
> > ● vncserver@:3.service - Remote desktop service (VNC)
> > Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
> > Active: failed (Result: exit-code) since Tue 2014-08-19 08:26:17
> > EDT; 25s ago
> > Process: 999 ExecStart=/sbin/runuser -l rgm -c /usr/bin/vncserver
> > %i (code=exited, status=126)
> > Process: 995 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > 
> > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
> >
> > Aug 19 08:26:17 cb2.htt-consult.com systemd[1]:
> > vncserver@:3.service: control process exited, code=exited status=126
> > Aug 19 08:26:17 cb2.htt-consult.com systemd[1]: Failed to start
> > Remote desktop service (VNC).
> > Aug 19 08:26:17 cb2.htt-consult.com systemd[1]: Unit 
> > vncserver@:3.service entered failed state.
> >
> > So one of the following (or something I have not guessed):
> >
> > I missed installing something else needed like tigervnc client?
> > Something broken for using vncserver in F21.
> > Because no video for Allwinner, this is somehow impacting vncserver 
> > startup. And thus no remote graphical access at all (that is a
> > scary thought, why would it matter anyway?).
> >
> > So any assistance on trouble shooting this? I am going to install
> > all of tigervnc stuff now to see if it makes a difference, but I
> > don't see why it would. Anyone with working video, if they could
> > see if vncserver works for them?
> >
> 
> Installing the tigervnc client did not make a difference.  Still
> failing to start.

you might be best off asking on the users list, most of your questions
are not at all arm specific but just general running things on fedora,
and the wider audience of the users list would likely be better suited
to help you.

Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJT81s/AAoJEH7ltONmPFDRP5UP/0UAy7RkNwp9S+LC+Nb8wNPr
C+RerDkdRffFyDpoF8ViXMsvFVnSs+ylS/NYkfu6hle9pD9OyggzKaOXOoAfNiDK
ZE/cqCZ8tWfNbbu3G65w0++l1TDZ2bOjWnisNc+/OVXqCfGCTw3i+8qYMBSorYBf
NzTeti+QgyuHk2u6nWqn4/iCQyfFI4Yl255I32EE5iniomaEUjgt0U5hJAiE2u33
KbI0G8xPSCNzATuzDq7mduVV4rwTwBlx88ID9IXoE94Omo7oa5qcg0kCD5NbwCpJ
nlGehgcghB5bnaDUjdk0TRHlGaUX2fWs2fJ/tj1DGaFEQWq7vDQA8oaf42taaJYv
8mVB5S1wJO8BpNGtUJYa7nGxweQ/hlitpySxWXdIwONXUAyU8VWrKimzdw8xPpPV
+oYWNpqBFeZMca5wYHyvRzdIEm7NjmKnOc5fRlcJbMPtsh/swJpVi9Xx8Qsdpp+o
k2BVqh5B6FYoT1E0L5L8mM9cCk+63WPEv3yhNbCu+J1DV972iSqYYb49QCfM8ruz
XBbosB1Cb0rkrM4Nr58M41EjJfGB10OhbqfOhZd9yuHGPAvu5QZXr/Wupw5Q5sSh
vEUftBasHZ31uaI6TbYXpobdCKQGp9OLSDiS5jZO2gqloqb+J7xLdnty2wYhtNYS
dbgxD8fbRGSt7qSfd6X5
=V530
-----END PGP SIGNATURE-----


More information about the arm mailing list