Regras do Udev para montagem USB e erro no modo gráfico baixo

Regras do Udev para montagem USB e erro no modo gráfico baixo

Eu tenho um arquivo contendo o conteúdo abaixo

KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"  
# Import FS infos  
IMPORT{program}="/sbin/blkid -o udev -p %N"  
# Get a label if present, otherwise specify one  
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"  
ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k"  
# Global mount options  
ACTION=="add", ENV{mount_options}="relatime"  
# Filesystem-specific mount options  
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"  
# Mount the device  
ACTION=="add", RUN+="/bin/mkdir -p /home/my_dir_name", RUN+="/bin/mount -o $env{mount_options} /dev/%k /home/my_dir_name"  
# Clean up after removal  
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /home/my_dir_name", RUN+="/bin/rmdir /home/my_dir_name"  
# Exit  
LABEL="media_by_label_auto_mount_end"

E quando coloco /etc/udev/rules.d/file.rulese reinicio o computador recebo esta mensagem de erro:

The system is running in low-graphics mode.

Depois de excluir este arquivo, posso inicializar normalmente. Alguém tem alguma ideia de como posso manter esse arquivo para montar cada USB conectado e conseguir fazer o login sem esse erro?

informação relacionada