You are not logged in.

#1 2012-04-16 11:16:10

giuco65
Member
Registered: 2012-04-16
Posts: 4

TeX Live 2011: installation problem with "Install-tl"

Dear All,
I'm trying to install TeX Live 2011 using netinstall with the script "install-tl".
After perl-tk installation on my system, I got the following message:
-------
No protocol specified
perl/Tk unusable, cannot create main windows.
Error message from creating MainWindow:
couldn't connect to display ":0" at /usr/lib/perl5/vendor_perl/Tk/MainWindow.pm line 53.
Tk::MainWindow->new() at ./install-tl line 340

Continuing in text mode...
-------
ArchLinux is great for the moment, but this problem is annoying me.
Thanks for you hints and help


Giulio

Offline

#2 2012-04-16 11:38:53

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: TeX Live 2011: installation problem with "Install-tl"

TeX Live is present in Arch repositories. Why don't you want to install the version available and working well with Arch?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-04-16 11:48:17

giuco65
Member
Registered: 2012-04-16
Posts: 4

Re: TeX Live 2011: installation problem with "Install-tl"

Thanks for your answer.
Yes this is an option, but this has been my approach to install texlive on other linux distro.

Offline

#4 2012-04-16 12:07:36

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: TeX Live 2011: installation problem with "Install-tl"

If it is possible for you, and you want to set up TeX Live flawlessly, choose the most straightforward approach, i.e. TeX Live 2011 from the repo. (The problem seems to be a missing Tk/Perl library that will be installed anyhow.)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-04-16 12:21:53

giuco65
Member
Registered: 2012-04-16
Posts: 4

Re: TeX Live 2011: installation problem with "Install-tl"

I ran the installer by cli. All goes perfectely.
I suspect that the problem could be related to sudo: when i run tlmgr-gui the tk window appears, without problems.
But I have not the necessary privileges to modify anything.

Offline

#6 2012-04-16 13:17:43

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 133

Re: TeX Live 2011: installation problem with "Install-tl"

How do you run the script?

In this moment, in my new fresh install i'm running the script without problem:

./install-tl -gui perltk

And you can run it like the root for a system install.


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#7 2012-04-17 09:18:18

giuco65
Member
Registered: 2012-04-16
Posts: 4

Re: TeX Live 2011: installation problem with "Install-tl"

I did it using cli  as I told. Then, regarding my proble with tk I suspect it is related to the sudoers file. Maybe allowing sudo to launch xorg apps.: but I'm not an expert.

Regards

Giulio

Offline

#8 2012-04-17 10:35:23

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: TeX Live 2011: installation problem with "Install-tl"

I install texlive at /opt/texlive and change ownership to root:texusers and some convenient chmod.  Then you can mess around with TeX without being root/using sudo.


Arch x64 on Thinkpad X200s/W530

Offline

#9 2012-04-22 20:45:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: TeX Live 2011: installation problem with "Install-tl"

It is recommended not to install and maintain a texlive install as root.

This is one excellent reason you might prefer to use the texlive install route than the repo. Maybe it is possible to do something such that the latter handles things as a non-privileged user but it is definitely straightforward using the former method.

[Doesn't seem this *is* why people are installing this way, mind. Just that it is one good reason to do so.]


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2012-11-03 02:49:16

hyangyt
Member
Registered: 2012-11-03
Posts: 1

Re: TeX Live 2011: installation problem with "Install-tl"

Are you using KDE?
I got the same problem, and using 'kdesu' instead of 'sudo' fixed it.

Offline

Board footer

Powered by FluxBB