suddenly all users except markp could not access users within the 'shares' (shared) folder.
Tools to test:
see log on the server at /var/log/samba/log.smbd
see if the access problem exists on the server, as well as the windows client;
smbclient //localhost/share_to_test -U annet
problem in my instance (Feb 2011) was that the group name of the /home/shares folder had changed from 'john' to 'users'
Probably caused by Unison sync foulup at my end (user 1000 at home overwrote user 100 at TC).
Tuesday, February 15, 2011
Saturday, February 12, 2011
using NFSv4 exports for linux
about the permissions: Have setup using the ubuntu guide for NFSv4, as per here: https://help.ubuntu.com/community/NFSv4Howto
I note that the settings in /etc/exports mean that the owner and group of the server folders can only be accessed by a user on the client machine of the same name...
I note that the settings in /etc/exports mean that the owner and group of the server folders can only be accessed by a user on the client machine of the same name...
Monday, January 24, 2011
mp3 and flac
Jan 2011. Here's what i'm doing with my music:
flacs go in flac folder; mp3s in their own folder.
1. Rip to flac with rythymbox, google for album art and place in flac folder, per album.
2. Update flac tags with the piccy using easytag
3. use Soundconvertor to convert to MP3, tags incl piccy seem to transfer OK.
nb. best to simply plnk the MP3s in the original flac folder, then duplicate and then copy the MP3s with their parent folders to the master MP3 folder.
things that didn't work:
1. trying (different ways) to create AAC from the flac, tag track number problem.
2. using the create folders option in Soundconvertor to plank the MP3s directly, duplicated the album name.
3. change messy names, creates underscore under every space.
Use MP3 folder in itunes, use flac folder for mythtv.
flacs go in flac folder; mp3s in their own folder.
1. Rip to flac with rythymbox, google for album art and place in flac folder, per album.
2. Update flac tags with the piccy using easytag
3. use Soundconvertor to convert to MP3, tags incl piccy seem to transfer OK.
nb. best to simply plnk the MP3s in the original flac folder, then duplicate and then copy the MP3s with their parent folders to the master MP3 folder.
things that didn't work:
1. trying (different ways) to create AAC from the flac, tag track number problem.
2. using the create folders option in Soundconvertor to plank the MP3s directly, duplicated the album name.
3. change messy names, creates underscore under every space.
Use MP3 folder in itunes, use flac folder for mythtv.
Saturday, September 18, 2010
VCN: 2nd (and subsequent) ubuntu gnome desktops
Often when remote accessing the gnome desktop of a linux machine, the physical desktop of the local machine is not necessarily the one that you want use. eg there is already a user on that desktop, or the resolution of the local monitor is often too large for comfortable vnc use.
So: in addition to using the gnome 'remote desktop' feature (which uses vinagre btw), install in addition vnc4server:
when using a vnc viewer, the default display (:0) will be accessed when you run:
when vnc4server is additionally installed running the command
will start up a 2nd desktop accessible thus:
each time the command is run another desktop is set running; the desktop number increments each time, as does the port number (desktop:0 starts at 5900 by default)
The type of desktop is setup in the file: ~/user/.vnc/xstartup and by default the twm type desktop is not much help.
To edit the xstartup file (using nano) so that it will start up a regular gnome desktop add this:
If you've just edited the above and had previously set a desktop:1 running, stop it with:
then start the server again. When accessing this time you should have a regular gnome desktop.
Sometimes I've had trouble using the gnome desktop over VNC, whereby the menus don't show/dropdown on the client machine. Changing the 'appearance' setting to visual enhancements = none (under system-> preferences) on the server side has usually sorted this.
So: in addition to using the gnome 'remote desktop' feature (which uses vinagre btw), install in addition vnc4server:
apt-get install vnc4server
when using a vnc viewer, the default display (:0) will be accessed when you run:
vncviewer
when vnc4server is additionally installed running the command
vncserver
will start up a 2nd desktop accessible thus:
vncviewer 192.168.1.1:1
each time the command is run another desktop is set running; the desktop number increments each time, as does the port number (desktop:0 starts at 5900 by default)
The type of desktop is setup in the file: ~/user/.vnc/xstartup and by default the twm type desktop is not much help.
To edit the xstartup file (using nano) so that it will start up a regular gnome desktop add this:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
unset SESSION_MANAGER
sh /etc/X11/xinit/xinitrc
If you've just edited the above and had previously set a desktop:1 running, stop it with:
vncserver -kill :1
then start the server again. When accessing this time you should have a regular gnome desktop.
Sometimes I've had trouble using the gnome desktop over VNC, whereby the menus don't show/dropdown on the client machine. Changing the 'appearance' setting to visual enhancements = none (under system-> preferences) on the server side has usually sorted this.
Thursday, June 03, 2010
gnome system monitor. drive space 'free' but not 'available'
this is to do with 'reserved blocks'. Maybe something to do with reserving a percentage of space for root to access the drive should it get full. below changes that percentage to 0. Could replace 0 with 1 I guess?
correct with
correct with
markp@server:~$ sudo tune2fs -m 0 /dev/sdc1
Sunday, May 30, 2010
vnc of second desktops at different resolutions
markp@markp-eee:~$ vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'markp-eee:1 (markp)' desktop is markp-eee:1
Creating default startup script /home/markp/.vnc/xstartup
Starting applications specified in /home/markp/.vnc/xstartup
Log file is /home/markp/.vnc/markp-eee:1.log
You will require a password to access your desktops.
Password:
Verify:
New 'markp-eee:1 (markp)' desktop is markp-eee:1
Creating default startup script /home/markp/.vnc/xstartup
Starting applications specified in /home/markp/.vnc/xstartup
Log file is /home/markp/.vnc/markp-eee:1.log
Friday, May 14, 2010
making samba a pdc
Number of things needed:
to add the xp machines, create unix accounts automatically, this examples need a a unix group called machines to work:
to add the xp machines, create unix accounts automatically, this examples need a a unix group called machines to work:
add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
Subscribe to:
Posts (Atom)