You are not logged in.

#1 2014-03-26 08:23:56

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

[sovled]how to disable Graphical Interface?

Hi,
I want to install an archlinux without graphic support. I just want to use it by serial or ssh. I disable graphic in BIOS, but archlinux failed to boot. it stop at "Reached target Graphical Interface."

This is the whole log:
Welcome to Arch Linux!

         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Swap.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Mounting Temporary Directory...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Apply Kernel Variables...
         Mounting Debug File System...
         Mounting Huge Pages File System...
         Starting Setup Virtual Console...
         Starting udev Coldplug all Devices...
         Starting Create list of required static device nodes...rrent kernel...
         Mounting POSIX Message Queue File System...
         Mounting Configuration File System...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started Setup Virtual Console.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started udev Kernel Device Manager.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
         Starting dhcpcd on all interfaces...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Permit User Sessions...
[  OK  ] Started dhcpcd on all interfaces.
[  OK  ] Reached target Network.
         Starting OpenSSH Daemon...
[  OK  ] Started OpenSSH Daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Found device /dev/ttyS0.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.

Last edited by wangsiyuan (2014-03-28 03:25:02)

Offline

#2 2014-03-26 08:54:09

progandy
Member
Registered: 2012-05-17
Posts: 5,200

Re: [sovled]how to disable Graphical Interface?

"Graphical Interace" is just a target in systemd, it has nothing to do with your hardware. All services that need/provide graphical output should be started here. If it is empty, booting to graphical.target is much the same as booting to multi-user.target. Think of it as runlevel 3 and runlevel 5 if you have experience with sysvinit.
If you want to change the default target (~= runlevel), call e.g.

systemctl set-default multi-user.target

Last edited by progandy (2014-03-26 09:10:05)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2014-03-26 08:57:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,598
Website

Re: [sovled]how to disable Graphical Interface?

Rip what he said.  Just don't install X or related packages and there is not GUI available.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-03-26 09:16:00

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: [sovled]how to disable Graphical Interface?

graysky wrote:

Rip what he said.  Just don't install X or related packages and there is not GUI available.

I install a clean archlinux. only "base" and ssh were installed. no xorg packages were installed.

Offline

#5 2014-03-26 11:13:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,598
Website

Re: [sovled]how to disable Graphical Interface?

There you go then.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2014-03-28 03:24:07

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: [sovled]how to disable Graphical Interface?

I found a solution. Add graphic and sound modules to blackllist. for example:

blacklist radeon
blacklist snd-hda-intel

Offline

Board footer

Powered by FluxBB