You are not logged in.

#1 2014-07-30 12:18:39

acampbell
Member
Registered: 2013-05-15
Posts: 46

[PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

I normally start x with "startx -- -dpi 112" but since the upgrade to 1.16 I can only use "startx". without the dpi option.

The error message in Xorg.log.0 is
             
       Cannot open /dev/tty0 (No such file or directory)

But /dev/tty0 is there.

I tried to restore the old method of starting X by making /etc/X11/Xwrapper.config with the line:
     
      allowed_users = anybody

but still I can't use the dpi option. Is this a bug or have I made a mistake?

Last edited by acampbell (2014-07-31 07:45:02)

Offline

#2 2014-07-31 07:48:56

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

I haven't had any replies and I haven't found a solution to the original problem, but I've found a woraround using xrandr:
 
                  xrandr --dpi 112

I've put this in .xinitrc to make it happen each time I start X.

Offline

#3 2014-07-31 08:12:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

You should set your DPI in /etc/X11/xorg.conf.d/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-07-31 12:37:01

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

I know, but when I do that it keeps reverting to 96x96.  The wiki mentions this in the Discussion page.


Anyway, the wiki also suggests the solution I adopted and this seems simpler.

Offline

#5 2014-08-05 07:50:43

dvdkon
Member
Registered: 2014-01-03
Posts: 6

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

I believe server xorg.conf.d is now in /usr/share/X11, the arch changelog mentions something like that: https://www.archlinux.org/news/xorg-ser … available/

Offline

#6 2014-08-05 08:29:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

The default settings supplied by packages are indeed in /usr/share, but user configuration remains in /etc/X11.

Offline

#7 2014-08-05 11:33:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

I suspect the problem is that when you specify Xserver parameters, you are preventing startx from using the default parameters -  so you need to set the vt number the same as those of us who use xinit.

Also, you claim to have configured Xorg.wrap, but you only mentioned changing one line (and the less important one at that).  If you want to run X the "old" way, you need to set needs_root_rights to yes.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2014-08-05 13:15:08

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: [PARTIALLY SOLVED] xorg-server 1.16 blocks startx with options

Yes, including the vt number should work - I'll try it later.

I did try including that line in the wrapper file but for some reason X refused to start with that.
[Later I did get it to work - perhaps there was a typo previously. Thanks for the pointer.]

Last edited by acampbell (2014-08-07 13:50:22)

Offline

Board footer

Powered by FluxBB