Re: [Ltsp-discuss] Timezone in chroot client on Ubuntu 16.04

2017-05-19 Thread Мокрозуб В . А .
Run "dpkg-reconfigure tzdata" in chroot.

 

Regards,

Vladimir.

 

From: Sean Carte [mailto:sean.ca...@gmail.com] 
Sent: Friday, May 19, 2017 11:34 AM
To: ltsp-discuss@lists.sourceforge.net
Subject: [Ltsp-discuss] Timezone in chroot client on Ubuntu 16.04

 

My chroot clients are all set to UCT even though the server's timezone is SAST. 
Any insights on how to correct this? The messages I found online seem to 
suggest that this may be a bug in Ubuntu 16.04, not just me doing something 
dumb: https://bugs.launchpad.net/ltsp/+bug/1596448


 

Sean

-- 

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] No home directory

2017-05-17 Thread Мокрозуб В . А .
I did clean installation of Lubuntu and it indeed doesn't let you log in. This 
is syslog on the client:

 

May 17 11:20:19 ltsp79 org.a11y.Bus[1527]: ** (process:1540): WARNING **: 
Failed to register client: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name

org.gnome.SessionManager was not provided by any .service files

May 17 11:20:19 ltsp79 org.a11y.Bus[1527]: Activating service 
name='org.a11y.atspi.Registry'

May 17 11:20:19 ltsp79 org.a11y.Bus[1527]: Successfully activated service 
'org.a11y.atspi.Registry'

May 17 11:20:19 ltsp79 org.a11y.atspi.Registry[1545]: SpiRegistry daemon is 
running with well-known name - org.a11y.atspi.Registry

May 17 11:20:19 ltsp79 gnome-session[1479]: gnome-session-is-accelerated: 
llvmpipe detected.

May 17 11:20:19 ltsp79 org.gnome.ScreenSaver[1527]: ** 
(gnome-screensaver:1556): WARNING **: Couldn't get presence status: The name 
org.gnome.SessionManager was not

provided by any .service files

May 17 11:20:19 ltsp79 gnome-session[1479]: gnome-session-binary[1479]: 
CRITICAL: We failed, but the fail whale is dead. Sorry

May 17 11:20:19 ltsp79 gnome-session-binary[1479]: CRITICAL: We failed, but the 
fail whale is dead. Sorry

 

Seems LDM doesn’t want to use LXDE by default (despite the fact that it is the 
only DE installed), so you have to add this to lts.conf:

 

LDM_SESSION=LXDE

 

You can find available DEs in the "/opt/ltsp/i386/usr/share/xsessions" 
directory.

 

P.S. LTSP-clients in Ubuntu 16.04 remove sshd service on boot for some reason 
so if you want to be able to connect to clients via SSH you need to add this to 
lts.conf: 

KEEP_SYSTEM_SERVICES="ssh"

 

Regards,

Vladimir.

 

From: Sean Carte [mailto:sean.ca...@gmail.com] 
Sent: Tuesday, May 16, 2017 4:25 PM
To: ltsp-discuss@lists.sourceforge.net
Subject: Re: [Ltsp-discuss] No home directory

 

In /var/lib/tftpboot/ltsp/i386/lts.conf I've tried both:

LDM_XSESSION=/usr/bin/lxsession -s Lubuntu -e LXDE

and
LDM_SESSION="gnome-session --session=ubuntu-2d"




I have both ubuntu and lubuntu installed in the chroot. Do I need to have a 
desktop environment installed on the server?

Sean

-- 

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] No home directory

2017-05-16 Thread Мокрозуб В . А .
Users in the LTSP-environment are authenticated on the server and their home 
directories are mounted from the server. You don't need to create home 
directories in the chroot.

 

ltsp-update-image removes everything from /home directory by default. The list 
of files removed from the image is stored in the 
"/etc/ltsp/ltsp-update-image.excludes" file on the server.

 

>> The client gets to the log-in screen, but the GUI can't get past that

 

Did you create the user on the server? What do syslog and auth.log say?

 

Regards,

Vladimir

 

From: Sean Carte [mailto:sean.ca...@gmail.com] 
Sent: Tuesday, May 16, 2017 2:37 PM
To: ltsp-discuss@lists.sourceforge.net
Subject: [Ltsp-discuss] No home directory

 

It's been a while since I last had to install LTSP, and I've never done it 
using Ubuntu 16.04 before, but things are going very wrong here and I hope 
someone can help.

I've installed Ubuntu 16.04 and LTSP but the clients don't have home 
directories. I have a machine assigned to opac30 in dhcp.conf:

host opac30 {
# info desk PC
hardware ethernet 00:0f:fe:33:8d:b9;
fixed-address 10.0.123.130;
filename "/ltsp/i386/pxelinux.0";
option host-name opac30;
}

In lts.conf:

[00:0f:fe:33:8d:b9]
# info desk PC
LDM_USERNAME=opac30

in the chroot I have a home directory:

/opt/ltsp/i386/home/opac30/
total 24
drwxr-xr-x  3 opac30 opac30 4096 May 16 09:22 .
drwxr-xr-x 32 root   root   4096 May 16 09:22 ..
-rw-r--r--  1 opac30 opac30  220 Aug 31  2015 .bash_logout
-rw-r--r--  1 opac30 opac30 3771 Aug 31  2015 .bashrc
drwxr-xr-x  3 opac30 opac30 4096 May 16 09:21 .config
-rw-r--r--  1 opac30 opac30  655 Jun 24  2016 .profile

I created the image with ltsp-update-image i386

The client gets to the log-in screen, but the GUI can't get past that. If I 
ctrl-alt-f1 I can log in, but there is no home directory. /home/ is empty.

Doesn't `ltsp-update-image i386` build an image using /opt/ltsp/i386/ ?

Sean

-- 

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Installing lubuntu in chroot: bluman error

2017-05-15 Thread Мокрозуб В . А .
You could try installing minimum version of Ubuntu, mount devices from the host:

 

mount --bind /proc /opt/ltsp/i386/proc

mount --bind /sys /opt/ltsp/i386/sys

mount --bind /dev /opt/ltsp/i386/dev

mount --bind /dev/pts /opt/ltsp/i386/dev/pts

 

chroot with:

 

LTSP_HANDLE_DAEMONS=false chroot /opt/ltsp/i386

 

and install required packages.

 

Regards,

Vladimir.

 

From: Sean Carte [mailto:sean.ca...@gmail.com] 
Sent: Monday, May 15, 2017 4:57 PM
To: ltsp-discuss@lists.sourceforge.net
Subject: [Ltsp-discuss] Installing lubuntu in chroot: bluman error

 

I'm trying to install lubuntu in an i386 chroot, but I get the following erros:

Errors were encountered while processing:
 blueman
 lubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up blueman (2.0.4-1ubuntu2) ...
Running in chroot, ignoring request.



dpkg: dependency problems prevent configuration of lubuntu-desktop:
 lubuntu-desktop depends on blueman; however:
  Package blueman is not configured yet.

Apparently I can't install blueman because I'm in a chroot, but if I can't 
install blueman, I can't install lubuntu-desktop. What do I do?

Sean

-- 

 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp

2016-12-02 Thread Мокрозуб В . А .
You need neither Windows Ultimate nor Hyper-V to enable RemoteFX.

Windows Server 2012 natively supports RemoteFX, you need only to set 32-bit 
color mode on your server in Group Policy.

Please read here: 
https://technet.microsoft.com/en-us/library/ff817594%28v=ws.10%29.aspx

 

For FreeRDP help I encourage you to visit #freerdp channel on 
http://webchat.freenode.net/

 

Regards,

Vladimir

 

From: Funke, Martin [mailto:m.fu...@olpe.de] 
Sent: Friday, December 02, 2016 2:01 PM
To: 'ltsp-discuss@lists.sourceforge.net'
Subject: Re: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp
Importance: High

 

Hello Vladimir,

 

in my config every client is running as a fat client.

 

As far as I know remotefx is only working in Windows Ultimate versions and you 
need it as a hyper-V virtual PC.

 

But I’m using Windows 2012R2 as a Terminalerver / RDS.

 

Best regards

Martin

 

Von: Мокрозуб В.А. [mailto:v...@itc.tambov.gov.ru] 
Gesendet: Donnerstag, 1. Dezember 2016 10:21
An: ltsp-discuss@lists.sourceforge.net
Betreff: Re: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp

 

Hello, Martin,

 

are you clients thin or fat? If you need local devices I suggest fat-client 
setup because it's easier to configure and debug.

 

For usb redirection use /usb option of xfreerdp:

 

/usb:id,dev::

 

However there're a lot of issues with USB redirection over freerdp, there is a 
big chance that it won't work at all if you use version from Ubuntu repository, 
in which case you will have to build freerdp from sources.

 

As of video performance with RDP you can try enabling RemoteFX on Windows 
Server and use /rfx option of freerdp.

 

Regards,

Vladimir

 

 

From: Funke, Martin [mailto:m.fu...@olpe.de] 
Sent: Thursday, December 01, 2016 11:06 AM
To: 'LTSP (ltsp-discuss@lists.sourceforge.net)'
Subject: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp
Importance: High

 

Hello,

 

for quite some time I’m using the LTSP in many schools. In my case im using it 
as a base for xfreerdp to connect to a windows Terminalserver (2012R2).

 

For screen_07 in config i have xfreerdp /f /sec:rdp /v:SERVERIP.

 

Is someone running a similar scenario? I’m still searching for a way to 
redirect USB devices like LEGO Mindstorms and a way if possible to take 
advantage of the local client hardware to run Youtube and so on smoother.

 

Thx in advance and have a nice day

Martin

 

 

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp

2016-12-01 Thread Мокрозуб В . А .
Hello, Martin,

 

are you clients thin or fat? If you need local devices I suggest fat-client 
setup because it's easier to configure and debug.

 

For usb redirection use /usb option of xfreerdp:

 

/usb:id,dev::

 

However there're a lot of issues with USB redirection over freerdp, there is a 
big chance that it won't work at all if you use version from Ubuntu repository, 
in which case you will have to build freerdp from sources.

 

As of video performance with RDP you can try enabling RemoteFX on Windows 
Server and use /rfx option of freerdp.

 

Regards,

Vladimir

 

 

From: Funke, Martin [mailto:m.fu...@olpe.de] 
Sent: Thursday, December 01, 2016 11:06 AM
To: 'LTSP (ltsp-discuss@lists.sourceforge.net)'
Subject: [Ltsp-discuss] Ubuntu 14.04 pnp with freerdp
Importance: High

 

Hello,

 

for quite some time I’m using the LTSP in many schools. In my case im using it 
as a base for xfreerdp to connect to a windows Terminalserver (2012R2).

 

For screen_07 in config i have xfreerdp /f /sec:rdp /v:SERVERIP.

 

Is someone running a similar scenario? I’m still searching for a way to 
redirect USB devices like LEGO Mindstorms and a way if possible to take 
advantage of the local client hardware to run Youtube and so on smoother.

 

Thx in advance and have a nice day

Martin

 

 

--
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[Ltsp-discuss] Can't set up Ubuntu 16.04 LTSP with NFS

2016-10-07 Thread Мокрозуб В . А .
Hello,

 

I'm trying to configure LTSP to use NFS on Ubuntu 16.04 (it uses NBD by
default). 

 

First, I added to /etc/exports:

##

/opt/ltsp/i386_xenial   *(ro,no_root_squash,async,no_subtree_check)

##

 

Then I created PXE config file
/var/lib/tftpboot/ltsp/i386_xenial/pxelinux.cfg/default:

##

default ltsp-NFS

ontimeout ltsp-NFS

 

label ltsp-NFS

menu label LTSP, using NFS

kernel vmlinuz

append ro initrd=initrd.img init=/sbin/init-ltsp forcepae root=/dev/nfs
ip=dhcp boot=nfs rootpath=/opt/ltsp/i386_xenial

ipappend 2

##

 

The client succesfully booted but I couldn't log in. After some search I
discovered that all system files are not writeable by root though they have
644 permissions. However, they can be made writeable with chmod:

##

root@vma-test:~# ls -l /etc/environment

-rw-r--r-- 1 root root 96 окт  3 14:07 /etc/environment

 

root@vma-test:~# echo '#test' >> /etc/environment

-bash: /etc/environment: Permission denied

 

root@vma-test:~# chmod 644 /etc/environment

 

root@vma-test:~# ls -l /etc/environment

-rw-r--r-- 1 root root 96 окт  3 14:07 /etc/environment

 

root@vma-test:~# echo '#test' >> /etc/environment

 

root@vma-test:~# cat /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game
s:/usr/local/games"

#test

 

root@vma-test:~#

##

 

NBD works ok so I guess there's something wrong with my NFS configarion.

Thanks in advance.

 

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net