Debian Multimedia :: How To Log Into X Session As Root Using GDM3
Sep 20, 2015
To use most of my Kali applications, I want to be able to log into an X session as root. I know it is generally a bad idea and I don't want to do it as a rule, but it is useful for penetration testing (e.g. nmap and its GUI don't have most of the useful options when run as a regular user).
So how do I get GDM3 to allow me to log in as root? Currently, if I type in the user name "root" and log in, it just takes me back to GDM3. Could it work to add root to my user group (I really don't want to add all kinds of security holes)?
View 8 Replies
ADVERTISEMENT
May 7, 2015
I installed jessie from a beta/rc shortly before release on my MacBook Pro 13 Retina and have kept it up to-date with apt-get dist-upgrade. Rcently gdm3/gnome-session have stopped working together. When I log in the screen goes black for a couple of seconds then goes back to the login screen. This happens with "System Default", "GNOME Classic" and "GNOME", but not with "GNOME on Wayland". However, Wayland seems to have some other issues. I haven't tried an alternative dm yet, eg lightdm, but the GNOME desktop does work when started with startx.
I've just used journalctl to get logs of what gdm3 and gnome-session were doing at the time. After booting I waited until the clock reached the next minute (19:55) so I'd know at which point in the logs I'd hit enter on my password. I'll post the gdm log separately in two chunks because the forum server doesn't seem to like text attachments and they're too long for one post.
Log from gnome-session:
Code: Select all-- Logs begin at Thu 2015-05-07 19:54:06 CEST, end at Thu 2015-05-07 19:56:41 CEST. --
May 07 19:54:08 jeanette gnome-session[885]: gnome-session[885]: WARNING: Could not parse desktop file caribou-autostart.desktop or it references a not found TryExec binary
[CODE]...
View 10 Replies
View Related
Oct 25, 2010
i installed oroborus and rox-filer and did not see an entry for either in gdm3's session chooser. i have used these window managers together before and was always able to select the session from gdm. i thought i might have to add an oroborus.desktop file to /usr/share/xsessions, but only found one in /usr/share/kde4/apps/kdm/sessions and it didn't show up when i copied it to /usr/share/xsessions. how can i get oroborus into gdm3's session chooser?
View 1 Replies
View Related
Dec 31, 2014
I have a fresh install of Jessie and I am unable to disable gdm3. I issued:
Code: Select alluser@debian:~$ sudo systemctl disable gdm3.service
Synchronizing state for gdm3.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d gdm3 defaults
insserv: warning: current start runlevel(s) (empty) of script `gdm3' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `gdm3' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d gdm3 disable
insserv: warning: current start runlevel(s) (empty) of script `gdm3' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `gdm3' overrides LSB defaults (0 1 6).
Restart and still displays the Gnome 3 login manager.
View 4 Replies
View Related
May 23, 2015
I want to set up the GDM login screen in vertical orientation = left = (xrandr -o 1) due to my monitor.
I used Ubuntu and the below method has been working until I switched to Debian8 now.
[URL] ....
Rotate login screen
If you have your monitors setup as you like (orientation, primary and so on) in ~/.config/monitors.xml and want GDM to honor those settings:
Code: Select all# cp ~/.config/monitors.xml /var/lib/gdm/.config/monitors.xml
However,
1 Debian Gnome3 does not create ~/.config/monitors.xml
2 according to dconf editor
the location is
/etc/gnome-settings-daemon/xrandr/monitors.xml
and I tweaked, but no success.
[URL] .... method can be applied to GDM3 directory.
Since I have configured my x rortation only be xrandr command by shell init script, and never had configured by GUI setting, the monitors.xml was not created. When I done with GUI, the file is created as usual.
Then I copied to
/var/lib/gdm3/.config/monitors.xml
Finally works as expected.
View 0 Replies
View Related
Sep 1, 2015
I'm using jessie and since I upgraded from wheezy, gdm3 no longer shows a list of users in the logon screen. (I can still log on by selecting "other users").
I had previously had the same symptoms on wheezy, but had fixed it by changing "UID_MIN" to 500 in /etc/login.defs
View 4 Replies
View Related
Sep 11, 2015
Running Jessie (with a low-pinned Debian-based repositories added to my sources.list (e.g. Kali, kxstudio) for those packages not currently available on Debian (like the Kali menu of security tools). Running on a HP 15-r189nd (Energy Star) laptop.
First question: How do I get GDM3 to add root as an option during login? I can type the root user name in. I don't need it to show the root user in the user list (would actually prefer to need to type it in), but I do want to be able to start an X session as root, since some of the Kali tools (e.g. nmap) needs root to function fully. If I type in root and try to start, it just takes me back to the GDM3 login.
Second question: When I want to select my Desktop Enviroment/Window Manager in GDM3, the list appears below the little gear so I can only see half of the list (xfce not visible to select). How do I change the GDM3 appearance/settings that will change the position of the DE list?
Third question: How do I get multiple X sessions running simultaneously? What I have been able to do, while logged in as myuser and running X on tty7, is to log into a tty[1-6] as root, and then startx -- :1, but this somehow skips my default desktop manager (GDM3) and boot straight into LXDE (with no menus!). In /etc/X11/default-diplay-manager I have: /usr/sbin/gdm3 ? How do I get startx -- :1 to start a desktop manager?
Fourth question: When I did the above startx -- :1 as root, it would start the X session in the same tty (e.g. tty2) where I was logged in as root running the startx command. It used to be (in older Linux versions) that startx -- :1 would start an X session on tty8 (and the default would be :0 on tty7). Is this the (new) way things are supposed to work? Or is there something wrong with my setup?
Question 5: Once I have started an LXDE session as root, how do I get it to show the full application menu that my regular user can see? Can I just copy the config files over? Which ones? Or is there a better way?
Question 6: Gnome used to start fine. Then I ran Gnome on Wayland once, and now regular Gnome (on X?) no longer runs, but give me a "Oops! Something went wrong" error and Alt-F4 just takes me back to GDM3. Classic Gnome and Gnome on Wayland still runs OK. Should I log a bug report?
View 6 Replies
View Related
Jan 15, 2011
I changed my user name with the following commands:usermod -l $newname $oldnamegroupmod -n $newname $oldname usermod -d /home/$newname -m $newnameAlso replaced every instance of /home/$oldname ith /home/$newname in ~/.config.Now gdm3 hangs with a black screen and wristwatch icon. (I can move the icon with the mouse.) This worked fine with gdm. I've looked for gdm3 files that have /home/$oldname in my home and in /etc and couldn't find anything significant.Anyone have any ideas or suggestions on how to fix this or where to look? For now, I've disabled gdm3, and I'm using startx. This is an installation in virtualbox. I just tried using ctrl-alt-F1, but it dropped me to console in the host system. (Nice rush of adrenaline came with that.)
The only errors in Xorg.0.log are there even with a successful startx. (EE) Failed to load module "xboxvideo" (module does not exist, 0)(EE) open /dev/fb0: No such file or directoryCouple more bits of relevant information - this was a live-build that I installed using refractainstaller. I also changed /etc/inittab to disable auto-login. Here are the changes, original lines commented out, new lines look like the inittab in my regular squeeze install, but I don't think this is the problem (see below.)
#1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
#2:23:respawn:/bin/login -f user </dev/tty2 >/dev/tty2 2>&1
#3:23:respawn:/bin/login -f user </dev/tty3 >/dev/tty3 2>&1
[code]....
View 4 Replies
View Related
Oct 25, 2015
Yesterday I done an upgrade with apt and since that time whenever I boot up I am presented with only a blank screen and an unresponsive cursor. I cannot switch console using Ctl+Alt+F*. The only thing I can do is Alt+SysRq+(R,E,I,S) which kills gdm3 and gets me back to the console.
* I can get into Xorg fine via the startx command
* As a temporary fix, if I enable automatic login (via /etc/gdm3/daemon.conf) then gdm3 works.
But I can't get the normal authenticated login screen to work.
Output of journalctl for a failed attempt at running gdm3 with verbose debugging enabled:
Code: Select allOct 25 01:24:43 [hostname-removed] systemd[1]: Starting GNOME Display Manager...
Oct 25 01:24:43 [hostname-removed] systemd[1]: Started GNOME Display Manager.
Oct 25 01:24:43 [hostname-removed] gdm3[15863]: Enabling debugging
Oct 25 01:24:43 [hostname-removed] gdm3[15863]: Changing user:group to Debian-gdm:Debian-gdm
Oct 25 01:24:43 [hostname-removed] gdm3[15863]: Successfully connected to D-Bus
[Code] ....
One other thing worth noting, before upgrading yesterday, I changed mirrors and accidentally pasted in "stable" into /etc/apt/sources.list. So basically I did an initial upgrade, realised my mistake, switched back to testing (which I was on before) and done another upgrade, which is when I noticed this problem.
View 14 Replies
View Related
Apr 26, 2011
In the gmd3 greeter.conf-defaults file its tells me the themes are located /desktop/gnome/interface/gtk_theme, but wheres that directory actually at, like how I can find it?
Btw, I know I can go back to gdm, but I'd rather understand how to theme this, before. I might just.I'm using compiz, btw, if that makes any difference.
View 6 Replies
View Related
Aug 2, 2011
I just installed successfully Wheezy, but I can't change my Login Window Theme.I put the three files (.desktop .xml and.jpg) in/usr/share/gdm/autostart/LoginWindow/),I think that my mistake is here but I don't know where to put the .xml file and the .jpg files.And the I edited the file/etc/gdm3/greeter.gconf-defaults.The background is well-displayed but the "theme" is still the same.
View 4 Replies
View Related
Oct 8, 2015
Some days ago (2015-09-28) I installed Debian testing amd64. Log in as a user failed and instead of the Gnome UI there was a sad face with the text: „Oh no! Something has gone wrong. A problem occurred and the system can't recover.
All extensions have been disabled as a precaution. Log out“.
The relevant output of journalctl (run as root) said:
etc/gdm3/Xsession[5379]: cannot connect to brltty at :0
- /etc/gdm3/Xsession[5379]: Service 'org.kde.kaccessibleapp' does not exist.
- gnome-session[5379]: x-session-manager[5379]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
- gnome-session[5379]: x-session-manager[5379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
- x-session-manager[5379]: Unrecoverable failure in required component gnome-shell.desktop
[Code] ...
After some investigating, I found three work-arounds.
(1) Use gdm3-autologin: In /etc/gdm3/daemon.conf, remove the double crosses and insert own user name
AutomaticLoginEnable = true
AutomaticLogin = <own user name>
Disadvantage: Only one user can have access to the Gnome ui. If you log out, you enter the gdm3 greeter and … see above.
(2) Turn off gdm3 by running 'systemctl stop gdm3' as root, log in into a terminal as a user and run startx.
(3) Install package lightdm and make it to the standard display manager with 'dpkg-reconfigure lightdm'.
Disadvantage: Energy manager and screensaver settings of the Gnome control center are ignored.
The easiest way, however, especially if there are several users, is logging in via the gdm3 greeter.
View 10 Replies
View Related
Jul 5, 2011
Running Compiz as a standalone WM.Managed to get Slim working, will post how later, but have no sound. If I boot using gdm3 the sound works. Obviously gdm3 loads something Slim doesn't, but can't workout what!Tried adding /usr/bin/pulseaudio --start --log-target=syslog & to my script - no dice, still no sound
View 2 Replies
View Related
May 2, 2011
In playing around trying to get Debian/X installed/working on my PowerBook (machine details in signature), I at some point installed gdm. I then decided to try installing Gnome desktop from the list of tasks in aptitude. I didn't install absolutely everything in the list. (I skipped the accessibility stuff for the most part, for example.) But I did try installing gdm3. Since this conflicts with gdm, this meant uninstalling gdm. No problem. The install etc. seemed to go OK and Debian's configuration tool let me choose between gdm3 and xdm as the display manager. I chose gdm3.
Problem: gdm3 will not start on boot (and I'm not sure whether or how to start it later without leaving root logged in). I found that the init scripts for gdm were still installed in /etc/rc2.d/ etc. but nothing for gdm3. There was a script at /usr/sbin/gdm which appears to want to (1) delete itself; and (2) start gdm3. But the init script /etc/init.d/gdm contains a check for gdm being the default display manager. However, it isn't. The file it checks contained /usr/sbin/gdm3. So I tried using the update-rc.d and also insserv commands to disable gdm and to install the scripts for gdm3. I could disable the commands for gdm fine but not install links for /etc/init.d/gdm3. This script seemed to want console-screen which I didn't have but managed to install by some guesswork. I then got the init script for this installed for /etc/rcS.d but still couldn't get anything installed for init for gdm3. I also tried creating the links manually but this made no difference on boot. I also tried purging gdm rather than just uninstalling it and reinstalling gdm3. No go.
Eventually, I gave up and removed and purged gdm3 and reinstalled gdm and now the display manager starts as it should on boot.
I'm not sure what I did wrong and would like to know. I don't know that I'm bothered one way or another about gdm3 vs. gdm but I'd like to understand what is going on in case something similar happens with something I *do* care about. (I don't know what the advantages of gdm3 are so maybe I should care...)
I'm using Squeeze and my sources list includes stable contrib and non-free (added the last two so I can get firmware needed for wireless).
View 2 Replies
View Related
Mar 2, 2015
A few weeks ago I have installed Debian Jessie on KDE Desktop Version. I have a problem with the Display Manager Kdm, if i log out session the monitor turns off (DVI No Signal), the only option that I have it's forced shutdown or reboot via power button. I try another DM lightdm and this works fine. But i liked to know why log out session crash on Kdm.
Adding : TerminateServer=true at the end of /etc/kde4/kdm/kdmrc (Section :[X-:*-Core], solve the issue.
View 2 Replies
View Related
Sep 20, 2015
When I start a second X session using startx --:1, (as either my normal user or root), it goes straight into and LXDE session (Debian's default, I think). Once LXDE is started, there is no applications menu (only run and logout). How do I get it to show the full application menu that my regular user can see when I log in from GDM3 normally?
View 2 Replies
View Related
Mar 29, 2016
I recently installed debian 8 stretch with xfce. Since the first time I boot, I have problem starting my X session: from lightdm I always attemped 2 or 3 times before it login (it returned me on lightdm prompt after a short splash screen).
Now it stopped working: the only way I can start xsession is running startx as root. When I try as user it starts the "splash" and return me to the tty with this error message:
Code: Select allServer terminated with error (1). Closing log file(EE)
This is my ~/.local/share/xorg/Xorg.0.log
Code: Select all[Â Â 27.703]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[Â Â 27.704] X Protocol Version 11, Revision 0
[Â Â 27.704] Build Operating System: Linux 3.16.0-4-amd64 i686 Debian
[Â Â 27.704] Current Operating System: Linux debian 4.3.0-1-686-pae #1 SMP Debian 4.3.5-1 (2016-02-06) i686
[Code] .....
And this is my /etc/X11//Xsession
Code: Select all#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)
# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $
[Code] ....
and this the .xsession-errors:
Code: Select allXsession: X session started for lucatastrophe at Tue Mar 29 10:21:09 CEST 2016
localuser:lucatastrophe being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
dbus-update-activation-environment: setting MAIL=/var/mail/lucatastrophe
[Code] ...
I try to reconfigure Xorg but the Xorg -configure command result in another segmentation fault.
I think that the problem could be related with old configuration (when I install this version of debian I maintain the /home partition and my previous OS was debian 7 with xfce).
View 7 Replies
View Related
Jan 18, 2011
After following a tutorial to install a pxe server for debian network install I can't log in my user session on gnome anymore
I got an error saying : /$home/.dmrc was ignored, can't save session and language the file must belong to the user and has persmission 644
I remember on my last session i got some icons on my home folder with a little lock icon on them i tried to remove them successfully using the command line but i still can't login. however i can successfully login with another user.
View 6 Replies
View Related
Jan 21, 2011
What is the Failsafe Session Type that you can select from the KDM login screen supposed to do ? With Squeeze RC1, if I attempt to log in to a failsafe session, I am returned to the KDM login screen. This does not seem very failsafe to me but then I am not a desktop expert. With Lenny (5.0.7), I get a single console window, which, I guess, at least gives one a chance of fixing whatever may be stopping the normal KDE session from starting.
View 8 Replies
View Related
Jul 4, 2015
How can i do auto login with gdm3 on debian jessie?
View 1 Replies
View Related
Feb 9, 2016
There's a short version at the bottom.
I just installed jessie with gdm3 and use xfce.
I like my monitor to turn off when I'm not at the computer for more than 10 or 20 minutes or so and it wasn't doing that. I haven't used Linux for years and was used to xorg.conf/x11.conf and xinitrc and such.
So I rediscovered xset is responsible for DPMS settings. xset -q revealed DPMS was off. So I used it and put it in ~/.xinitrc. It didn't work. After some canoodling around I found out about xfce's Session and Startup gui thing. I was using that to run ~/.xinitrc.
When I got to my desktop and did a check with xfce4-terminal by running xset -q it would show DPMS enabled but the values were wrong. 600, 0, 900 to be exact.
After some searching I came across the information that xscreensaver will override DPMS settings as it manages DPMS too. So after more canoodling I found out about xfce's Screensaver preferences dialogue and used that to set my values. The values would immediately be set but the problem is that they are not persistent. If I reboot or log out the values will revert to 600, 0, 900. They will only reset to what I want them to be by running xfce's Screensaver preferences dialogue manually.
man gdm3, info gdm3, grep -r DPMS in /etc/gdm3, grep -r dpms in /etc/gdm3 reveal nothing related to DPMS. I've done some searching and nothing useful.
there is an /etc/X11/app-defaults/XScreenSaver-nogl which has some DPMS settings but the times are too large (2 hours); the only thing that matches is the off setting which is specified there.
xscreensaver -no-splash is present in the output of ps so it is xscreensaver and not gnome-screensaver.
The weird thing is that I re-enabled my ~/.xinitrc in xfce's Session and Startup gui thing and it is being run, but the numbers are getting set wrong after it is run. (I put an echo command after xset dpms 900 1200 1500, and the file is appearing in ~)
Where does 600, 0, 900 come from? Mystified on how to proceed from here. I don't remember enough on how to see what's doing what. Is there some sys thing or proc thing I can monitor to find out what's setting these values?
Short version: my xset dpms values are getting reset to 600, 0, 900 every time I logout or reboot. They revert to 600, 0, 900 every time I get to my desktop. I use gdm3 and xfce. Where are these coming from?
View 2 Replies
View Related
Jun 29, 2011
I'm running Debian Squeeze on a Dell Studio Laptop, and this morning my computer woke up and gnome was randomly frozen. I dismissed this as a random error and proceeded to hard-reboot the computer. It now will not boot at all. After multiple attempts, every time the boot process hangs on "Starting GNOME display manager gdm3." I even left it there for 2 hours while I was gone to see if it would get past the hang. It did not, and was still stopped at that same line when I got back. get my system back. I have a live CD available to perform maintenance if anyone has an idea of what's wrong.
View 7 Replies
View Related
Jul 13, 2011
Using Debian testing and gdm3. I had set the login screen settings to automatically log me in however I want to change it back so that I have to login on startup however I cannot change the settings.In System > Administration > Login Screen the 'Click to make changes' highlights when I put the mouse pointer over it and it blinks when I click on it but that is all that happens so I cannot make any changes. Is there any way to fix this problem.
View 6 Replies
View Related
Mar 16, 2011
I have accidentally stoped gdm3 service with BootUP-Manager and now i cant enable it again. I can start it from terminal with sudo service gdm3 start i have tryed to dpkg-reconfigure gdm3 and purge/install. This are services running on startup [ + acpid
[ - ] anacron
[ + ] apache2
[ + ] atd
[code].....
View 3 Replies
View Related
Jun 15, 2011
I'm trying to change the background for GDM3, but nothing happens. I have edit /etc/gdm3/greeter.gconf-defaults and /usr/share/gdm/greeter-config/20_debian and then dpkg-reconfigure gdm3 and invoke-rc.d gdm3 reload, but it still has a horrible, green background colour.
View 11 Replies
View Related
Jul 3, 2015
I have an app I've developed in Qt 5.3.1 that has display problems when using 3D accerelation in VirtualBox using Debian Cinnamon. It seems to happen with Cinnamon in any Linux distro I've tried. Once I boot into Debian Cinnamon, how can I stop my Cinnamon session (I think I must start with Ctrl+Alt+F1) , then get a straight X session to run my app without Cinnamon, with 3Dacceleration in VirtualBox?
View 6 Replies
View Related
Mar 15, 2016
I did an installation of amd64 testing with KDE 5 three days ago, and I noticed that my session is not restored upon login. I have this option checked at my kde system setting.
A quick search led me the next bug+patch: [URL] ....
(See also [URL] ....)
I did notice that files in ~/.config/session/ are created, but apparently not read upon login.
I tried to send a reply to the relevant bug 796062 but the email bounced back.
Having problem with latest testing and kde5 session restore?
View 0 Replies
View Related
Apr 30, 2011
I cannot start jackd in X with realtime scheduling:
[Code]...
View 1 Replies
View Related
May 21, 2011
I want to use the open source radeon driver. My video card is AMD/ATI RADEON HD4850. I want 3D acceleration even if it's inferior to fglrx's although I would like if it exceeded fglrx's performance but the performance of the driver is not the point of this thread. Fortunately, fsck was checking the hard drive upon booting so I had time to write the boot output in this computer which I believe would be of help.
Video card:
Failed to load firmware "radeon/RV770_pfp.bin"
*ERROR* Failed to load firmware!
disabling GPU acceleration
gdm3: rt2x00lib_request_firmware: Error - Failed to request firmware. I attempted to install firmware-linux and do sudo gdm3 but all that did is say gdm3 lasted for 0.x seconds where x changes and it kept re-printing that sentence infinitely. I also rebooted and tried to let gdm3 start itself.
Firstly, I'm assuming the open source driver relies on proprietary firmware. Why is this the case? Secondly, how do I get the radeon/RV770_pfp.bin firmware? Is it not in the firmware-linux package? Why does it matter that GPU acceleration is disabled for loading gdm3? Isn't simple 2D enough? (I'm not saying this because I don't want to have 3D enabled since I do want it enabled but because I would imagine that 2D capabilities are enough to load gdm3). If more information is needed, just ask.
View 12 Replies
View Related
Jun 10, 2011
I got a problem with a Dell Latitude E5500. I can not disable the hardware beep after the gdm3 login screen has been loaded. All alsa beeps and system sounds are disabled and/or muted. I also tried setterm -blength 0, xset -b in startup scripts. They disable terminal-beeps, but not the halt or the gdm login beep. I tried wasting around with the gconftool, but nothing happened. It is an annoying sound. If you use, init 0 to shut down, no beep comes up.
View 10 Replies
View Related