Solaris 공통 데스크탑 환경: 고급 사용자 및 시스템 관리자 안내서

환영 메시지 표시

HomeDirectory/.dtprofileXsession.d 스크립트를 소스로 사용한 후, Xsession은 화면 전체에 환영 메시지를 표시합니다. 표시되는 환영 메시지를 사용자 정의하거나, 메시지 전체를 표시되지 않도록 할 수 있습니다. dthello 클라이언트는 메시지를 표시하는데 사용됩니다.

메시지 텍스트를 바꾸려면 dtstart_hello[0] 변수를 수정하여dthello 옵션을 변경하십시오.

dtstart_hello[0]를 변경하려면, 새 값을 설정하는 /etc/dt/config/Xsession.d 스크립트를 작성하십시오. 모든 사용자를 위해 그 날의 메시지를 표시하려면, 실행 가능한 sh 또는 ksh 스크립트(예:/etc/dt/config/Xsession.d/myvars)를 작성하고, dtstart_hello[0]를 다음과 같이 설정하십시오.

dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"

마찬가지로 HomeDirectory/.dtprofile에서 dtstart_hello[0]를 설정하여 세션의 환영 메시지를 변경할 수 있습니다.

환영 메시지가 표시되지 않도록 하려면 dtstart_hello[0]=" "으로 설정하십시오.

dthello에 대한 자세한 내용은 dthello 매뉴얼 페이지를 참조하십시오.