macsplex.com 로그인

검색

CentOS
2017.05.08 22:46

CentOS7 VNC서버 설치

조회 수 591 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form
출처/참고/홈페이지 https://www.howtoforge.com/vnc-server-in...n-centos-7

1.tigervnc 설치

#  yum install tigervnc-server

 

2.vnc 환경설정 파일복사

# cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service

 

3. vnc 환경설정파일 수정

# vi /etc/systemd/system/vncserver@:1.service

 

해당파일의 <USER>를 사용하는 ID로 변경해줍니다.

[...]
[Service] Type=forking # Clean any existing files in /tmp/.X11-unix environment ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i" PIDFile=/home/<USER>/.vnc/%H%i.pid ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

4. 방화벽설정
# firewall-cmd --permanent --zone=public --add-service vnc-server
# firewall-cmd --reload


5. VNC server 시작

vncserver

패스워드란에 해당패스워드 입력합니다.

6. VNCSERVER 정지

vncserver -kill :1






--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

리눅스 Tip

Linux Tip

  1. CentOS 8 웹콘솔(Cokpit) 설치하기

    CategoryCentOS
    Read More
  2. Fedora(페도라), CentOS에서 나눔폰트 설치하는 방법

    CategoryCentOS
    Read More
  3. CentOS 한글추가방법

    CategoryCentOS
    Read More
  4. centos mysql 암호초기화

    CategoryCentOS
    Read More
  5. CentOS APM 설치운영

    CategoryCentOS
    Read More
  6. Yum Repository CD/DVD 지정

    CategoryCentOS
    Read More
  7. CentOS7 NTFS 마운트

    CategoryCentOS
    Read More
  8. CentOS7 VNC서버 설치

    CategoryCentOS
    Read More
  9. CentOS webpanel

    CategoryCentOS
    Read More
  10. CentOS7 gnome 설치

    CategoryCentOS
    Read More
  11. CentOS7 SSH 설치

    CategoryCentOS
    Read More
  12. centos 6 KVM tip

    CategoryCentOS
    Read More
  13. centos 6 monitorx install

    CategoryCentOS
    Read More
  14. centos 6.7 kvm install after iso permission denied

    CategoryCentOS
    Read More
  15. centos 6 kvm bridge setting

    CategoryCentOS
    Read More
  16. centos xrdp install

    CategoryCentOS
    Read More
  17. CentOS 7 네트워크 설정

    CategoryCentOS
    Read More
  18. Install Webmin on CentOS 7

    CategoryCentOS
    Read More
Board Pagination Prev 1 Next
/ 1