Discussion:
local device
Radek Bursztynowski
2013-07-30 13:26:54 UTC
Permalink
Hello,

My thin client machine has local DVD, but I can't see any icon or mounted point after log into the client.
I tried use several option as follow:

LOCALDEV = True
HOTPLUG = True
LOCAL_STORAGE = True

and

LOCAL_DEVICE_01 = /dev/sr0:cdrom

Still nothing.
What interesting?: when I move to xterm (Ctrl+Fx) on thin client, I can mount DVD device and read it contents (mount /dev/sr0 /mnt).

How to force my DVD device and LTSP/LDM client to cooperation?

Best regards,
Radek
Jeff Siddall
2013-07-30 16:04:05 UTC
Permalink
Post by Radek Bursztynowski
Hello,
My thin client machine has local DVD, but I can't see any icon or
mounted point after log into the client.
LOCALDEV = True
HOTPLUG = True
LOCAL_STORAGE = True
and
LOCAL_DEVICE_01 = /dev/sr0:cdrom
Still nothing.
What interesting?: when I move to xterm (Ctrl+Fx) on thin client, I can
mount DVD device and read it contents (mount /dev/sr0 /mnt).
Unfortunately I can't solve your problem but hopefully I can clarify
your understanding of what is going on a bit. When you press
CTRL-ALT-Fx and get a text console it is important to note that this is
_not_ an xterm. It is a local console on your _client_ where the DVD
drive is installed, which is why you can see it there.

Conversely, your X desktop is running on the _server_ but is displaying
on your _client_. Since the DVD drive is not attached to the _server_
you cannot see it there, where the xterm is running.

Depending on what you want to do with the DVD you can may be able to
install a localapp and run that to access the DVD.

Jeff
Radek Bursztynowski
2013-07-30 17:16:33 UTC
Permalink
Jeff,

Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.

I expected similar mechanizm.

Best regards,
Radek


---
Post by Jeff Siddall
Unfortunately I can't solve your problem but hopefully I can clarify
your understanding of what is going on a bit. When you press
CTRL-ALT-Fx and get a text console it is important to note that this is
_not_ an xterm. It is a local console on your _client_ where the DVD
drive is installed, which is why you can see it there.
Conversely, your X desktop is running on the _server_ but is displaying
on your _client_. Since the DVD drive is not attached to the _server_
you cannot see it there, where the xterm is running.
Depending on what you want to do with the DVD you can may be able to
install a localapp and run that to access the DVD.
Jeff
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2013-07-30 17:35:16 UTC
Permalink
make sure the device(s) are part of the fuse group and all users are as
well.


On Tue, Jul 30, 2013 at 1:16 PM, Radek Bursztynowski <
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Best regards,
Radek
---
Post by Jeff Siddall
Unfortunately I can't solve your problem but hopefully I can clarify
your understanding of what is going on a bit. When you press
CTRL-ALT-Fx and get a text console it is important to note that this is
_not_ an xterm. It is a local console on your _client_ where the DVD
drive is installed, which is why you can see it there.
Conversely, your X desktop is running on the _server_ but is displaying
on your _client_. Since the DVD drive is not attached to the _server_
you cannot see it there, where the xterm is running.
Depending on what you want to do with the DVD you can may be able to
install a localapp and run that to access the DVD.
Jeff
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
Jeff Siddall
2013-07-31 15:27:42 UTC
Permalink
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.

DVD drives aren't quite the same. Take, for example, an audio CD. You
can't mount that and export it as a filesystem.

So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.

Jeff
Radek Bursztynowski
2013-07-30 19:49:08 UTC
Permalink
Jim,

Thanks for advice. But I don't understand all.
I have two identical K12Linux installation in two different
localisations. In first one I can't see CDROM device after log in, in
the second one everything works fine. In the second one installation I
checked user and group's CDROM device. Is root:disk (and works!).

So I am not sure where I should make the device(s) are part of the fuse
group and how? Could you explain me more clear?

Thanks you for help,
Best regards,
Radek
Post by Jim Kinney
make sure the device(s) are part of the fuse group and all users are
as well.
On Tue, Jul 30, 2013 at 1:16 PM, Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same
situation is
with USB stick - I can mount it locally on local console and
see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Best regards,
Radek
---
Post by Jeff Siddall
Unfortunately I can't solve your problem but hopefully I can
clarify
Post by Jeff Siddall
your understanding of what is going on a bit. When you
press
Post by Jeff Siddall
CTRL-ALT-Fx and get a text console it is important to note
that this is
Post by Jeff Siddall
_not_ an xterm. It is a local console on your _client_
where the DVD
Post by Jeff Siddall
drive is installed, which is why you can see it there.
Conversely, your X desktop is running on the _server_ but is
displaying
Post by Jeff Siddall
on your _client_. Since the DVD drive is not attached to
the _server_
Post by Jeff Siddall
you cannot see it there, where the xterm is running.
Depending on what you want to do with the DVD you can may be
able to
Post by Jeff Siddall
install a localapp and run that to access the DVD.
Jeff
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III
Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
http://electjimkinney.org
http://heretothereideas.blogspot.com/
Jim Kinney
2013-07-30 20:14:24 UTC
Permalink
On the server, the users must all be in the fuse group. On the clients all
devices must be group fuse that need to be shared.

I think. Don't have a rig in front of me and it's been a while. I think on
the server, the /etc/group file should have a fuse group and should include

Make sure the ltspfsd is running on the server as well. double check that
users are in the fuse group as well on the server. Check status of
/bin/fusermount. It should be -rwsr-x---.



On Tue, Jul 30, 2013 at 3:49 PM, Radek Bursztynowski <
Post by Radek Bursztynowski
Jim,
Thanks for advice. But I don't understand all.
I have two identical K12Linux installation in two different
localisations. In first one I can't see CDROM device after log in, in
the second one everything works fine. In the second one installation I
checked user and group's CDROM device. Is root:disk (and works!).
So I am not sure where I should make the device(s) are part of the fuse
group and how? Could you explain me more clear?
Thanks you for help,
Best regards,
Radek
Post by Jim Kinney
make sure the device(s) are part of the fuse group and all users are
as well.
On Tue, Jul 30, 2013 at 1:16 PM, Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Best regards,
Radek
---
Post by Jeff Siddall
Unfortunately I can't solve your problem but hopefully I can
clarify
Post by Jeff Siddall
your understanding of what is going on a bit. When you
press
Post by Jeff Siddall
CTRL-ALT-Fx and get a text console it is important to note
that this is
Post by Jeff Siddall
_not_ an xterm. It is a local console on your _client_
where the DVD
Post by Jeff Siddall
drive is installed, which is why you can see it there.
Conversely, your X desktop is running on the _server_ but is
displaying
Post by Jeff Siddall
on your _client_. Since the DVD drive is not attached to
the _server_
Post by Jeff Siddall
you cannot see it there, where the xterm is running.
Depending on what you want to do with the DVD you can may be
able to
Post by Jeff Siddall
install a localapp and run that to access the DVD.
Jeff
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III
Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
http://electjimkinney.org
http://heretothereideas.blogspot.com/
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
Radek Bursztynowski
2013-08-01 10:04:24 UTC
Permalink
Jeff,

Good question. My experience with local device confirms that local device (including DVD/CD) could by managed by fuse mechanism.

My experience:
My favourite GUI is Xfce. Using Xfce I can see on thin client local USB stick after change the directory to /media/my_username/usb_stick_name, but I don't see DVD/CD device.

When I log in with GNOME I can see both icons on my desktop - USB_stick and DVD/CD, and I can use both local devices.

So it seems that fuse mechanism doesn't support Xfce environment the best. I switched on in Xfce environment "Running GNOME service within log in" option, but nothing helped.

Best regards,
Radek


---
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.

DVD drives aren't quite the same. Take, for example, an audio CD. You
can't mount that and export it as a filesystem.

So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.

Jeff

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;
Radek Bursztynowski
2013-08-01 10:24:03 UTC
Permalink
Let me add something else.
I can't umount these local devices as a user. I can see dialog window with information that only root cant umount.
It is true - on thin client, after switching on to shell and "su" command, I can umount theses devices.
Notwithstanding, I expected that user can umount theses device in GUI too.

Best regards,
Radek

--
Jeff,

Good question. My experience with local device confirms that local device (including DVD/CD) could by managed by fuse mechanism.

My experience:
My favourite GUI is Xfce. Using Xfce I can see on thin client local USB stick after change the directory to /media/my_username/usb_stick_name, but I don't see DVD/CD device.

When I log in with GNOME I can see both icons on my desktop - USB_stick and DVD/CD, and I can use both local devices.

So it seems that fuse mechanism doesn't support Xfce environment the best. I switched on in Xfce environment "Running GNOME service within log in" option, but nothing helped.

Best regards,
Radek


---
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.

DVD drives aren't quite the same. Take, for example, an audio CD. You
can't mount that and export it as a filesystem.

So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.

Jeff

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;
Radek Bursztynowski
2013-08-01 10:34:11 UTC
Permalink
Let me correct myself.

Using Xfce environment I can see both devices (USB stick and DVD/CD) after changing directory to /media/mu_username/ (file manager), but I can't see local devices' icons.

Using GNOME all work normally (including local devices' icons).

Best regards,
Radek

---

Let me add something else.
I can't umount these local devices as a user. I can see dialog window with information that only root cant umount.
It is true - on thin client, after switching on to shell and "su" command, I can umount theses devices.
Notwithstanding, I expected that user can umount theses device in GUI too.

Best regards,
Radek

--
Jeff,

Good question. My experience with local device confirms that local device (including DVD/CD) could by managed by fuse mechanism.

My experience:
My favourite GUI is Xfce. Using Xfce I can see on thin client local USB stick after change the directory to /media/my_username/usb_stick_name, but I don't see DVD/CD device.

When I log in with GNOME I can see both icons on my desktop - USB_stick and DVD/CD, and I can use both local devices.

So it seems that fuse mechanism doesn't support Xfce environment the best. I switched on in Xfce environment "Running GNOME service within log in" option, but nothing helped.

Best regards,
Radek


---
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.

DVD drives aren't quite the same. Take, for example, an audio CD. You
can't mount that and export it as a filesystem.

So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.

Jeff

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;;

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;
b***@thealmquists.net
2013-08-02 15:50:42 UTC
Permalink
So it would appear it's mounting correctly, crew just doesn't give you the nice desktop icons. Maybe that's a setting you can adjust.

----- Reply message -----
From: "Radek Bursztynowski" <***@bursztynowski.waw.pl>
To: "Support list for open source software in schools." <***@redhat.com>
Subject: [K12OSN] local device
Date: Thu, Aug 1, 2013 5:34 AM


Let me correct myself.

Using Xfce environment I can see both devices (USB stick and DVD/CD) after changing directory to /media/mu_username/ (file manager), but I can't see local devices' icons.

Using GNOME all work normally (including local devices' icons).

Best regards,
Radek

---

Let me add something else.
I can't umount these local devices as a user. I can see dialog window with information that only root cant umount.
It is true - on thin client, after switching on to shell and "su" command, I can umount theses devices.
Notwithstanding, I expected that user can umount theses device in GUI too.

Best regards,
Radek

--
Jeff,

Good question. My experience with local device confirms that local device (including DVD/CD) could by managed by fuse mechanism.

My experience:
My favourite GUI is Xfce. Using Xfce I can see on thin client local USB stick after change the directory to /media/my_username/usb_stick_name, but I don't see DVD/CD device.

When I log in with GNOME I can see both icons on my desktop - USB_stick and DVD/CD, and I can use both local devices.

So it seems that fuse mechanism doesn't support Xfce environment the best. I switched on in Xfce environment "Running GNOME service within log in" option, but nothing helped.

Best regards,
Radek


---
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation is
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.

DVD drives aren't quite the same. Take, for example, an audio CD. You
can't mount that and export it as a filesystem.

So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.

Jeff

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;;

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;
Radek Bursztynowski
2013-08-02 16:10:53 UTC
Permalink
That's right. It is not big problem for me. I use very rally desktop
icons and most people use GNOME.

Best regards,
Radek

---
Post by b***@thealmquists.net
So it would appear it's mounting correctly, crew just doesn't give you
the nice desktop icons. Maybe that's a setting you can adjust.
----- Reply message -----
To: "Support list for open source software in schools."
Subject: [K12OSN] local device
Date: Thu, Aug 1, 2013 5:34 AM
Let me correct myself.
Using Xfce environment I can see both devices (USB stick and DVD/CD)
after changing directory to /media/mu_username/ (file manager), but I
can't see local devices' icons.
Using GNOME all work normally (including local devices' icons).
Best regards,
Radek
---
Let me add something else.
I can't umount these local devices as a user. I can see dialog window
with information that only root cant umount.
It is true - on thin client, after switching on to shell and "su"
command, I can umount theses devices.
Notwithstanding, I expected that user can umount theses device in GUI too.
Best regards,
Radek
--
Jeff,
Good question. My experience with local device confirms that local
device (including DVD/CD) could by managed by fuse mechanism.
My favourite GUI is Xfce. Using Xfce I can see on thin client local
USB stick after change the directory
to /media/my_username/usb_stick_name, but I don't see DVD/CD device.
When I log in with GNOME I can see both icons on my desktop -
USB_stick and DVD/CD, and I can use both local devices.
So it seems that fuse mechanism doesn't support Xfce environment the
best. I switched on in Xfce environment "Running GNOME service within
log in" option, but nothing helped.
Best regards,
Radek
---
Post by Radek Bursztynowski
Jeff,
Many thanks for your explanation. I know it. But the same situation
is
Post by Radek Bursztynowski
with USB stick - I can mount it locally on local console and see it
after log in LDM on my redirected server desktop.
I expected similar mechanizm.
Yes, that is true. fuse is leveraged to do some magic and remotely
mount the client USB stick on the server.
DVD drives aren't quite the same. Take, for example, an audio CD.
You
can't mount that and export it as a filesystem.
So the question really becomes: does LTSP even look for optical devices
and try to remotely mount them using fuse? I don't have an answer to
that, but IME LTSP5 does not do this. That said I haven't tried
connecting a client DVD recently and then setting the group to fuse.
Hopefully someone can chime in on that.
Jeff
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;;
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;;
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>;
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Loading...