Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to get TigerVNC to run on Xubuntu 18.04? #668

Open
dearZac opened this issue Jun 21, 2018 · 6 comments
Assignees
Labels

Comments

@dearZac
Copy link

@dearZac dearZac commented Jun 21, 2018

I've been happily using TigerVNC 1.8.0 on Xubuntu 16.04 for a while (installed using dpkg), but I have built a new machine, and I would like it to run on version 18.04 of Xubuntu.

First I tried installing with apt according to https://help.ubuntu.com/community/VNC/Servers#TigerVNC

$ sudo apt install tigervnc-standalone-server

There is no error, but then I try to run it.

$ vncserver

And it does let me set a password and tries to start the server but ultimately fails.

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? n

New 'xubuntucomputer:1 (xubuntuuser)' desktop at :1 on machine xubuntucomputer

Starting applications specified in /etc/X11/Xvnc-session
Log file is /home/xubuntuuser/.vnc/xubuntucomputer:1.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/xubuntuuser/.vnc/passwd :1 to connect to the VNC server.


vncserver: Failed command '/etc/X11/Xvnc-session': 256!

=================== tail -15 /home/xubuntuuser/.vnc/xubuntucomputer:1.log ===================

Xvnc TigerVNC 1.7.0 - built Dec  5 2017 09:25:01
Copyright (C) 1999-2016 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11905000, The X.Org Foundation


Wed Jun 20 18:11:38 2018
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on local interface(s), port 5901
 vncext:      created VNC server for screen 0
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 175 requests (175 known processed) with 0 events remaining.
Killing Xtigervnc process ID 2120... which seems to be deadlocked. Using SIGKILL!

=============================================================================

Starting applications specified in /etc/X11/Xvnc-session has failed.
Maybe try something simple first, e.g.,
	tigervncserver -xstartup /usr/bin/xterm

So I tried to install the way I used to in 16.04 by downloading from https://bintray.com/version/files/tigervnc/stable/tigervnc/1.8.0?order=asc&sort=name&basePath=ubuntu-16.04LTS%2Famd64&tab=files

$ sudo dpkg -i tigervncserver_1.8.0-1ubuntu1_amd64.deb 
[sudo] password 
Selecting previously unselected package tigervncserver.
(Reading database ... 178924 files and directories currently installed.)
Preparing to unpack tigervncserver_1.8.0-1ubuntu1_amd64.deb ...
Unpacking tigervncserver (1.8.0-1ubuntu1) ...
dpkg: dependency problems prevent configuration of tigervncserver:
 tigervncserver depends on libtasn1-3-bin; however:
  Package libtasn1-3-bin is not installed.
 tigervncserver depends on libxfont1; however:
  Package libxfont1 is not installed.

dpkg: error processing package tigervncserver (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (237-3ubuntu10) ...
Errors were encountered while processing:
 tigervncserver

Then it wants to remove tigervncserver when I run this:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  tigervncserver
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 4,109 kB disk space will be freed.
Do you want to continue? [Y/n]

I told it no, and tried to install the missing packages:

$ sudo apt install libtasn1-3-bin libxfont1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libtasn1-3-bin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libtasn1-bin:i386 libtasn1-bin

Package libxfont1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libtasn1-3-bin' has no installation candidate
E: Package 'libxfont1' has no installation candidate


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@CendioOssman

This comment has been minimized.

Copy link
Member

@CendioOssman CendioOssman commented Jun 25, 2018

I'm afraid those errors come from some modifications that Ubuntu have made. So you'll have to file a bug with them to get it sorted out.

We don't currently have any 18.04 packaging of our own, and I don't know if @bphinz is planning on adding that. Either way, that's more of a bonus now that Ubuntu includes things natively.

You could try our generic build. It should sort out the dependency issue.

@bphinz

This comment has been minimized.

Copy link
Contributor

@bphinz bphinz commented Jun 25, 2018

We should probably adopt a support schedule based on the distro vendor's. In this case, that would mean dropping support for 12.04 and adding 18.04, which is a change that's probably overdue anyway... I will look at making the change after the 1.9 release.

https://www.ubuntu.com/info/release-end-of-life
https://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d
https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet

@bphinz bphinz reopened this Jun 25, 2018
@bphinz bphinz self-assigned this Jun 25, 2018
@bphinz bphinz added the enhancement label Jun 25, 2018
@dearZac

This comment has been minimized.

Copy link
Author

@dearZac dearZac commented Jun 26, 2018

You could try our generic build. It should sort out the dependency issue.

Is that one of the files on the bintray.com Files page? Are there instructions you can point me to?

I will look at making the change after the 1.9 release.

Cool!

@CendioOssman

This comment has been minimized.

Copy link
Member

@CendioOssman CendioOssman commented Jun 26, 2018

Is that one of the files on the bintray.com Files page? Are there instructions you can point me to?

Yes. It's the .tar.gz ones. Just unpack it and move the files inside to / on your system.

@dynamodan

This comment has been minimized.

Copy link

@dynamodan dynamodan commented Oct 28, 2019

I get this error on ubuntu 18.04:

 tigervncserver depends on libtasn1-3-bin; however:
  Package libtasn1-3-bin is not installed.
 tigervncserver depends on libxfont1; however:
  Package libxfont1 is not installed.

I just use the --force-depends switch with dpkg and it installs fine.

@bphinz

This comment has been minimized.

Copy link
Contributor

@bphinz bphinz commented Oct 29, 2019

I've added preliminary support for Ubuntu 18.04. The debs are available from the nightly builds page but are untested. Any feedback you can provide would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.