OS/Linux
Ubuntu(Linux) 로그인 모니터 main monitor로 설정하기
keepee
2020. 9. 18. 15:12
멀티 모니터를 사용중인데, 메인 모니터로 설정한 모니터에서 로그인 화면이 뜨는 것이 아닌,
우선순위가 두 번째인 모니터에서 로그인 화면이 뜨는 현상이 발생했다.
- 출처: Is there to make the login screen appear on the external display in 18.04?
Is there to make the login screen appear on the external display in 18.04?
On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. But when I turn on my laptop or log out from my
askubuntu.com
이는 gdm3에 보고된 버그이다.
해결방법
1. Settings -> Displays에서 메인 모니터를 우선순위 1순위로 설정한다.
2. monitors.xml 파일을 user의 gdm 폴더로 옮겨준다.
아래의 명령을 차례대로 수행한다.
$ sudo cp ~/.config/monitors.xml ~gdm/.config
$ sudo chown gdm:gdm ~gdm/.config/monitors.xml
$ reboot
reboot은 직접 재시작을 해줘도 된다. 재시작을 한 후에는 메인 모니터로 로그인 화면이 옮겨져 있을 텐데, 만약 옮겨져 있지 않다면 전체 과정을 다시 한 번 반복해보자.