본문 바로가기
my_lesson/_Linux

Linux - Install X Window in Ubutu Server

by boolean 2016. 1. 8.
728x90

Ubuntu Xwindow 한방설치


$sudo apt-get install ubuntu-desktop
apt-get install ubuntu-gnome-desktop

그리고 선택창 나오면 gdm선택

Ubuntu Xwindow 수동 선택설치

[xxxxx@localhost] sudo su -     // (관리자:root모드로 변환)
password :                                //(root 권한 password 입력)
[root@localhost] apt-get update  // (새로운 업데이트 확인)
[root@localhost] apt-get dist-upgrade     // (업그레이드)
[root@localhost] apt-get install xorg gdm // (Graphic Mode 설치)
[root@localhost] apt-get install gnome-session gnome-menus gnome-panel metacity nautilus
                        (Gnome 설치)
[root@localhost] apt-get install // <아래 패키지 설치>
            gnome-applets 
            gnome-control-center 
            gnome-volume-manager 
            libsmbclient
            gnome-screensaver 
            menu 
            network-manager-gnome 
            gnome-utils 
            gnome-system-tools
            gnome-netstatus-applet 
            gnome-nettool 
            libgnomevfs2-extra


[root@localhost] apt-get install gnome-app-install update-manager restricted-manager
                       // (패키지 관리자 설치)

ubuntu 에서 geforce 그래픽 카드 드라이버 설치하려면 x window 를 종료해야 한다.
telinit 3 으로 설정하는 방법은 ubuntu 에서 먹히지 않는다.

ctrl + alt + f1 으로 콘솔로 나간 후 아래와 같이 실행한다.

x window 끝내기
sudo /etc/init.d/gdm stop

x window 시작
sudo /etc/init.d/gdm start

또는 startx


참고사이트:X Winsow in Linux


a start job is running for hold until boot process finishes up

You can fix this in following way, it worked for me. FYI : I had upgraded from 14.04 to 16.04.

Go in your safe mode by hitting SHIFT key or ESC. select networking , then drop to root prompt. Then run following commands.

sudo apt-get remove plymouth
sudo apt-get remove xserver-xorg-video-intel

Now, reboot,

When you reboot, still you may get black or purple screen,

Press Ctrl+Alt+F1 and login with your username and password.

Then run following commands.

GDM ie Gnome display manager was also causing problems for me, so following step was essential for me

I switched to lightdm from gdm3 as display manager.

sudo apt-get install lightdm
sudo dpkg-reconfigure lightdm

When you are prompted, select default display manager as lightdm

Now I was back with desktop , without dash or unity but only icons and wallpaper. now run this.

sudo apt-get install ubuntu-desktop

Now, reboot after this.

The desktop is back!

now, you can install intel graphic drivers again,

sudo apt-get install xserver-xorg-video-intel

Reboot now. Its done!



댓글