You are not logged in.

#1 2019-12-20 03:21:23

jakewilliami
Member
Registered: 2019-12-20
Posts: 7

How to fix applications that won't start

Hi all,

I have an application that I downloaded from the AUR that won't start.  I found this, but I'm not quite sure what @Psylver or @ranjak mean by their responses.  Would someone please be able to put this into Newbie terms for me?

P.S., I am trying to open VNC Server but it just doen't open.  I've tried checking the logs, and this is what I find:

PM gnome-shell: executing SUDO_LAUNCHMD: gnome-terminal --title 'Enable VNC Server Service Mode' --disable-factory -- sudo '/etc/vnc/vncservice' 'start' 'vnc-x11-serviced'
# Failed to parse arguments: Option "--disable-factory" is no longer supported in this version of gnome-terminal.

(Disclaimed: the logs confuse me a bit!) This looks like the correct log messages; it's an error regarding the thing I am interesrted in, I just don't know how to fix this.

Help would be greatly appreciated!

Ever,
jakewilliami.

Offline

#2 2019-12-20 03:33:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,525
Website

Re: How to fix applications that won't start

There is no magic bullet, you need to figure out why it's not starting then solve the problem.  There's no reason to suspect your program is not starting for the same reason that something else was not starting for someone else.

Have you tried starting vnc server from a terminal?  What is the output there?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-12-20 04:10:32

loqs
Member
Registered: 2014-03-06
Posts: 19,097

Re: How to fix applications that won't start

Offline

#4 2019-12-20 05:39:12

jakewilliami
Member
Registered: 2019-12-20
Posts: 7

Re: How to fix applications that won't start

@Trilby, I have tried but I couldn't figure out how to.  I have done

dbus-launch realvnc-vnc-server

Is this the correct comment to use?  (I used it because I am using GNOME).  Its output was: Couldn't exec realvnc-vnc-server: No such file or directory.  I also tried with

dbus-launch vnc-server

but got the same message.  I'm not sure what the application itself is called or where to find it.  I have run

pacman -Ql real-vnc-server

to try and find where it is localed, but it is scattered all over the place.  Very new to linux file systems, sorry.

Offline

#5 2019-12-20 08:02:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,161

Re: How to fix applications that won't start

Don't dbus-launch stuff.
None of the binaries you attempted to run is shipped w/ the package loqs linked, and it's "localed" nowhere.
Try "vncserver-x11" (or any other of the binaries in that package adds to /usr/bin - I've no experience w/ that particular VNC implementation and I do especially not know whether it works w/ a wayland session, so in doubt try to use "gnome on Xorg")

Offline

#6 2019-12-20 11:36:51

jakewilliami
Member
Registered: 2019-12-20
Posts: 7

Re: How to fix applications that won't start

Thank's seth, that's a good point.  I am trying different vnc servers because I am trying to access my arch desktop computer from a laptop running mac os while I am away from home, and I am having difficulties.  I'm not sure why, but it's not working.  I run vncserver on my Arch desktop, and it seems to begin okay.  I then go to connect (see 10:18:48) which seems to work fine, but on my Apple laptop the VNC viewer just shows a black screen. This is my log.  This is the first time I've tried using VNC remote desktop.
P.S. thank you for the tip on dbus-launch.

Offline

#7 2019-12-20 11:54:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,468

Re: How to fix applications that won't start

/etc/X11/xinit/xinitrc: line 51: twm: command not found
/etc/X11/xinit/xinitrc: line 54: xterm: command not found
/etc/X11/xinit/xinitrc: line 55: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 53: xterm: command not found
/etc/X11/xinit/xinitrc: line 52: xclock: command not found

Looks like your graphical environment on the desktop is not correctly configured , or vnc server starts with default settings for an X session.

for now, install xterm, twm and xorg-xclock on the desktop, then try to connect again.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#8 2019-12-20 23:42:05

jakewilliami
Member
Registered: 2019-12-20
Posts: 7

Re: How to fix applications that won't start

Lone_Wolf, okay, that is helpful.  I've uninstalled realvnc-vnc-server because when I installed it I had to uninstall tigervnc (so I didn't want any clashing packages).  Then I reinstalled tigervnc and reconfigured it.  Seems okay from the log file.  However, now when I try to connect I get this message: unable to resolve host by name: nodename nor servname provided, or not known...  Any idea what could be causing this?  It might have something to do with clashing packages?

Offline

#9 2019-12-20 23:44:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to fix applications that won't start

This is an entirely separate issue from the thread title. Please read https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2019-12-21 01:38:45

jakewilliami
Member
Registered: 2019-12-20
Posts: 7

Re: How to fix applications that won't start

jasonwryan, sorry about this.  I didn't realise how far we've digressed from the original issue!  Thank you.

Offline

Board footer

Powered by FluxBB