Jump to content

Recommended Posts

Posted

Looking for some advice and guide on how I can mount a windows share to a folder on the desktop at logon.

 

I get mount it manually using terminal but looking to get the process automated at logon.

 

 

any help would be great.

Posted

We have this with Centos7. The procedure is basically to join the machine to the domain:

 

realm join -v example.domain.com -U administrator

 

Then add a line to the skeleton profile:

/etc/skel/.bash_profile

 

gvfs-mount smb://servername/homes (maps to individual username, I'm not sure if this will work on windows servers - ours are linux, you may be able to mess around with $username ?)

gvfs-mount smb://servername/sharename

 

 

It may be slightly different on Ubuntu, I've only used Centos for School Desktops.

 

 

  • Thanks 2
  • 3 weeks later...
Posted

In lieu of me actually writing my guide up, I saw this recent video by DevOps Library on Youtube that covers it (slightly different method, but it works).

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...