------- Comment From [email protected] 2017-02-24 05:04 EDT------- More detailed description: In any case what should occur is a "default value" for the global $TERM environment variable that is used by LightDM. Currently the LightDM vnc server requires this "$TERM environment variable" but It has never been set.
This global default value should be provided by the installation of LightDM with an option to customize it for use of the LightDM program. In my notes I did reference: "/var/lib/AccountsService/users/xxxxxx". This may be where the LightDM program can be customized. However, I did make the update to /etc/profile.d and added: export TERM =xterm-256color to create a global environment variable. This may or not be the best acceptable place to create this but it did resolve the output of the error message. == Comment: #0 - Michael J. Nash - 2016-03-23 11:55:10 == ---Problem Description--- error found when loading /ome/michael/.profile: VNC session user login error message TERM environment variable not set. tput: No value for $TERM and no -T specified. As a result the session will not e configured correctly. You should fix the problem as soon as feasible. ---uname output--- Linux linux140 4.4.0-7-generic #22-Ubuntu SMP Thu Feb 18 21:13:28 UTC 2016 s390x s390x s390x GNU/Linux ---Steps to Reproduce--- Connect to VNC server via VNC client on laptop. Then login. Userspace tool common name: lightvm Userspace rpm: vnc4server == Comment: #2 - Michael J. Nash - 2016-03-24 09:34:23 == Originally there was no variable TERM specified. Also tried TERM=xterm. == Comment: #3 - Michael J. Nash - 2016-03-25 14:05:07 == I found a method to resolve this problem. I created a script file in /etc/profile.d and added: export TERM=xterm-256color. I first tried to add this to /var/lib/AccountsService/users/michael but it was always removed. == Comment: #5 - Michael J. Nash - 2016-03-29 08:05:47 == The workaround does not fix the root cause of the problem. There is a default setting for the variable TERM that is ignored. This is a problem. The TERM setting in the user's .profile is ignored. This is a problem. The TERM setting in /var/lib/AccountsService/users/michael is always removed. This is a problem. Circumvention of a problem does not fix the problem it only allows you to function properly until the problem is fixed. It would be best to fix the problem so others do not have this issue. Default Comment by Bridge Out of scope. Target changed to 17.10. For evaluation and prioritization..... Will not make it into 17.04.. After discussion with [CAN] update to new evaluation target 18.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1594887 Title: Log in error on lightdm vnc server session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/1594887/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
