LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2024, 02:51 PM   #1
digimaus
LQ Newbie
 
Registered: Nov 2009
Location: Johnson City, TN, USA
Distribution: Slackware 15.0
Posts: 29

Rep: Reputation: 11
Question Teamviewer GUI not starting in Slackware 15.0 with slim


Hello everyone,

I have convinced my parents to try using Slackware Linux instead of Windows. As part of this, they have asked me to make sure that I can remotely connect and help them when needed.

I wanted to use x2go but unfortunately their ISP does not allow direct outside connections so I am stuck using TeamViewer. I have run into a problem: TeamViewer GUI refuses to start under Slackware 15. I've done the usual Web and forum searching to discover that TeamViewer evidently needs a graphical display manager to work. Unfortunately, that doesn't seem to solve this issue.

What I have done on the test computer:
  • Set initlevel to 4
  • Installed slim
  • Installed TeamViewer via SlackBuilds
  • Set rc.teamviewer to +x
  • Started the TV daemon
  • Made sure the daemon was running before attempting to use the GUI

This is what I get when trying to run the Teamviewer GUI:

Code:
Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
Nothing in any of the TeamViewer logs is helpful.

I'm at a loss right now but I'm considering trying gdm as the SlackBuilds build of gdm does have PAM support and maybe that's what TV is expecting.

Any thoughts or suggestions are appreciated!
 
Old 03-17-2024, 06:39 PM   #2
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
Did you install Gnome via Slackbuilds.org?? Just asking because you are referring to gdm.
 
Old 03-17-2024, 06:45 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by digimaus View Post
I have convinced my parents to try using Slackware Linux instead of Windows.
For this purpose, I'd hope that you're using 15.0 stable and not current. And preferably a full installation of it, complete with KDE.
Quote:
Originally Posted by digimaus View Post
As part of this, they have asked me to make sure that I can remotely connect and help them when needed.
There is a SlackBuild for TeamViewer. Are you using it? https://slackbuilds.org/repository/1...rch=TeamViewer

Another option is Google: https://remotedesktop.google.com/

The only other advice I'd offer is this: Don't switch people away from something they're comfortable with, even if (as in this case) the solution you're proposing is significantly better. You're creating a rod for your own back. They will call you with an urgent problem at a time when it is least convenient for you. Your dinners will go cold, you will miss story time with your kids, you won't have time for breakfast, you won't see the excellent shot your kid makes at Saturday morning sport, your phone will ring during job interviews or critically important business meetings or even while you're in the bathroom.

But, don't let me put you off...
 
1 members found this post helpful.
Old 03-17-2024, 07:48 PM   #4
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 766

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
Quote:
Originally Posted by digimaus View Post
I'm at a loss right now but I'm considering trying gdm as the SlackBuilds build of gdm does have PAM support and maybe that's what TV is expecting.
Slackware comes with the 'sddm' and 'xdm' login managers in a default install. I'd recommend trying one of those first before trying to add on 'gdm' since they are ready to go "out of the box" and have working PAM configs already installed. The gdm PAM config is based off of the sddm config also, so testing sddm would suffice.

For the record: I did a quick build of the 'slim' package to look at what it installs and can tell you that out of the box, it's PAM configuration is incorrect and will not work:
Code:
$ cat /etc/pam.d/slim/slim.pam 
#%PAM-1.0

auth        include     system-local-login
-auth       optional    pam_gnome_keyring.so
account     include     system-local-login
session     include     system-local-login
-session    optional    pam_gnome_keyring.so auto_start
Slackware doesn't include a 'system-local-login' config, and there's no usage of elogind for session management. My guess is this is some boilerplate setup for Arch linux or something. Maybe there's some better build options, or a custom config has to be supplied, tailored for Slackware. xdm or sddm could be used as a reference to make a config that works for slim most likely, but I dont use the software myself.
 
Old 03-18-2024, 01:33 AM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
In Slackware, TeamViewer works in KDE started with KDM. It's a mystery to me, what's missing otherwise.
 
Old 03-18-2024, 06:37 AM   #6
digimaus
LQ Newbie
 
Registered: Nov 2009
Location: Johnson City, TN, USA
Distribution: Slackware 15.0
Posts: 29

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by reddog83 View Post
Did you install Gnome via Slackbuilds.org?? Just asking because you are referring to gdm.
No, I have now. I'm using XFCE.
 
Old 03-18-2024, 06:44 AM   #7
digimaus
LQ Newbie
 
Registered: Nov 2009
Location: Johnson City, TN, USA
Distribution: Slackware 15.0
Posts: 29

Original Poster
Rep: Reputation: 11
Thumbs up

Quote:
Originally Posted by rkelsen View Post
For this purpose, I'd hope that you're using 15.0 stable and not current. And preferably a full installation of it, complete with KDE.

There is a SlackBuild for TeamViewer. Are you using it? https://slackbuilds.org/repository/1...rch=TeamViewer

As I stated in my original message, yes, I am using Teamviewer from SlackBuilds.

Another option is Google: https://remotedesktop.google.com/

The only other advice I'd offer is this: Don't switch people away from something they're comfortable with, even if (as in this case) the solution you're proposing is significantly better. You're creating a rod for your own back. They will call you with an urgent problem at a time when it is least convenient for you. Your dinners will go cold, you will miss story time with your kids, you won't have time for breakfast, you won't see the excellent shot your kid makes at Saturday morning sport, your phone will ring during job interviews or critically important business meetings or even while you're in the bathroom.

But, don't let me put you off...
I spent 35 years in IT as a system and a network administrator and was on call 24/7/365 for most of my adult life. I am medically retired and divorced, live alone, and have long been my parents' IT guy, so none of the above shocks me anymore.

My father is a victim of a car accident that caused severe traumatic brain injury 22 years ago and he has struggled to use a computer after that. I'm used to getting phone calls and texts at random times for computer issues. I consider that part of my duties as the oldest and only son (not to mention the only nerd in the family).
 
1 members found this post helpful.
Old 03-18-2024, 06:47 AM   #8
digimaus
LQ Newbie
 
Registered: Nov 2009
Location: Johnson City, TN, USA
Distribution: Slackware 15.0
Posts: 29

Original Poster
Rep: Reputation: 11
Lightbulb

Quote:
Originally Posted by 0XBF View Post
Slackware comes with the 'sddm' and 'xdm' login managers in a default install. I'd recommend trying one of those first before trying to add on 'gdm' since they are ready to go "out of the box" and have working PAM configs already installed. The gdm PAM config is based off of the sddm config also, so testing sddm would suffice.
Thank you. I will take your advice and test 'sddm' this week and report back. I gave up on 'gdm' because of the absolute enormity of dependencies it has.
 
Old 03-18-2024, 09:15 AM   #9
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Originally Posted by digimaus View Post
Thank you. I will take your advice and test 'sddm' this week and report back. I gave up on 'gdm' because of the absolute enormity of dependencies it has.
I use on some machines gdm 2.0 which I have here : https://github.com/BrunoLafleur/pbsl...builds/sbo/gdm

It depends only on libgnomecanvas :
https://github.com/BrunoLafleur/pbsl...libgnomecanvas

The both are for Slackware 15.0 and uses PAM, but as said above xdm and sddm also use PAM.

But as said above by 0XBF, a better config slim.pam for PAM like the one for SDDM maybe a good start point.

Also is the teamviewer.rc started successfully ? Try as root : cd /etc/rc.d;./teamviewer.rc stop then ./teamviewer.rc start and see if there are some messages.
 
Old 03-18-2024, 11:01 AM   #10
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Rep: Reputation: 23
I'm using sddm display manager with dwm as graphical environment. I used to let slackware init level set to 3, but due to this TeamViewer requirement I switched it to init 4 (graphical log in with sddm). TV package installed via SBo slackbuild.

PS.
Now I'm facing with an other issue about TeamViewer, it disconnects my remote session after 5 minutes. This morning is first time I noticed this new "Team Viewer policy".

As regards alternatives, any other suggestion a part of google remote desktop?
I have to connect from Slackware to a remote PC on which is running Win7, its IP should be public and dynamic. I need graphical desktop shown.
 
Old 03-18-2024, 11:17 AM   #11
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Originally Posted by joenew View Post
I'm using sddm display manager with dwm as graphical environment. I used to let slackware init level set to 3, but due to this TeamViewer requirement I switched it to init 4 (graphical log in with sddm). TV package installed via SBo slackbuild.

PS.
Now I'm facing with an other issue about TeamViewer, it disconnects my remote session after 5 minutes. This morning is first time I noticed this new "Team Viewer policy".

As regards alternatives, any other suggestion a part of google remote desktop?
I have to connect from Slackware to a remote PC on which is running Win7, its IP should be public and dynamic. I need graphical desktop shown.
dwm is from SBo. It adds complexity to the problem with PAM for example. SDDM, KDM, XDM and GDM are known for having good configs for PAM. Other display manager are less well known.

Also you don't say if you change the PAM config for slim and if you try above suggestion for teamviewer.rc
 
Old 03-18-2024, 02:12 PM   #12
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Rep: Reputation: 23
I'm not the OP, my report was just to add my config.

Team Viewer needs init4 and a display managar like SDDM, or XDM or some other you mentioned. It's a known issue introduced qith last Team Viewr versions. I found many complains on the net by many "init3" users yet years ago.

I can confirm Team Viewer works properly with dwm, but dwm isn't a display manger, it doesn't manage login or similar stuff... it's just a window manager. A graphical display manager is needed. I'd suggest to try sddm just preinstalled in slackware.


My other request looking for alternatives to Team Viewer is not related to the OP user question. My question is due to new team viewer session time limitations and isn't related to any slackware software config like PAM or similar.
 
Old 03-18-2024, 04:11 PM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by joenew View Post
My other request looking for alternatives to Team Viewer is not related to the OP user question.
If you have a static IP at one end, and control the router at that end, then OpenVPN is not a bad choice.
 
1 members found this post helpful.
Old 03-18-2024, 04:53 PM   #14
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 766

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
Quote:
Originally Posted by digimaus View Post
Thank you. I will take your advice and test 'sddm' this week and report back. I gave up on 'gdm' because of the absolute enormity of dependencies it has.
There's 37 packages to build and install to get to gdm last I checked . You basically have to build the core gnome desktop minus the applications to use gdm, so if you're not after the whole desktop there are better options.

'sddm' is probably the easiest to test and more user friendly, although xdm is simpler overall. Based on what other users have said here it sounds like either should fix your TeamViewer problem. If not we can try to go from there.
 
Old 03-19-2024, 04:56 AM   #15
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Rep: Reputation: 23
Quote:
Originally Posted by rkelsen View Post
If you have a static IP at one end, and control the router at that end, then OpenVPN is not a bad choice.
The remote IP isn't static, and target PC is behind a LAN with a router provided by the ISP. Maybe I can try to change settings within the router, if I well remember it was preset by the ISP but it was installed by me years ago, there must be also its password written on paper somewhere within a desk... Anyway I prefer to leave it as is, because it manage some other devices and a wifi network for few other offices.

Perhaps openvpn could be used also in this situation, but I should subscribe some domain service like dynDNS or similar to reach at least the remote router. After that I don't know how to enter through the router and reach my PC without any port forwarding setting.
For this reason I'd prefer a solution like TeamViewer, I don't have to connect often to that PC, just few times in a month, but this new session-time limitation doesn't allow even any minimal stuff.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Teamviewer GUI not starting when running level 3 + startx zuni Linux - Newbie 11 08-17-2020 10:54 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
slim login problem - anyone succeed in configuring slim? rkrishna Slackware 20 02-18-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration