xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

Hi!
I used openSUSE-13.1-NET-i586.iso and minimal server installation. I have installed twm to begin with and got that error…xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) only when I log in as a root I can run “starx” without any problems. And I also had use chmod 777 /var/log/. otherwise it complain that cannot create Xorg.0.log file.

startx no longer works as a user. You can fix it but it is a possible security problem.

As root use init 5

It means that I need to login as a root to be able to run startx? It is much more dangerous…
But to start X server as a normal user is not possible anymore if I got right?

startx should not be used for anything.

Question;
What do you need X for if you are using a minimal server installation? If you want to have a GUI for it, you should install xdm and use init 5 or systemctl start xdm to start the login manager and login as the normal user from there.

I installed server minimal because it is only alternative with not so many packages from begin, and I want install only few that I will use. I need to use only two applications openbox or similar(windowmaker,fluxbox, etc…) for battery monitoring dockapp and skype and nothing more. EeePC for Skype only.

Well, as has been mentioned already, install “xdm” and start X via “init 5”.

Or have a look at /etc/permissions.local to find out how to get startx working as user… :wink:
But again, this (having /usr/bin/Xorg as suid root) is considered a security risk, as mentioned in that file too.
And please note that you have to run “chkstat --system” for changes to that file to take effect.

On 2014-09-04 08:56, Andy Crowd wrote:
>
> I installed server minimal because it is only alternative with not so
> many packages from begin, and I want install only few that I will use. I
> need to use only two applications openbox or
> similar(windowmaker,fluxbox, etc…) for battery monitoring dockapp and
> skype and nothing more. EeePC for Skype only.

The “minimal” pattern is horribly minimal, you have to install about
anything you need, and fight it. Not a joke. I would instead install a
pattern that I don’t remember the name, something like minimal graphical
pattern, or simple X install (not kde/gnome/xfce).

startx can be used as plain user, if you change certain permissions, and
wolfi323 has hinted where you have to look for it. But, as Miuku has
said, you should simply not /use/ it at all, because several features
stop working if you do. I don’t have a list, but it starts with the user
not getting certain permissions applied (acl?), like access to sound,
dvd burner, what not. The graphical login manager (not the correct name,
I know) has been adapted for the current needs, but startx not. Some one
could do it, but it has not been done.

In practical terms, somethings do not work when you use startx.

If you say you are going something with skype, you need sound…


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

True.
But at least some of those problems can be avoided by adding the user to the necessary system groups like “video” for full videocard access, “audio” for sound, and “cdrom” for being able to burn CDs/DVDs…
I don’t have a full list either though. :wink:

Thanks a lot for your advices!
I will try all of your advices :slight_smile:

I am not really a beginner with Linux now and often installing from bottom up to learn. I am using Arch Linux on my PC and has installed ubuntu from mini.iso on my laptop only for a websurf, windowmaker few dockapps and a web-browser. openSuse will be for skype only.

Not so many Linux distributions are offering minimal installation and soon no one more of new Linux will be made with support for 32 bit computers. To have a same sort of Linux on a few computers is not so nice for learning of a new things about *nix systems. Many Linux distros are also stopping development and not continuing with update of packages, it become much harder to find any which will support skype and had ability to begin from a minimal installation.

On 2014-09-04 17:36, Andy Crowd wrote:
> and
> soon no one more of new Linux will be made with support for 32 bit
> computers.

Some we are fighting against that idea.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)