[SOLVED]Starting a Daemon

When installing the new update for teamviewer, (teamviewer 8) I get this message that tells me that the TeamViewer Daemon is not running, and to start it, and restart teamviewer. As we all know, Arch is build with systemd, or at least the default Arch install...
... How do I go about running the daemon?
I've tried:
Failed to issue method call: No such file or directory
[ ~ ] > systemctl enable teamviewerd
Failed to issue method call: No such file or directory
This:
[ ~ ] > systemctl start teamviewer
Failed to issue method call: Unit teamviewer.service failed to load: No such file or directory. See system logs and 'systemctl status teamviewer.service' for details.
As well as numerous different kinds of spellings for each word amongst these. I have no idea what I'm doing wrong here thus far.
Last edited by Invie (2012-12-06 18:13:38)

open a terminal, log in as root and type this from the # prompt
# systemctl enable teamviewerd.service  <ENTER>
you should get a response like this:
ln -s '/usr/lib/systemd/system/teamviewerd.service' '/etc/systemd/system/graphical.target.wants/teamviewerd.service'
then type in:
# systemctl start teamviewerd.service <ENTER>
if no errors it will return to the # prompt. Pardon my use of old dos (windows) nomenclature but e.g. <ENTER> for hitting the Enter key... I'm new here, and don't know how you get the actual terminal view added here, can use some help, thank you!
Last edited by WFV (2013-05-12 20:47:01)

Similar Messages

  • Start cups-daemon[SOLVED]

    I have been struggeling to have a working print-server for both arch and windows 7 whole day. Installing and reinstalling, removing cups-related files reinstalling again. Had it running for arch-computers but not for windows. Had it running for windows but then I couldn't print with arch-computers. Propably messed up something.
    Now when trying to start Cups-daemon i get this error-message:
    /usr/sbin/cupsd: error while loading shared libraries: libcupsmime.so.1: cannot open shared object file: No such file or directory
    Anyone that's having an ide' what's wrong. I can always do a fresh install but I would appreciate not to.
    EDIT! I did a reinstall of libcups. Now I have a running daemon!
    Last edited by jai134 (2010-04-01 17:36:14)

    I solved it by putting "systemctl start cups.service" in the /etc/profile
    That worked.

  • [SOLVED] Trac standalone server refusing to start as daemon

    Dear people,
    Few months ago I set up trac to manage/access my svn repositories at work. The standalone tracd server got started as daemon from rc.conf, authentication with htdigest, everything was just fine.  Yesterday I realized that tracd was not reachable, and trying a start/restart:
    # /etc/rc.d/tracd start
    Usage: tracd [options] [projenv] ...
    tracd: error: no such option: --auth '*',/srv/GroupWiki/htdigest,MyDomain.org
    The relevant part of /etc/conf.d/tracd is:
    PORT=80
    AUTH="'*',/srv/proj1/htdigest,MyDomain.org"
    PROJECT="/srv/proj1 /srv/proj2"
    Thing is, if I start tracd from the command line using those same options, it runs fine:
    # tracd -p 80 --auth "'*',/srv/proj1/htdigest,MyDomain.org" /srv/proj1 /srv/proj2
    Server starting in PID 25260.
    Serving on 0.0.0.0:80 view at http://127.0.0.1:80/
    Using HTTP/1.1 protocol version
    Any hint?
    domanov
    Last edited by domanov (2010-10-11 09:57:42)

    Thanks Pingwinski! There is a problem with quoting, but not in the tracd.conf. Well, I had to edit the /etc/rc.d/tracd file to remove the extra quoting around "$AUTH" (and by the way, remove the $SINGLE variable, I didn't find any definition or reference to that...!!
    Before:
    tracd $SINGLE -d $HOSTNAME $PORT "$AUTH" $PROJECT
    After:
    tracd -d $HOSTNAME $PORT $AUTH $PROJECT
    In conf.d/tracd.conf the line doesn't need extra escaping, i.e. is working like this:
    AUTH="'*',/srv/project/htdigest,MyDomain.org"
    Sending a message to the maintainer to take a look at this.
    Greets,
    Domanov

  • Failed to start HTTP daemon

    I'm trying SSL thru the iMS 5.2
    I've down a frish installation for the iMS 5.2
    I'm facing this problem, when i start the messaging server i got this ERROR:
    development # ./start-msg
    /app/ims-thru-ssl: POP3 daemon process already running: 4043
    /app/ims-thru-ssl: IMAP4 daemon process already running: 4057
    /app/ims-thru-ssl: Starting HTTP daemon ...Cannot bind to port 80: Address already in use
    ERROR: Failed to start HTTP daemon: /app/ims-thru-ssl/bin/msg/store/bin/mshttpd
    Dispatcher already running
    Starting ENS daemon
    ERROR: The following services failed to start, or were already:
    HTTP daemon
    Could someone help me on this issue...

    Use netstat to see what's listening on port 80. Perhaps a web server or something?
    It looks like you're trying to start a server that's partially running already, so you will want to check what processes are running, too

  • [systemd] rc.d-style output when starting/stopping daemons

    Hi everyone,
    since polkit is deprecated by Arch Linux and many packages depends on systemd-logind instead, I have to switch to systemd. But I really miss rc.d-style output! Just like this:
    # rc.d restart foobar
    :: Stopping foobar... [ DONE ]
    :: Starting foobar... [ DONE ]
    netcfg also uses this "Arch style":
    # netcfg -r foobar
    :: foobar down [ DONE ]
    :: foobar up [ DONE ]
    Removing 'quiet' from kernel parameters will output simliar messages on boot. But when I log into X and run 'sudo systemctl restart foobar.service' or other commands in a Terminal Emulator, I cannot see any output. Neither the pretty 'Arch style' output nor normal 'ugly' black-and-white outputs.
    I tried to modify /etc/systemd/system.conf, making:
    DefaultStandardOutput=journal+console
    DefaultStandardError=inherit+console
    ..., and reboot the system. But I still cannot get output when running  'sudo systemctl restart foobar.service'.
    Can anyone help me getting back rc.d-style / Arch style output when starting/stopping daemons with systemctl? I really miss them!
    BTW, I've tried 'sudo systemctl restart' with dnsmasq.service, httpd.service, mysqld.service, etc. None of them outputs...
    Thanks in advance.
    Last edited by wzyboy (2012-11-06 09:47:23)

    I think it only outputs a message on failure.
    Or you could try:
    https://bbs.archlinux.org/viewtopic.php?pid=1180297
    Last edited by loafer (2012-11-06 09:12:38)

  • Systemd Issues - Failed to start MyApp daemon

    Hi all,
    Sorry if I'm asking a stupid question, I'm new to Arch Linux, Pi, and Python. I have a Python script I'd like to start automatically after boot so I created a myapp.service file:
    [Unit]
    Description=MyApp daemon
    Requires=network.target
    [Service]
    Type=forking
    ExecStart=/root/bin/myapp/initmyapp.py
    ExecStop=/bin/kill $MAINPID
    [Install]
    WantedBy=multi-user.target
    After initmyapp.py runs it calls "myapp.py &" that's why I tried type=forking. I tested "systemctl start myapp" and it looks like it's working; I can see the process running. So, I did "systemctl enable myapp" which ran without errors and then I rebooted. After reboot, however, the process is not running and "systemctl status myapp" tells me this:
    myapp.service - MyApp daemon
              Loaded: loaded (/etc/systemd/system/myapp.service; enabled)
              Active: failed (Result: exit-code) since Wed, 1969-12-31 19:00:10 EST; 43 years and 0 months ago
             Process: 102 ExecStart=/root/bin/myapp/initmyapp.py (code=exited, status=1/FAILURE)
              CGroup: name=systemd:/system/myapp.service
    Dec 31 19:00:09 mybox initmyapp.py[102]: '_open', req)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    Dec 31 19:00:09 mybox initmyapp.py[102]: result = func(*args)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    Dec 31 19:00:09 mybox initmyapp.py[102]: return self.do_open(httplib.HTTPConnection, req)
    Dec 31 19:00:09 mybox initmyapp.py[102]: File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
    Dec 31 19:00:10 mybox initmyapp.py[102]: raise URLError(err)
    Dec 31 19:00:10 mybox initmyapp.py[102]: urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
    Dec 31 19:00:10 mybox systemd[1]: Failed to start MyApp daemon.
    Dec 31 19:00:10 mybox systemd[1]: Unit myapp.service entered failed state
    Does this mean that networking is not ready yet? Instead of Requires=network.target I also tried Requires=multi-user.target but didn't work. I have no idea what I'm doing so any suggestion would be appreciated.

    Thank you for the quick response. I removed the kill part and "stop" still works. I also removed all the network includes to test it out and the background call too and after hours of trial and error I was finally able to make it work. Now I just have to figure out how to tell when the network is up. That article covers it for C (I think) but not for Python. It also seems very technical.
    Anyway, thanks again for your help.

  • [Solved] Disable Thunar daemon at startup

    Hi,
    I have noticed that something in my system starts Thunar daemon on startup. Since I don't want the daemon to be running, i would like to disable it. I tried to search what could start it with no luck so far.
    First of all I looked what is the parent of the daemon
    [ondra@dell ~]$ pstree
    systemd─┬─Thunar
    ├─agetty
    So it looks like systemd is launching it. I explored /etc/systemd/system/multi-user.target.wants/ but there is no mention about Thunar. I also issued systemctl command to see loaded units - nothing.
    I also noticed that it is launched after I login in SLiM login manager. I have searched SLiM config file with no luck. I also searched startxfce4 scritpt, which is in my ~/.xinitrc - no luck.
    Does anybody have an idea how is Thunar daemon started? Thanks
    Last edited by rubick (2013-02-25 11:25:30)

    samuvuo wrote:
    rubick wrote:It's strange, that I was unable to find this option in Xfce settings. It would be better to set these things in user config instead of system wide.
    But they are. Check out  ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml which gets updated when you make changes to Settings -> Sessions & Startup (as cris9288 already pointed out).
    But Thunar is not listed in "Application autostart" tab. The only way how I managed to disable it upon next login was to kill it with killall command, then save the session. Is this the way how it's supposed to be disabled?

  • Starting mysql daemon hangs applescript studio app

    hi,
    i am currently writing a small application with applescript studio that starts an apache server and a mysql database.
    Starting apache via a 'do shell' command is no problem at all but starting mysql with this command
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions &"
    hangs my application.
    Executing the command in a shell works well.
    I guess the problem is that firing the command (in the terminal) causes the terminal to return to the command prompt (username:~ username$ ) pretty immediatley. But after one or two seconds there are some more information echoed to the shell ('Starting mysqld daemon with databases from pathto_datadir').
    Maybe this confuses my app and it starts waiting for things that will never end.
    My current workaround is to open the terminal and to execute the command there:
    tell application "Terminal"
      do script "pathto/mysqldsafe --port=3023 --somemoreoptions &"
      delay 1
      if terminalwasopen is equal to false then
        quit
      else
        close window 1
      end if
    end tell
    Any ideas how to get rid off this wokaround and how to manage this with a simple 'do shell script'?
    Thanks in advance.
    i++
    PowerBook Pro 15"   Mac OS X (10.4.7)  

    This issue is discussed in the do shell script technote.
    Specifically, even though you tell the process to background (by appending the &), AppleScript still holds onto the process' stdout and stderr, waiting for the output of the command.
    The solution is to suppress or redirect stdout and stderr, e.g.:
    do shell script "/pathto/mysqldsafe --port=2323 --somemoreoptions > /dev/null 2>&1 &"
    The '> /dev/null' suppresses stdout (which could go to a file if you prefer), and '2>&1' sends stderr to the same place as stdout.
    Incidentally, I assume you have some check to ensure apache and/or mysql aren't already active, right? This would cause a problem if mysql is already running.

  • [SOLVED] How can I start a daemon at boot as a user?

    Well, the topic title says it all! I want to start the hellanzb daemon as my main user 'hb' on boot. If I just add it to the daemons array in rc.conf, it will be run as root, and all my downloaded files will be owned by root:root. How can I make it so it is run by me, not root?
    Last edited by HyperBaton (2008-01-25 18:44:11)

    HyperBaton wrote:Okay I'll try it with the dash added, didn't notice that in your syntax, sorry. How would I add the echo statement exactly? And can I view it in a log or something after booting the computer?
    the echo statement can be as simple as
    echo "this is a test"
    if you want to log something, you can for example add something like
    | tee -a /var/log/mycustom.log
    this appends the output of the command before | to /var/log/mycustom.log.
    So if you want to log for example the echo statement above, put
    echo "this is a test" | tee -a /var/log/mycustom.log
    but of course you can catch the output of every command in this way

  • [SOLVED] Start offlineimap as a daemon?

    I just installed offlineimap so I can use mutt to view IMAP email. How can I start it as a daemon so it automatically syncs email upon login? I found an rtorrent daemon script on the forum and just changed it to offlineimap, but it has a few problems.
    1. It does not work upon init. It works if I manually do /etc/rc.d/offlineimap start.
    2. It does not stop at all, regardless of how I do it - either manually or automatically.
    Anything I can do to get this working?
    Thanks.
    #!/bin/bash
    . /etc/rc.conf
    . /etc/rc.d/functions
    [ -z "$OFFLINEIMAP" ] && OFFLINEIMAP=/usr/bin/offlineimap
    [ -z "$OFFLINEIMAP_USER" ] && OFFLINEIMAP_USER=oliver
    [ -z "$OFFLINEIMAP_HOME" ] && OFFLINEIMAP_HOME=/home/oliver
    [ -z "$OFFLINEIMAP_SOCKET" ] && OFFLINEIMAP_SOCKET=$OFFLINEIMAP_HOME/.socket
    [ -z "$OFFLINEIMAP_LOCK" ] && OFFLINEIMAP_LOCK=$OFFLINEIMAP_HOME/.session/offlineimap.lock
    [ -z "$OFFLINEIMAP_DTACH" ] && OFFLINEIMAP_DTACH="/usr/bin/dtach -n $OFFLINEIMAP_SOCKET -z"
    case "$1" in
    start)
    stat_busy "Starting offlineimap"
    PID=`pidof -o %PPID $OFFLINEIMAP`
    if [ -z "$PID" ]; then
    [ -S $OFFLINEIMAP_SOCKET ] && rm $OFFLINEIMAP_SOCKET &> /dev/null
    [ -f $OFFLINEIMAP_LOCK ] && rm $OFFLINEIMAP_LOCK &> /dev/null
    fi
    /bin/su -c "$OFFLINEIMAP_DTACH $OFFLINEIMAP &> /dev/null" \
    $OFFLINEIMAP_USER
    if [ $? -gt 0 ]; then
    stat_fail
    else
    add_daemon offlineimap
    stat_done
    fi
    stop)
    stat_busy "Stopping offlineimap"
    PID=`pidof -o %PPID $OFFLINEIMAP`
    [ ! -z "$PID" ] && kill -s INT $PID &> /dev/null
    if [ $? -gt 0 ]; then
    stat_fail
    else
    rm_daemon offlineimap
    stat_done
    fi
    restart)
    $0 stop
    sleep 1
    $0 start
    echo "usage: $0 {start|stop|restart}"
    esac
    exit 0
    Last edited by MTsoul (2009-02-04 08:10:21)

    MTsoul wrote:1. It does not work upon init. It works if I manually do /etc/rc.d/offlineimap start.
    Have to ask, as you didn't mention it - did you add it to the rc.conf DAEMONS array?

  • How do I stop launchd from starting a daemon that doesn't exist?

    A while back I downloaded OpenDrive. I never used it and trashed it. However, every once in a while my iMac gets sluggish or otherwise acts up. I run Console to see what's going on and it appears that launchd is trying to start OpenDrive.I then do a search for pieces of OpenDrive that got left behind, but now and then the problem reappears.
    How do I stop this forever? I looked around the Communities and found someone with the same issue, but he solved it bit didn't know what he did.
    I have searched, and cannot find anything anywhere on my hard drive to delete.
    I tried pasting the Console message but it won't paste. It says something like "com.geeNian.ShellExt.Daemon.plist [1358] posix_spawn, .... no such file or directory

    What is the Terminal commands to remove via launchctl?
    There was no supplied uninstaller, unfortunately.
    OpenDrive is that software that refuses to go quietly into the night. I trashed it using either AppCleaner or TrashMe, both of which search for related files and comprehensively delte the software. They don't always get everything, though.
    But the flippin' thing refuses to die, periodically showing up in attempts to run and buggering up the iMac. Console gets spammed, I spend hours on search-and-destroy missions looking for remnants of it. I find them, get rid of them, and all is well, for a few months. And then.... it's baaaaaaaaaaaaaccckkkkk!!!!!!!
    That's why I also asked if there's a way to find anything and everything related to it on the system. I have EasyFind, iFileX and something else I can't remember. They haven't been able to find anything except for Console messages and emails.

  • [SOLVED]PulseAudio systemd daemon doesn't work

    Hello.
    I try to set PulseAudio as systemd service, but I'm still getting errors.
    Here is how my .service file looks like.
    $cat /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=PulseAudio Sound System
    Before=sound.target
    [Service]
    BusName=org.pulseaudio.Server
    ExecStart=/usr/bin/pulseaudio --start
    Restart=always
    User=%1
    [Install]
    WantedBy=multi-user.target
    And here is what I get (dan is my username):
    $ systemctl start [email protected]
    $ systemctl status [email protected] 
    [email protected] - PulseAudio Sound System
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; disabled)
    Active: failed (Result: start-limit) since Mon 2013-09-16 11:42:46 CEST; 2s ago
    Process: 1407 ExecStart=/usr/bin/pulseaudio --start (code=exited, status=217/USER)
    Sep 16 11:42:45 530uarch systemd[1]: Failed to start PulseAudio Sound System.
    Sep 16 11:42:45 530uarch systemd[1]: Unit [email protected] entered failed state.
    Sep 16 11:42:46 530uarch systemd[1]: [email protected] holdoff time over, scheduling restart.
    Sep 16 11:42:46 530uarch systemd[1]: Stopping PulseAudio Sound System...
    Sep 16 11:42:46 530uarch systemd[1]: Starting PulseAudio Sound System...
    Sep 16 11:42:46 530uarch systemd[1]: [email protected] start request repeated too quickly, refusing to start.
    Sep 16 11:42:46 530uarch systemd[1]: Failed to start PulseAudio Sound System.
    Sep 16 11:42:46 530uarch systemd[1]: Unit [email protected] entered failed state.
    Thank you
    Last edited by Kotrfa (2013-09-16 17:02:35)

    Ahhh. Thank you for that. I will add it to my awesome autostart script.
    Solved
    Last edited by Kotrfa (2013-09-16 17:03:20)

  • [Solved] Starting systemd --user as a systemd --system process?

    Hey guys,
    I would like to run systemd --user as a system service using this .service file I wrote:
    $ cat [email protected]
    [Unit]
    Description=Systemd --user instance for %I
    Documentation=man:systemd
    [Service]
    User=%I
    ExecStart=/usr/lib/systemd/systemd --user --log-level=debug
    [Install]
    WantedBy=multi-user.target
    I enabled it for my user using `systemctl enable systemd-user@evan`, however, when starting it it fails with the following errors:
    Jul 21 21:14:42 desktop systemd[12920]: systemd 204 running in user mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
    Jul 21 21:14:42 desktop systemd[12920]: Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd/system/[email protected]/[email protected]/systemd-12920.
    Jul 21 21:14:42 desktop systemd[12920]: Failed to create root cgroup hierarchy: Permission denied
    Jul 21 21:14:42 desktop systemd[12920]: Failed to allocate manager object: Permission denied
    Is it possible to run systemd --user like this? Do I need to add something to my [email protected]?
    Last edited by EvanPurkhiser (2013-07-22 02:10:10)

    EDIT: I just realized that the systemd-user-session-units package will only include specific units at build-time weather I have have the programs or not. You're right, I should just use this package!
    Well, to be honest, maybe I'm trying to hack around a problem that doesn't even really exist, but I don't think the systemd-user-sessions-units package meets my needs.
    The way I would like to have my user sessions setup is something like this:
    I would like to have an instance of systemd --user always running under my user so I can keep things like transmission-daemon always running, even when I don't have a user session open. When I do start my user session (via logging into getty) I want to bring my systemd instance up to a certain target. For example, logging in via tty1 should bring up graphical.target, which will start X11 and all that, while logging into any other tty will start console.target (for stuff like ssh-agent etc).
    Thinking more about this I suppose there's really no reason I couldn't use the [email protected] from systemd-user-session-units, but since I won't use most of the other user units included, I would rather just not use it.
    Here's what my .profile looks like:
    if systemctl -q is-active systemd-user@evan
    then
    # Default systemd to the console target
    target="console"
    # If we're logging in from VT1 start the graphical target
    if [[ $XDG_VTNR == 1 ]] && ! systemctl --user -q is-active graphical.target &> /dev/null
    then
    export DISPLAY=:0
    target="graphical"
    fi
    # Set all environment variables in the systemd --user instance (still working on this)
    env | systemctl --user set-environment -
    # Bring up systemd --user to the specified target
    systemctl --user start ${target}.target
    fi
    source "$HOME/.bashrc"
    Last edited by EvanPurkhiser (2013-07-22 03:56:13)

  • [Solved] Starting applications locally but not SSH

    Ok, so.. argh..
    I'm normally good enough to figure these _basic_ things out but i'm bashing my head right now.
    https://wiki.archlinux.org/index.php/Autostarting
    i want to run startx when logging in locally on a tty, but not when i initiate a user-session via SSH.
    Normally i'd place profiling stuff in .bashrc (variables, user aliases etc) and place startx in say a tty1.conf or something under /etc/init.d but since Arch is running systemd and starting x is not a daemon per sae i'm all out of luck here.
    How do you guys normally startx? and how do you separate autostarting applications locally, remote etc?
    Ps. I've started stuff via .config/openbox/autostart so that's fine.
    I need X not to iniatate every ssh session :)
    Solution (one of many):
    This solution will not only work through all terminals (meaning you don't check the terminal name) it will also not rely on tty or session names, it will instead check if the source is running under a X window (:0) or from an IP (10.0.0.1).
    If non of the above it defaults to starting x.
    Note: It will not distinguish running under systemd aparently and it also doesn't take in account if you're relaying X via SSH i guess (havn't tried that tho but it's an assumption).
    sudo nano /etc/profile.d/gui.sh
    #!/bin/bash
    me=`who am i`
    case "$me" in
    *\(:0\)*) echo "Youre in X" ;;
    *\(*.*.*.*) echo "Youre in SSH" ;;
    *) startx ;;
    esac
    Last edited by Torxed (2013-06-12 07:24:46)

    jasonwryan wrote:
    You could also use lastlog to determine if you are logged in on a TTY or pseudo-terminal:
    ┌─[Veles ~]
    └─╼ lastlog -u jason | awk '/jason/ {print $2}'
    pts/9
    ┌─[Shiv ~ ]
    └─╼ lastlog -u jason | awk '/jason/ {print $2}'
    tty1
    # edit: or just grep it if you only need an exit status...
    This feels unpredictable right off the bat mainly because there's other services being found in lastlog, also if two people login at the exact same time and one of them get a "spike" in the process priority you'll end up giving the wrong sessiondata to the wrong user unless you check the username logged in against lastlog but that requires more processing power then a case/if clause from a single output source. Speed is everything, logic is next and everything else falls behind
    Tarqi wrote:
    What about /usr/bin/tty?
    .bashrc
    tty | grep tty && startx
    Edit: Check the DISPLAY Variable if you want to avoid starting multiply X-Servers. However, maybe $TERM might be another solution.
    Locally:
    [doxid@faparch ~]$ tty
    /dev/pts/1
    Remote SSH:
    [doxid@faparch ~]$ ssh [email protected]
    Last login: Wed Jun 12 02:27:53 2013 from 10.0.0.140
    Youre in SSH
    [root@lookabeaver ~]# tty | grep tty
    [root@lookabeaver ~]# tty
    /dev/pts/1
    Don't think this is a viable option.
    WonderWoofy wrote:
    I think ewaller meant cut and not -cut.  But even then, what he is suggesting is that you print characters 10 through 12.  So it highly depends on the output length and therefore the number of letters in your username.  If you has used something like this it would have worked:
    who am i | cut -d' ' -f2
    Might work, but you're probably feteching:
    [doxid@faparch ~]$ who am i | cut -d' ' -f16
    (:0)
    Last edited by Torxed (2013-06-12 07:15:09)

  • [SOLVED]Starting Teamviewerd -- Teamviewer 8.0.16485 Beta

    The Error Message that Shows:
    Console's Code.
    [ ~ ] > teamviewer
    Init...
    Checking setup...
    Launching TeamViewer...
    wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
    err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
    err:winedevice:ServiceMain driver L"MountMgr" failed to load
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    err:secur32:SECUR32_initSchannelSP libgnutls not found, SSL connections will fail
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub.
    fixme:resource:GetGuiResources (0xffffffff,0): stub
    fixme:win:EnumDisplayDevicesW ((null),0,0x33df64,0x00000000), stub!
    fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x33dc1c,0x00000000), stub!
    fixme:win:EnumDisplayDevicesW ((null),1,0x33df64,0x00000000), stub!
    It doesn't show up in Systemd and cannot be added for some reason:
    [ ~ ] > systemd list-unit-files
    UNIT FILE STATE
    proc-sys-fs-binfmt_misc.automount static
    dev-hugepages.mount static
    dev-mqueue.mount static
    proc-sys-fs-binfmt_misc.mount static
    sys-fs-fuse-connections.mount static
    sys-kernel-config.mount static
    sys-kernel-debug.mount static
    tmp.mount static
    systemd-ask-password-console.path static
    systemd-ask-password-wall.path static
    accounts-daemon.service disabled
    alsa-restore.service static
    alsa-store.service static
    [email protected] disabled
    avahi-daemon.service disabled
    avahi-dnsconfd.service disabled
    bluetooth.service disabled
    brltty.service disabled
    canberra-system-bootup.service disabled
    canberra-system-shutdown-reboot.service disabled
    canberra-system-shutdown.service disabled
    colord.service static
    console-getty.service disabled
    console-kit-daemon.service disabled
    console-kit-log-system-restart.service static
    console-kit-log-system-start.service static
    console-kit-log-system-stop.service static
    console-shell.service disabled
    cronie.service disabled
    dbus-org.freedesktop.hostname1.service static
    dbus-org.freedesktop.locale1.service static
    dbus-org.freedesktop.login1.service static
    dbus-org.freedesktop.NetworkManager.service enabled
    dbus-org.freedesktop.timedate1.service static
    dbus.service static
    debug-shell.service disabled
    dhcpcd.service disabled
    [email protected] enabled
    display-manager.service enabled
    dkms.service disabled
    emergency.service static
    fancontrol.service disabled
    fluidsynth.service disabled
    ftpd.service disabled
    gdm.service enabled
    [email protected] enabled
    [email protected] masked
    gpm.service disabled
    healthd.service disabled
    httpd.service disabled
    [email protected] disabled
    ip6tables.service disabled
    iptables.service disabled
    irexec.service masked
    krb5-kadmind.service disabled
    krb5-kdc.service disabled
    krb5-kpropd.service disabled
    [email protected] static
    lirc.service masked
    lircm.service masked
    lm_sensors.service disabled
    lvm-on-crypt.service disabled
    lvm.service disabled
    mdadm.service masked
    modem-manager.service disabled
    net-auto-wired.service enabled
    net-auto-wireless.service enabled
    net-profiles.service disabled
    netcfg.service enabled
    [email protected] disabled
    NetworkManager-wait-online.service enabled
    NetworkManager.service enabled
    nmbd.service disabled
    nscd.service disabled
    [email protected] disabled
    polkit.service static
    [email protected] disabled
    preload.service enabled
    quotaon.service static
    rescue.service static
    rtkit-daemon.service disabled
    sensord.service disabled
    [email protected] static
    smbd.service disabled
    speech-dispatcherd.service disabled
    systemd-ask-password-console.service static
    systemd-ask-password-wall.service static
    systemd-binfmt.service static
    systemd-fsck-root.service static
    [email protected] static
    systemd-halt.service static
    systemd-hibernate.service static
    systemd-hostnamed.service static
    systemd-hybrid-sleep.service static
    systemd-initctl.service static
    systemd-journal-flush.service static
    systemd-journal-gatewayd.service static
    systemd-journald.service static
    systemd-kexec.service static
    systemd-localed.service static
    systemd-logind.service static
    systemd-modules-load.service static
    systemd-poweroff.service static
    systemd-quotacheck.service static
    systemd-random-seed-load.service static
    systemd-random-seed-save.service static
    systemd-readahead-collect.service disabled
    systemd-readahead-done.service static
    systemd-readahead-drop.service disabled
    systemd-readahead-replay.service disabled
    systemd-reboot.service static
    systemd-remount-fs.service static
    systemd-shutdownd.service static
    systemd-suspend.service static
    systemd-sysctl.service static
    systemd-timedated.service static
    systemd-tmpfiles-clean.service static
    systemd-tmpfiles-setup.service static
    systemd-udev-settle.service static
    systemd-udev-trigger.service static
    systemd-udevd.service static
    systemd-update-utmp-runlevel.service static
    systemd-update-utmp-shutdown.service static
    systemd-user-sessions.service static
    systemd-vconsole-setup.service static
    udisks.service disabled
    udisks2.service static
    upower.service disabled
    usbmuxd.service static
    [email protected] static
    uuidd.service static
    vboxweb.service disabled
    winbindd.service disabled
    [email protected] disabled
    [email protected] disabled
    wpa_supplicant.service disabled
    [email protected] disabled
    xinetd.service disabled
    xmms2d.service disabled
    xsp.service disabled
    avahi-daemon.socket disabled
    dbus.socket static
    krb5-kpropd.socket disabled
    syslog.socket static
    systemd-initctl.socket static
    systemd-journal-gatewayd.socket disabled
    systemd-journald.socket static
    systemd-shutdownd.socket static
    systemd-udevd-control.socket static
    systemd-udevd-kernel.socket static
    uuidd.socket disabled
    basic.target static
    bluetooth.target static
    cryptsetup.target static
    ctrl-alt-del.target disabled
    default.target disabled
    emergency.target static
    final.target static
    getty.target static
    graphical.target disabled
    halt.target disabled
    hibernate.target static
    hybrid-sleep.target static
    kexec.target disabled
    local-fs-pre.target static
    local-fs.target static
    mail-transfer-agent.target static
    multi-user.target disabled
    network.target static
    nss-lookup.target static
    nss-user-lookup.target static
    poweroff.target disabled
    printer.target static
    reboot.target disabled
    remote-fs-pre.target static
    remote-fs.target enabled
    rescue.target disabled
    rpcbind.target static
    runlevel0.target disabled
    runlevel1.target disabled
    runlevel2.target disabled
    runlevel3.target disabled
    runlevel4.target disabled
    runlevel5.target disabled
    runlevel6.target disabled
    shutdown.target static
    sigpwr.target static
    sleep.target static
    smartcard.target static
    sockets.target static
    sound.target static
    suspend.target static
    swap.target static
    sysinit.target static
    syslog.target static
    system-update.target static
    time-sync.target static
    umount.target static
    systemd-readahead-done.timer static
    systemd-tmpfiles-clean.timer static
    200 unit files listed.
    Attempting to add the daemon:
    [ ~ ] > systemctl enable teamviewer
    Failed to issue method call: No such file or directory
    [ ~ ] > systemctl enable teamviewerd.service
    Failed to issue method call: No such file or directory
    [ ~ ] > systemctl enable teamviewerd
    Failed to issue method call: No such file or directory
    [ ~ ] > systemctl enable teamviewer.service
    Failed to issue method call: No such file or directory
    [ ~ ] >
    I've also googled the solutions numerous times. The Ubuntu forums and such are the only ones that show up, and they aren't helping.
    Last edited by Invie (2012-12-06 23:30:04)

    Maybe try re-installing, I'm seeing it in the PKGBUILD from the AUR https://aur.archlinux.org/packages/te/t … r/PKGBUILD
    Edit: Don't think you needed to start another thread on the subject though. https://bbs.archlinux.org/viewtopic.php?id=154171
    Last edited by doug piston (2012-12-06 18:48:35)

Maybe you are looking for