OpenSUSE :: Xrandr For Kdm Before Xsession?
Aug 4, 2009Normally you can put your xrandr command in /etc/kde4/kdm/Xsetup to change resolution before login. This does not work for openSUSE. Why, where else ?
View 1 RepliesNormally you can put your xrandr command in /etc/kde4/kdm/Xsetup to change resolution before login. This does not work for openSUSE. Why, where else ?
View 1 RepliesI've just install SUSE 11.3. GNOME and KDE are selected as GUI session.At the login screen, in Session list I saw TWM, and after selected it as login session I couldnt login, and login screen disappear as well. It shows a black screen and the mouse pointer, and I have no idea how to switch to KDE or GNOME since no login screen.
View 2 Replies View RelatedI have a new machine with OpenSUSE 11.2 and KDE 4.3. I have 2 monitors. The second monitor is set to extend the screen to the right. Everytime I logged on, I had to reset the resolution to auto and set the second monitor to the right. The setup didn't seem to be remembered and kdm definitely fell to the smaller resolution when I logged off. I stopped using krandr because it did strange things (it always seemed to wipe out the setup when I simply started it), and used xrandr. When I queried, using xrandr, it showed the main monitor on DVI0 and the second monitor on VGA2. The hardware and commands used are shown below.
I created a bash script to activate and deactivate the second monitor using the 2 commands below. It was working nicely. On, off, on, off, it was exactly what I wanted. I added it to my KDE auto start through the Computer Setting dialog. I tried it a couple of times in succession but then something happened. The main monitor is gone, and by gone I mean orange light, grub complains about the vga= resolution ("undefined video mode" and doesn't show higher resolutions). I only have the second monitor/VGA2 and when I query xrandr it shows DVI0 shows disconnected!. When I boot, I see the console messages on DVI0, but as soon as it gets to kdm, it switches to VGA2 and DVI0 has no video signal. To add weirdness, when I do a clt-alt-f1 it appears on DVI0.Second Monitor: Sceptre X96-Naga II Resolution: 1280x1024Video: GEFORCE 9600 GT 1GB DDR3Driver: OpenSUSE nvCommands:xrandr --output DVI0 --auto --pos 0x0 --output VGA2 --auto --right-of DVI0xrandr --output DVI0 --auto --pos 0x0 --output VGA2 --off
I am using OpenSuse 11.3 (64 bit) on my desktop and I have two (identical) screens connected to its on board Intel graphics chips. Both screens are detected and there is no problem when they are cloned, but if I want to have one screen right of the other (using the command xrandr --output VGA1 --right-of HDMA1, as the KDE settings manager never managed to have any effect), the right screen is shifted ca. 100 pixels to the left and on the right side of it I see the left side of the left screen.t seems both screens are detected if I type XRandR:
Code:
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 8192 x 8192
VGA1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 338mm x 270mm
[code]....
When I'm connecting second monitor to the laptop, Display Settings applet (and xrandr -q) does not detect full list of supported resolutions. I need to restart my system or perform Log off while monitor is connected to make full list available.openSUSE 11.4 32 bit, Ati Mobility Radeon HD 3450, proprietary ATI driver 11.3 8.831.2-110308a-115935C-ATI.External monitor is FullHD SyncMaster B2330 (1920x1080)I wonder is there any other workaround to access full resolution that does not require restarting of the system?
View 7 Replies View RelatedI recently upgraded to 10.04, but I'll be darned if I can get GDM to run my personal .Xsession (or .xsession or .xinitrc or.Xclients...) when I log in. I don't see any option on the session menu. The only entries are window managers and "xterm". My script works when I log in from the console. don't tell me that Ubuntu (or GDM) has made things simpler by taking away the option of a .Xsession! Nah, couldn't be.
View 5 Replies View RelatedI'm trying to export a variable from within the .xsession so it will be available to any application started afterwards.
Here is a minimial .xsession file:
Code:
export MYVAR=123
exec gnome-session
The problem is that when I start a terminal and do:
Code:
echo $MYVAR
I get an empty string, meaning it's undefined.
I'm trying to control my media center via my netbook
but when I ssh into the machine and do
Code ...
So I guess the ssh session is trying to start an x session. Obviously I don't want another session but instead use the existing x session that the machine runs anyway (and on which Rhythmbox runs)
googling I found a similar bug for f12 but no solution or fix or anything...
sorry if this is such a noob question. I've never dealt with xsessions in that way...
I delete the file and within about a week i am back to a "out of space error" I have tried root owning the file with no permission to write, but it still gets written, just with a number on the end
the system appears to be working fine otherwise. I could set a cron remove but that seems a bit more hacky than telling it to shut up.
My problem is, when I start my custom xsession through startx I get almost ideal results; the network manager requires a password every time. But when it is run through gdm I cannot use any of the awesome3 hotkeys (and so alas, cannot actually do _anything_) although the wireless does connect automatically (?).
[Code]...
Just today I started getting notices about lack of disk space on my system. After much digging I found that .xsession-errors and .xsession-errors.old were taking nearly 70GB of space combined. The primary message I'm getting over and over again is: SSL_Write: I/O Error I have been unable to figure out what's causing this error.
View 3 Replies View RelatedCannot login as root or any user.
Message "xsession login to root disable".
my mouse is not being seen so I need to log in without the xsession autostarting to get a cmd line login.
my account will not let me login with my passd so the console is my only access with root but i cannot do anything withourt a mouse.
1. How can i get logged in?
2. How can I stop xsession from autostarting on a reboot once i get loged in i can try to remove that setting and boot the box.
3. secure session lets me in but the xterm is not active so I cannot type any commands.
I noticed the xsession-error file in my main user's home folder grow up to a big size, it's usually at 2-3MB sometimes up to 20MB. I use Fedora 10 64bit and KDE4.2. I got no problems at all and the xsession-error logfile is full of weird entrys, almost everything is reporting to it, mplayer, xine, opera, firefox, dolphin and many other software I use. I don't think the most of these entrys are real and critical system errors, especially all the mplayer stuff. However, I'm not worried about the file size since Fedora 10 seems to delete the file on every log in.
My problem is the disc access because all this never ending writings to hard disc kinda break things like the mount options noatime, nodiratime. I read something about you can redirect the logfile to /dev/null but that was for an ubunto distribution and I would like to get a how to for a save way to disable the xsession-error logfile, I got 8GB RAM so everything is in cache anyway after a long session, I really want to get rid of unnessesary hard disc access like that. If not recommend to disable it, can I direct it to an usb stick or ssd?
I have had a few X crashes and started to suspect compiz as they usually happened when I was resizing a window or the window was wobbling.
Here is the Xsession-errors log (it's a hidden file in your home folder). It mentions:
Code:
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug!
Starting gtk-window-decorator
Unable to find a synaptics device.
[Code].....
I need to install in my centos 5.3 a remote sesion login like a Terminal Server on Windows. I tried to use a VNC but I have a problem and it is that the user must be loged before on local machine. I need to can wake on lan my server and log in with that program.
View 1 Replies View RelatedInstalled 10.10 Ubuntu and found the Dell D820 did not digest Gnome that easily. I tried adding Lubuntu from repos after adding PPA. Seemed unstable to use, so I followed Psychocat direction for Pure LXDE and removed Ubuntu. Now login is giving error "xsession:unable to launc "openbox-gnome" X Session --- "openbox-gnome" not found; falling back to defaultsession." Where do I correct the xsession login to allow auto login. (I know the chances for autologin, and still choose to use it)
View 7 Replies View RelatedI want to put:
xmodmap -e "pointer =3 2 1"
somewhere in the startup. It seems creating an .xsession is the solution. But after I create a .xsession file in my home folder, the next time I run startx the screen just turns black. (And only for a short while can I switch to another virtual terminal, before that too becomes impossible). After deleting the file it runs OK again. I'm not using any login/desktop manager. I use IceWM on Debian Squeeze. Is there some script/import that has to be present in the .xsession file, or is something else going on? Also I'd like to know what I should do when I get a black screen. Turning off the PC is such a crude method
Im trying to create a custom xsession on Ubuntu 10.04 that will launch nxclient and logout automatically when it closes.
This is what I have so far
Code:
How would I go about altering this script to logout when nxclient closes? To make this more complicated, nxclient spawns a separate process (nxssh) when it logs in and closes itself.
Is it possible for a script to listen for a child process to close and then execute some commands (in this case a logout)?
I have a Centos 5.5 and we make remote connections with Xfree from Windows to the Linux Server. We start the Xsession with the option -clipboard, but it's not working. Which settings do I have to change in the server configuration that the clipboard works in the Xsession?
View 2 Replies View RelatedI get the following messages while starting up. This also delays my desktop initialisation.
Code:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_GB.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
/usr/bin/startxfce4: X server already running on display :0
xrdb: "Xft.hinting" on line 9 overrides entry on line 6
[Code]...
If I run in terminal tail -f .xsession-errors while my system initialises, I see these messages appearing every 5 sec.
Every time I boot 10.04 on my laptop, the file ~/.xsession-errors is created.
I post here the content of my ~/.xsession-errors and the output of dmesg:
NB: I'm running 10.04 on a Dell laptop m101z.
~/.xsession-errors:
with slackware 13.0 for one user xfce4 hangs and doesn't start..xsession.errors claim it can't open display. It works fine for other users. Also if I access the machine in question as the same user but remotely using remote X (X-terminal on my LAN) it works fine.Sometimes if I wait and count to 30 it comes up but a lot of the features don't work.During the last week have posted this question on the compuserve linux forum and also in the xfce site forum with no solutions.seems there must be something in that user's directory which is hanging it up. I keep the same /home/users directory on a separate partition so when I upgrade for new versions of slackware the /home/users remain the same - I symlink home to that partition so upgrades are somewhat seemless.
View 3 Replies View Relatedi am a new guy here..i unfortunately removed all my files from /home folderrm -rf ~ /. picasa / As some of the files were important i tried recovering data using foremost..i used the command foremost -i /dev/sda1 -o /mnt/foremostThen there started a process..it was downloading something..and i left the computer for an hour or so..when i return there was nothing on screen..so i reloaded the system..And after that when i try to login i get the error"xsession: warning: unable to write to /tmp; xsession may exit with an error"..so when i googled for it i found its because there is no memmory in my /root ..so i tried login via console (tried ctrl+alt+f1..after the login screen appears..when i type ctrl+alt+f1 i get a black screen)..but nothings happening...how can i login via console..can my datas be recovered.
View 6 Replies View RelatedI just tried to deactivate the VGA connection on my laptop remotely and received this result:
Code:
$ export DISPLAY=:0
$ xrandr
No protocol specified
Can't open display :0
$
I'm nearly certain I was able to use xrandr through ssh at some point in the past, but my memory of the exact time line is inadequate.
I'm changing X's orientation with following command
xrandr -o left
xrandr -o normal
When orientation is changing screen becomes black for a moment then it switches orientation.So how to get rid of this black screen effect ? Maybe some other options should be added to xrandr ?
I'm trying to use this thread to set my laptop's resolution to 640x480. To do this, I need to use the addmode command which expects me to list an OUTPUT. What OUTPUT do I list? The "xrandr -q" command doesn't list any outputs.Here is the result of me typing "xrandr -q":
Code:
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
[code]...
I used to have older version of ubuntu (previous to Lucid,10.4 LTS), and I have a Sony WEGA TV connected to my unbutu laptop w S-Video card connected for Video out...and I used to run following command to activate S-Video out to my TV and it worked perfect...
here's the command that worked :
~$ xrandr --output S-video --set load_detection 1
Now after updating to Lucid/10.4 LTS, this command started getting an error :
~$ xrandr --output S-video --set load_detection 1
[Code]....
I'm trying to use xrandr to extend the desktop on my laptop to my lcd monitor. I have tried a few different ways but no matter what I do the desktop will end up on my LCD and the laptop is the extended desktop. Anyone know where I am going wrong? Here is the command I've been using:
xrandr --output LVDS --auto --output VGA --auto --left-of LVDS
I have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.
Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?