Ubuntu :: Autostarting Programs--in Particular Samba?
May 30, 2010How do i autostart programs on bootup? in particular I want to start samba without any intervention
View 1 RepliesHow do i autostart programs on bootup? in particular I want to start samba without any intervention
View 1 RepliesOk so I just installed Ubuntu server 9.10. It started out as cmd line only, I ended up installing ubuntu-desktop package from apt ran startx, and from that point on when ever I start the server I get the gui login screen instead of the original cmd line prompt. Now Ive been surfing around the net trying to figure out how to get it back to the original cmd prompt login screen, I really want to use startx when i need a gui.. the main reason I installed this package is really for all the libraries that it contains as i will use a few programs (firestarter, powertweak etc) that use a gui and I figured to make my life simpler i would just install the entire gnome desktop package so i will have everything i need when i try to run these misc programs (most of them will be run thru x11 forwarding as this server will only have internet and power plugged into it) Ive tried disabling gdm startup Ive even removed the /etc/init.d/gdm file all together and it still starts X (i moved it to /usr really but it should(?) work the same as deleting it). there is no other desktop manager to my knowledge (kdm etc).
Ive tried rcconf it says gdm is disabled (i tried disabling it before removing gdm from init.d and nothing), I went thru trying to disable anything that has to do with xserver so far I have only found x11-common I dont think it starts up x but i disabled it anyway. Ive also tried "update-rc.d -f gdm remove" that doesn't do anything either seems no matter what i try i cant stop the gui login screen from popping up.How do i get it to start with the original cmd prompt login?? i am considering reinstalling to get it back but i will lose all my work and that will defeat the purpose
It seems that the two DEs read from the same damned autostart file as no matter how much I edit the start up menus for each the applications I want to autostart in Gnome but not in Xfce4 just ignore me and bloody well autostart in Xfce4 anyway.
View 4 Replies View RelatedSince Wine recognize the .exe filetype and associates itself with it, is it possible to get a virus that starts up automatically in wine or is it limited to me manually running the program?
View 6 Replies View RelatedI have an Apple TV onto which I installed Ubuntu Karmic. It works great save a small problem with SSH.The openssh-server package is installed and configured and can be started with sudo /etc/init.d/ssh start fine. When the machine is rebooted, however, it never starts itself up as it should.
rcconf reports that SSH is enabled for autostart on boot. Grepping /var/log/syslog, /var/log/messages, and /var/log/dmesg for 'ssh' yields no results. I removed and readded ssh with the following: sudo update-rc.d ssh start 40 2 3 4 5 . stop 19 0 1 6 .. Does anyone know what could be causing this to not start up properly?
Running Slackware current and KDE4. Every time I start up, gvim autostarts as soon as the KDE desktop shows. There is no command in .kde/Autostart for this. I have ticked always start with an empty session in the session manager. I cannot see why gvim is starting every time. How can I stop this?
View 5 Replies View RelatedI've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.
Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.
Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.
Unable to get update or download any native programs. But able to access file from Samba
View 1 Replies View Relatedcan open the programs pe-install, but can't open other programs or install new programs
View 4 Replies View RelatedI'm having some trouble getting samba to work properly. I'm following this tutorial [URL] when I run
Code: sudo smbclient -L localhost I receive the following: Code: Enter root's password: Anonymous login successful Domain=[SAMBA] OS=[Unix] Server=[Samba 3.4.7]
tree connect failed: NT_STATUS_END_OF_FILE I'm lost!
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
I have update my linux server from mandriva 9 to mandriva 2010
I was working using samba 2.2.8 and now I have samba 3.5.3.I have transfer all passwd and smbpasswd to new linux.I have convert smbpasswd to tdbsam
when i am using win xp to logon on samba domain the windows XP does not load profiles from samba. I think that the problem is NTUSER.DAT storing in /home/user/profile
The same profile is working using samba 2.2.8 but not working in samba 3.5.3..
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
[code]....
I would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
Is there any way to limit x number of samba users by samba ? Say if there are already 5 samba users using the share, I would like to restrict any futher samba requests.. How do i do that ?
View 1 Replies View RelatedStart>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
setsebool -P samba_domain_controller on
Trying to connect to samba locally gives me this:
Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[code]....
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse':
(.text+0x595c): undefined reference to `_talloc_steal'
bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
I had installed Centos 5.4 , then upgraded to 5.5 hoping that new version has samba 3.5.x. However the updated Centos 64-bit 5.5 also has Samba 3.0.33-3.28.el5.
How can I update samba at least to Samba 3.0.37 ? The reason is, there seems to be security concerns on samba website, and I wish, at least update to latest 3.0.x .
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
View 1 Replies View RelatedThis is what I get:
Code:
root@Jason-Lin:/# apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]...
This is a fresh 11.04 install. I grabbed a couple of the basics (alternate browsers, media players, etcetera) but other than that I haven't made any modifications or installed any strange packages.
Code:
root@Jason-Lin:/# uname -a
Linux Jason-Lin 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
Samba is working correctly if Susefirewall2 is off. I have added Samba client and Samba Services for extern access but samba is not working when firewall is now on. Which services should I also add ?
View 1 Replies View RelatedInstalling file sharing using eBox and get the following error:
[Code]///
Is there a way to specifically run certain programs right in ram when they load up? On average I usually have 2Gig ram free (out of 4gig total). For example, hulu desktop, usage hog, I thought that forcing it to load into ram whenever hulu desktop is started may improve performance of the app. So, is there a program in ubuntu that can specifically control what programs can load directly load into ram when started?
View 1 Replies View RelatedI'm brand-spanking new to Ubuntu and so far am greatly enjoying this magnificent OS. Though, after attempting to install Wine, I now this error when trying to install any program: 'E:Type 'main' is not known on line 1 in source list /etc/apt/sources.list.d/ubuntu-wine-ppa-lucid.list, E:The list of sources could not be read.'
Here is the source list where I'm assuming the error is coming from:
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
[Code]...
I started using Ubuntu a few days ago due to a classmates recommendation, and I simply cannot get this program I need for class to install. Or if it does, I don't know how to make it work.
I've got to install VMWare Server 2.0 for my class so we can make virtual computers and what not. But, no matter what I do I can't get it to install. Whenever I try to install it like I was told on various websites (here's one for examples sake [URL], I do this: sudo ./vmware-install.pl and get this: Can't install perl script "./vmware-install.pl" : No such file or directory
I've tried putting in stuff like home/computername/Desktop/vmware-install.pl, but I still get the same problem. I've racked my brain and my browser trying to figure this out, but I've had no luck.
I am trying to add a program that will allow me to play wmv files on my computer. I'm not sure what version of Ubuntu I am using but I keep getting a message that says: E:dpkg was interrupted, you must manually run'dpkg --configure -a'to correct the problem. E:_cache->open()failed,please report. When I try to run this in the terminal I get a message saying I need to be a superuser.
View 3 Replies View RelatedI have recently installed (& updated) Lucid.I have also downloaded & installed GNUstep and Beagle.How do I add these launchers to Applications->Programming, etc?I know the launchers are all in /usr/share/applications but there must be an easier way than editing a new .desktop file by hand?
View 5 Replies View RelatedWhenever I try to uninstall a program, package it up and move it to Ubuntu it won't reinstall. Can I just copy the file over? will it work?
View 1 Replies View RelatedOk I have been installing a few programs lately and some of them try to load but do not load.I installed Mixxx DJ software and when I try to load it for example it goes down to the task bar and sits there doing nothing then it just goes away.
View 1 Replies View Related